Zrythm
a highly automated and intuitive digital audio workstation
|
A MIDI note inside a Region shown in the piano roll. More...
#include <dsp/midi_note.h>
Data Fields | |
ArrangerObject | base |
Base struct. | |
Velocity * | vel |
Velocity. | |
uint8_t | val |
The note/pitch, (0-127). | |
uint8_t | cache_val |
Cached note, for live operations. | |
int | muted |
Muted or not. | |
int | currently_listened |
Whether or not this note is currently listened to. | |
uint8_t | last_listened_val |
The note/pitch that is currently playing, if MidiNote::currently_listened is true. | |
int | pos |
Index in the parent region. | |
int | magic |
PangoLayout * | layout |
Cache layout for drawing the name. | |
Data Fields inherited from ArrangerObject | |
ArrangerObjectType | type |
ArrangerObjectFlags | flags |
Flags. | |
Position | pos |
Position (or start Position if the object has length). | |
Position | end_pos |
End Position, if the object has one. | |
Position | clip_start_pos |
Start position of the clip loop, relative to the object's start. | |
Position | loop_start_pos |
Loop start Position, if the object has one, relative to the object's start. | |
Position | loop_end_pos |
End position of the clip loop, relative to the object's start. | |
Position | fade_in_pos |
Fade in position, relative to the object's start. | |
Position | fade_out_pos |
Fade out position, relative to the object's start. | |
CurveOptions | fade_in_opts |
Fade in curve options. | |
CurveOptions | fade_out_opts |
Fade out curve options. | |
GdkRectangle | full_rect |
The full rectangle this object covers including off-screen parts, in absolute coordinates. | |
int | textw |
Cache text H extents and W extents for the text, if the object has any. | |
int | texth |
ArrangerObject * | transient |
A copy ArrangerObject corresponding to this, such as when ctrl+dragging. | |
ArrangerObject * | main |
The opposite of the above. | |
bool | muted |
Whether muted or not (if applicable). | |
int | magic |
RegionIdentifier | region_id |
Parent region identifier for objects that are part of a region. | |
int | index_in_prev_lane |
Object's index in the previous lane (before being moved to a new lane/track). | |
bool | deleted_temporarily |
Whether deleted with delete tool. | |
cairo_t * | cached_cr [2] |
Cached cairo_t. | |
cairo_surface_t * | cached_surface [2] |
Cached surface containing drawing. | |
GdkRectangle | last_name_rect |
Last drawn name rectangle, if object has a name. | |
bool | is_auditioner |
Whether part of an auditioner track. | |
Additional Inherited Members | |
Public Member Functions inherited from ArrangerObject | |
void | arranger_object_move (ArrangerObject *self, const double ticks) |
Moves the object by the given amount of ticks. | |
bool | arranger_object_validate (const ArrangerObject *const self) |
Validates the arranger object. | |
void | arranger_object_set_name (ArrangerObject *self, const char *name, int fire_events) |
Sets the name of the object, if the object can have a name. | |
A MIDI note inside a Region shown in the piano roll.
Definition at line 48 of file midi_note.h.
ArrangerObject MidiNote::base |
Base struct.
Definition at line 51 of file midi_note.h.
uint8_t MidiNote::cache_val |
Cached note, for live operations.
Definition at line 60 of file midi_note.h.
int MidiNote::currently_listened |
Whether or not this note is currently listened to.
Definition at line 67 of file midi_note.h.
uint8_t MidiNote::last_listened_val |
The note/pitch that is currently playing, if MidiNote::currently_listened is true.
Definition at line 71 of file midi_note.h.
PangoLayout* MidiNote::layout |
Cache layout for drawing the name.
Definition at line 79 of file midi_note.h.
int MidiNote::magic |
Definition at line 76 of file midi_note.h.
int MidiNote::muted |
Muted or not.
Definition at line 63 of file midi_note.h.
int MidiNote::pos |
Index in the parent region.
Definition at line 74 of file midi_note.h.
uint8_t MidiNote::val |
The note/pitch, (0-127).
Definition at line 57 of file midi_note.h.
Velocity* MidiNote::vel |
Definition at line 54 of file midi_note.h.