Ardour  9.0-pre0-582-g084a23a80d
smf_event_struct Struct Reference

#include <smf.h>

Public Attributes

smf_track_ttrack
 
size_t event_number
 
int32_t delta_time_pulses
 
size_t time_pulses
 
int track_number
 
uint8_t * midi_buffer
 
size_t midi_buffer_length
 

Detailed Description

Represents a single MIDI event or metaevent.

Definition at line 302 of file smf.h.

Member Data Documentation

◆ delta_time_pulses

int32_t smf_event_struct::delta_time_pulses

Note that the time fields are invalid, if event is not attached to a track. Time, in pulses, since the previous event on this track.

Definition at line 311 of file smf.h.

◆ event_number

size_t smf_event_struct::event_number

Number of this event in the track. Events are numbered consecutively, starting from 1.

Definition at line 307 of file smf.h.

◆ midi_buffer

uint8_t* smf_event_struct::midi_buffer

Pointer to the buffer containing MIDI message. This is freed by smf_event_delete.

Definition at line 320 of file smf.h.

◆ midi_buffer_length

size_t smf_event_struct::midi_buffer_length

Length of the MIDI message in the buffer, in bytes.

Definition at line 323 of file smf.h.

◆ time_pulses

size_t smf_event_struct::time_pulses

Time, in pulses, since the start of the song.

Definition at line 314 of file smf.h.

◆ track

smf_track_t* smf_event_struct::track

Pointer to the track, or NULL if event is not attached.

Definition at line 304 of file smf.h.

◆ track_number

int smf_event_struct::track_number

Tracks are numbered consecutively, starting from 1.

Definition at line 317 of file smf.h.


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