public class MidiNote extends Note implements NoteWithVolume
instrument, key| Constructor and Description |
|---|
MidiNote(byte instrument,
byte key,
byte velocity) |
| Modifier and Type | Method and Description |
|---|---|
Note |
clone() |
float |
getVolume() |
void |
setVolume(float volume) |
getInstrument, getKey, setInstrument, setKeypublic float getVolume()
getVolume in interface NoteWithVolumepublic void setVolume(float volume)
setVolume in interface NoteWithVolumevolume - The velocity/volume of the note, from 0% to 100%.