Midi::NoteData Struct Reference

Public Member Functions

 NoteData (double s, double d, midi_size_t p, midi_size_t v)
 
double start () const
 
double duration () const
 
double end () const
 
midi_size_t pitch () const
 
midi_size_t velocity () const
 
void setStart (double s)
 
void setDuration (double s)
 
void setPitch (midi_size_t s)
 
void setVelocity (midi_size_t s)
 

Public Attributes

double m_start {}
 
double m_duration {}
 
midi_size_t m_pitch {}
 
midi_size_t m_velocity {}
 

The documentation for this struct was generated from the following file: