Save This Page
Home » openjdk-7 » » sound » [javadoc | source]
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 Summary:
close,   noteOff,   noteOn
Method from Detail:
 public  void close()
 public  void noteOff(int noteNumber,
    int velocity)
 public  void noteOn(int noteNumber,
    int velocity)