Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.media.sound
Interface ModelDirector

All Known Implementing Classes:
  ModelStandardDirector

    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.

Author:
  Karl Helgason

Method Summary
`void` | `close()`
`void` | `noteOff(int noteNumber, int velocity)`
`void` | `noteOn(int noteNumber, int velocity)`

Method Detail

### noteOn

    void noteOn(int noteNumber,
                int velocity)

### noteOff

    void noteOff(int noteNumber,
                 int velocity)

### close

    void close()

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD