#include <smf.h>
Represents a single MIDI event or metaevent.
Definition at line 303 of file smf.h.
◆ 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 312 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 308 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 321 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 324 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 315 of file smf.h.
◆ track
Pointer to the track, or NULL if event is not attached.
Definition at line 305 of file smf.h.
◆ track_number
| 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: