Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
MidiEvents Struct Reference

Container for passing midi events through ports. More...

#include <dsp/midi_event.h>

Collaboration diagram for MidiEvents:

Data Fields

int num_events
 Event count.
 
MidiEvent events [MAX_MIDI_EVENTS]
 Events to use in this cycle.
 
MidiEvent queued_events [MAX_MIDI_EVENTS]
 For queueing events from the GUI or from hardware, since they run in different threads.
 
int num_queued_events
 
ZixSem access_sem
 Semaphore for exclusive read/write.
 

Detailed Description

Container for passing midi events through ports.

This should be passed in the data field of MIDI Ports.

Definition at line 61 of file midi_event.h.

Field Documentation

◆ access_sem

ZixSem MidiEvents::access_sem

Semaphore for exclusive read/write.

Definition at line 80 of file midi_event.h.

◆ events

MidiEvent MidiEvents::events[MAX_MIDI_EVENTS]

Events to use in this cycle.

Definition at line 67 of file midi_event.h.

◆ num_events

int MidiEvents::num_events

Event count.

Definition at line 64 of file midi_event.h.

◆ num_queued_events

int MidiEvents::num_queued_events

Definition at line 77 of file midi_event.h.

◆ queued_events

MidiEvent MidiEvents::queued_events[MAX_MIDI_EVENTS]

For queueing events from the GUI or from hardware, since they run in different threads.

Engine will copy them to the unqueued MIDI events when ready to be processed.

Definition at line 76 of file midi_event.h.


The documentation for this struct was generated from the following file: