|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Timed MIDI event. More...
#include <src/dsp/midi_event.h>
Public Member Functions | |
| MidiEvent (midi_byte_t byte1, midi_byte_t byte2, midi_byte_t byte3, units::sample_u32_t time) | |
| void | set_velocity (midi_byte_t vel) |
| void | print () const |
Data Fields | |
| std::array< midi_byte_t, 3 > | raw_buffer_ { 0, 0, 0 } |
| Raw MIDI data. | |
| uint_fast8_t | raw_buffer_sz_ {} |
| units::sample_u32_t | time_ |
| Time of the MIDI event, in frames from the start of the current cycle. | |
| std::int64_t | systime_ {} |
| Time using g_get_monotonic_time(). | |
Timed MIDI event.
Definition at line 27 of file midi_event.h.
|
inline |
Definition at line 32 of file midi_event.h.
| std::array<midi_byte_t, 3> zrythm::dsp::MidiEvent::raw_buffer_ { 0, 0, 0 } |
Raw MIDI data.
Definition at line 50 of file midi_event.h.
| uint_fast8_t zrythm::dsp::MidiEvent::raw_buffer_sz_ {} |
Definition at line 52 of file midi_event.h.
| std::int64_t zrythm::dsp::MidiEvent::systime_ {} |
Time using g_get_monotonic_time().
Definition at line 58 of file midi_event.h.
| units::sample_u32_t zrythm::dsp::MidiEvent::time_ |
Time of the MIDI event, in frames from the start of the current cycle.
Definition at line 55 of file midi_event.h.