Interface ModelDirector

All Known Implementing Classes:
ModelStandardIndexedDirector

public interface ModelDirector
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 Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    noteOff(int noteNumber, int velocity)
     
    void
    noteOn(int noteNumber, int velocity)
     
  • Method Details

    • noteOn

      void noteOn(int noteNumber, int velocity)
    • noteOff

      void noteOff(int noteNumber, int velocity)
    • close

      void close()