Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public interface: ModelDirector [javadoc | source]

All Known Implementing Classes:
    ModelStandardIndexedDirector, ModelStandardDirector

A director chooses what performers should be played for each note on and note off events. ModelInstrument can implement custom performer who chooses what performers to play for example by sustain pedal is off or on. The default director (ModelStandardDirector) chooses performers by there keyfrom,keyto,velfrom,velto properties.
Method from com.sun.media.sound.ModelDirector Summary:
close,   noteOff,   noteOn
Method from com.sun.media.sound.ModelDirector Detail:
 public  void close()
 public  void noteOff(int noteNumber,
    int velocity)
 public  void noteOn(int noteNumber,
    int velocity)