Ardour
9.0-pre0-582-g084a23a80d
|
Classes | |
class | Note |
class | EventSink |
class | EventList |
class | Event |
class | Control |
class | ControlEvent |
class | ControlList |
class | ControlSet |
class | Curve |
class | Parameter |
struct | ParameterDescriptor |
class | PatchChange |
class | ControlIterator |
class | Sequence |
class | SMF |
class | TypeMap |
Typedefs | |
typedef int32_t | event_id_t |
typedef uint32_t | ParameterType |
Enumerations | |
enum | EventType { NO_EVENT , MIDI_EVENT , LIVE_MIDI_EVENT } |
Functions | |
event_id_t | event_id_counter () |
event_id_t | next_event_id () |
void | init_event_id_counter (event_id_t n) |
template<typename Time > | |
std::ostream & | operator<< (std::ostream &o, const Evoral::Event< Time > &ev) |
static int | midi_event_size (uint8_t status) |
static int | midi_event_size (const uint8_t *buffer) |
static bool | midi_event_is_valid (const uint8_t *buffer, size_t len) |
template<typename Time > | |
std::ostream & | operator<< (std::ostream &o, const Evoral::Note< Time > &n) |
typedef int32_t Evoral::event_id_t |
ID of an event (note or other). This must be operable on by glib atomic ops
Definition at line 40 of file evoral/evoral/types.h.
typedef uint32_t Evoral::ParameterType |
Type of a parameter (opaque, mapped by application, e.g. gain)
Definition at line 62 of file evoral/evoral/types.h.
enum Evoral::EventType |
Type of an event (opaque, mapped by application, e.g. MIDI).
Event types are really an arbitrary integer provided by the type map, and it is safe to use values not in this enum, but this enum exists so the compiler can catch mistakes like setting the event type to a MIDI status byte. Event types come from the type map and describe a format/protocol like MIDI, and must not be confused with the payload (such as a note on or CC change). There is a static value for MIDI as this type is handled specially by various parts of Evoral.
Enumerator | |
---|---|
NO_EVENT | |
MIDI_EVENT | |
LIVE_MIDI_EVENT |
Definition at line 52 of file evoral/evoral/types.h.
event_id_t Evoral::event_id_counter | ( | ) |
void Evoral::init_event_id_counter | ( | event_id_t | n | ) |
|
inlinestatic |
Return true iff the given buffer is a valid MIDI event. len must be exactly correct for the contents of buffer
Definition at line 117 of file libs/evoral/evoral/midi_util.h.
|
inlinestatic |
Return the size of the given event including the status byte, or -1 if event is illegal.
Definition at line 88 of file libs/evoral/evoral/midi_util.h.
|
inlinestatic |
Return the size of the given event including the status byte, or -1 if unknown (e.g. sysex)
Definition at line 43 of file libs/evoral/evoral/midi_util.h.
event_id_t Evoral::next_event_id | ( | ) |
std::ostream& Evoral::operator<< | ( | std::ostream & | o, |
const Evoral::Event< Time > & | ev | ||
) |
std::ostream& Evoral::operator<< | ( | std::ostream & | o, |
const Evoral::Note< Time > & | n | ||
) |