|
| | ~Alg_update () override=default |
| | Alg_update (Alg_update *) |
| | copy constructor
|
| | Alg_update () |
| void | show () override |
| bool | is_note () |
| | tell whether an Alg_event is a note
|
| bool | is_update () |
| | tell whether an Alg_event is a parameter update
|
| char | get_type () |
| | return 'n' for note, 'u' for update
|
| int | get_type_code () |
| bool | get_selected () |
| void | set_selected (bool b) |
| long | get_identifier () |
| | get MIDI key or note identifier of note or update
|
| void | set_identifier (long i) |
| void | set_parameter (Alg_parameter_ptr new_parameter) |
| void | set_string_value (const char *attr, const char *value) |
| void | set_real_value (const char *attr, double value) |
| void | set_logical_value (const char *attr, bool value) |
| void | set_integer_value (const char *attr, int32_t value) |
| void | set_atom_value (const char *attr, const char *atom) |
| float | get_pitch () |
| | get pitch in steps – use this even for MIDI
|
| float | get_loud () |
| | get loudness (MIDI velocity)
|
| double | get_start_time () |
| | get start time in seconds or beats
|
| double | get_end_time () |
| | get end time in seconds or beats
|
| double | get_duration () |
| | get duration in seconds or beats
|
| void | set_pitch (float) |
| void | set_loud (float) |
| void | set_duration (double) |
| bool | has_attribute (const char *attr) |
| | test if note has attribute/value pair
|
| char | get_attribute_type (const char *attr) |
| const char * | get_string_value (const char *attr, const char *value=nullptr) |
| | get the string value
|
| double | get_real_value (const char *attr, double value=0.0) |
| | get the real value
|
| bool | get_logical_value (const char *attr, bool value=false) |
| | get the logical value
|
| long | get_integer_value (const char *attr, int32_t value=0) |
| | get the integer value
|
| const char * | get_atom_value (const char *attr, const char *value=nullptr) |
| | get the atom value
|
| void | delete_attribute (const char *attr) |
| | (ignore if no matching attribute/value pair exists)
|
| const char * | get_attribute () |
| | get the update's attribute (string)
|
| char | get_update_type () |
| const char * | get_string_value () |
| double | get_real_value () |
| | get the update's real value
|
| bool | get_logical_value () |
| | get the update's logical value
|
| int32_t | get_integer_value () |
| | get the update's integer value
|
| const char * | get_atom_value () |
| bool | overlap (double t, double len, bool all) |
| const char * | GetDescription () |
| | the result is in a static buffer, not thread-safe, just for debugging.
|
| | Alg_event () |
| virtual | ~Alg_event ()=default |