edu.uiuc.cs397rhc.sound
Interface Equalizable

All Known Implementing Classes:
Groove, InstrumentationFilter, MidiMood, MidiPlayer, Mood, MP3Mood, MP3Player, ScoreMood, SoundFilePlayer, VelocityFilter, VolumeFilter

public interface Equalizable

Equalizable objects can have their volume set independently of other volume manipulations in order to equalize the volume of various objects.

Author:
Pedro DeRose

Method Summary
 double getVolumePercentage()
          Gets the independent volume percentage of the object.
 void setVolumePercentage(double percent)
          Sets the volume percentage of the object independently of other volume manipulations, such as fading.
 

Method Detail

setVolumePercentage

void setVolumePercentage(double percent)
Sets the volume percentage of the object independently of other volume manipulations, such as fading.

Parameters:
percent - the new volume percentage

getVolumePercentage

double getVolumePercentage()
Gets the independent volume percentage of the object.

Returns:
the volume percentage