public interface Instrument
| Modifier and Type | Method and Description |
|---|---|
void |
noteOff()
Stop playing a note.
|
void |
noteOn(float duration)
Start playing a note.
|
void noteOn(float duration)
duration - how long the note should last (i.e. noteOff will be called after this many seconds)void noteOff()