Zrythm
a highly automated and intuitive digital audio workstation
|
Velocities for MidiNote's. More...
Go to the source code of this file.
Data Structures | |
struct | Velocity |
The MidiNote velocity. More... | |
Macros | |
#define | velocity_is_selected(r) arranger_object_is_selected ((ArrangerObject *) r) |
#define | VELOCITY_DEFAULT 90 |
Default velocity. | |
Typedefs | |
typedef struct _VelocityWidget | VelocityWidget |
Functions | |
Velocity * | velocity_new (MidiNote *midi_note, const uint8_t vel) |
Creates a new Velocity with the given value. | |
void | velocity_set_midi_note (Velocity *velocity, MidiNote *midi_note) |
Sets the MidiNote the Velocity belongs to. | |
int | velocity_is_equal (Velocity *src, Velocity *dest) |
Returns 1 if the Velocity's match, 0 if not. | |
void | velocity_shift (Velocity *self, const int delta) |
Changes the Velocity by the given amount of values (delta). | |
void | velocity_set_val (Velocity *self, const int val) |
Sets the velocity to the given value. | |
MidiNote * | velocity_get_midi_note (const Velocity *const self) |
Returns the owner MidiNote. | |
const char * | velocity_setting_enum_to_str (guint index) |
guint | velocity_setting_str_to_enum (const char *str) |
Velocities for MidiNote's.
Definition in file velocity.h.
typedef struct _VelocityWidget VelocityWidget |
Definition at line 19 of file velocity.h.