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

A recording event. More...

#include <dsp/recording_event.h>

Collaboration diagram for RecordingEvent:

Data Fields

RecordingEventType type
 
unsigned int track_name_hash
 The name of the track this event is for.
 
char region_name [200]
 Region name, if applicable.
 
unsigned_frame_t g_start_frame_w_offset
 Global start frames of the event (including offset).
 
nframes_t local_offset
 Offset in current cycle that this event starts from.
 
float lbuf [9000]
 The actual data (if audio).
 
float rbuf [9000]
 
int has_midi_event
 
MidiEvent midi_event
 MidiEvent, if midi.
 
int automation_track_idx
 Index of automation track, if automation.
 
nframes_t nframes
 Automation value, if automation.
 
const char * file
 
const char * func
 
int lineno
 

Detailed Description

A recording event.

During recording, a recording event must be sent in each cycle for all record-enabled tracks.

Definition at line 73 of file recording_event.h.

Field Documentation

◆ automation_track_idx

int RecordingEvent::automation_track_idx

Index of automation track, if automation.

Definition at line 106 of file recording_event.h.

◆ file

const char* RecordingEvent::file

Definition at line 115 of file recording_event.h.

◆ func

const char* RecordingEvent::func

Definition at line 116 of file recording_event.h.

◆ g_start_frame_w_offset

unsigned_frame_t RecordingEvent::g_start_frame_w_offset

Global start frames of the event (including offset).

Definition at line 84 of file recording_event.h.

◆ has_midi_event

int RecordingEvent::has_midi_event

Definition at line 98 of file recording_event.h.

◆ lbuf

float RecordingEvent::lbuf[9000]

The actual data (if audio).

This will be RecordingEvent::nframes times the number of channels in the track.

Definition at line 95 of file recording_event.h.

◆ lineno

int RecordingEvent::lineno

Definition at line 117 of file recording_event.h.

◆ local_offset

nframes_t RecordingEvent::local_offset

Offset in current cycle that this event starts from.

Definition at line 87 of file recording_event.h.

◆ midi_event

MidiEvent RecordingEvent::midi_event

MidiEvent, if midi.

Definition at line 103 of file recording_event.h.

◆ nframes

nframes_t RecordingEvent::nframes

Automation value, if automation.

Number of frames processed in this event.

Definition at line 112 of file recording_event.h.

◆ rbuf

float RecordingEvent::rbuf[9000]

Definition at line 96 of file recording_event.h.

◆ region_name

char RecordingEvent::region_name[200]

Region name, if applicable.

Definition at line 81 of file recording_event.h.

◆ track_name_hash

unsigned int RecordingEvent::track_name_hash

The name of the track this event is for.

Definition at line 78 of file recording_event.h.

◆ type

RecordingEventType RecordingEvent::type

Definition at line 75 of file recording_event.h.


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