@@ -74,8 +74,8 @@ namespace MIDI | |||||
void deselect ( void ); | void deselect ( void ); | ||||
bool selected ( int n ) const; | bool selected ( int n ) const; | ||||
bool selected ( void ) const; | bool selected ( void ) const; | ||||
void note ( char note ); | |||||
unsigned char note ( void ) const; | |||||
virtual void note ( char note ); | |||||
virtual unsigned char note ( void ) const; | |||||
tick_t note_duration ( void ) const; | tick_t note_duration ( void ) const; | ||||
void note_duration ( tick_t l ); | void note_duration ( tick_t l ); | ||||
@@ -99,6 +99,12 @@ namespace MIDI | |||||
_data.msb = vel & 0x7F; | _data.msb = vel & 0x7F; | ||||
} | } | ||||
unsigned char | |||||
midievent::note ( void ) const | |||||
{ | |||||
return _data.lsb; | |||||
} | |||||
void | void | ||||
midievent::note ( char note ) | midievent::note ( char note ) | ||||
{ | { | ||||
@@ -222,12 +222,6 @@ namespace MIDI | |||||
return (opcode() == NOTE_OFF); | return (opcode() == NOTE_OFF); | ||||
} | } | ||||
inline unsigned char | |||||
midievent::note ( void ) const | |||||
{ | |||||
return _data.lsb; | |||||
} | |||||
inline bool | inline bool | ||||
midievent::operator< ( const midievent &rhs ) const | midievent::operator< ( const midievent &rhs ) const | ||||
{ | { | ||||