edu.columbia.ee.csmit.MidiKaraoke.MidiMessage
Interface NoteOn

All Superinterfaces:
MidiCommand, MidiCommandWithChannel

public interface NoteOn
extends MidiCommandWithChannel

Stores the information associated with a note on command. A note on command with velocity zero should be interpreted in the same manner as a note off command.

See Also:
NoteOff, NoteOnParser

Method Summary
 int getNoteNumber()
          Returns the note number associated with this note off command.
 int getVelocity()
          Returns the midi note velocity.
 
Methods inherited from interface edu.columbia.ee.csmit.MidiKaraoke.MidiMessage.MidiCommandWithChannel
getChannel
 
Methods inherited from interface edu.columbia.ee.csmit.MidiKaraoke.MidiMessage.MidiCommand
getLength, getMessage
 

Method Detail

getNoteNumber

int getNoteNumber()
Returns the note number associated with this note off command. C4 is 60, C#4 is 61, etc.

Returns:
the note number

getVelocity

int getVelocity()
Returns the midi note velocity.

Returns:
the note velocity