ardour
Public Attributes | List of all members
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
 
double time_seconds
 
int track_number
 
uint8_t * midi_buffer
 
size_t midi_buffer_length
 

Detailed Description

Represents a single MIDI event or metaevent.

Definition at line 300 of file smf.h.

Member Data Documentation

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 309 of file smf.h.

size_t smf_event_struct::event_number

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

Definition at line 305 of file smf.h.

uint8_t* smf_event_struct::midi_buffer

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

Definition at line 321 of file smf.h.

size_t smf_event_struct::midi_buffer_length

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

Definition at line 324 of file smf.h.

size_t smf_event_struct::time_pulses

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

Definition at line 312 of file smf.h.

double smf_event_struct::time_seconds

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

Definition at line 315 of file smf.h.

smf_track_t* smf_event_struct::track

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

Definition at line 302 of file smf.h.

int smf_event_struct::track_number

Tracks are numbered consecutively, starting from 1.

Definition at line 318 of file smf.h.


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