public interface FullNoteConsumer extends NoteConsumer
| Modifier and Type | Method and Description |
|---|---|
default void |
playCustomNote(NbsCustomInstrument customInstrument,
float pitch,
float volume,
float panning)
Plays a note with the given custom instrument, volume, pitch and panning.
|
void |
playNote(Instrument instrument,
float pitch,
float volume,
float panning)
Plays a note with the given instrument, volume, pitch and panning.
|
default void |
playNote(Note note) |
playNotesdefault void playNote(Note note)
playNote in interface NoteConsumervoid playNote(Instrument instrument, float pitch, float volume, float panning)
instrument - The instrument of the notepitch - The pitch of the notevolume - The volume of the note (0.0 to 1.0)panning - The panning of the note (-1.0 to 1.0)default void playCustomNote(NbsCustomInstrument customInstrument, float pitch, float volume, float panning)
customInstrument - The custom instrument of the notepitch - The pitch of the notevolume - The volume of the note (0.0 to 1.0)panning - The panning of the note (-1.0 to 1.0)