|
Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
One event from a track, with its absolute tick. More...
One event from a track, with its absolute tick.
Definition at line 44 of file smf_reader.hpp.
#include <smf_reader.hpp>
Public Types | |
| enum class | Kind : uint8_t { Channel , Tempo , TimeSignature , TrackName , EndOfTrack } |
Public Attributes | |
| Kind | kind = Kind::EndOfTrack |
| uint32_t | tick = 0 |
| ticks from the start of the track | |
| MidiEvent | midi {} |
| Channel. | |
| uint32_t | tempo_us = 0 |
| Tempo: microseconds per quarter note. | |
| uint8_t | numerator = 0 |
| TimeSignature. | |
| uint8_t | denominator_power = 0 |
| TimeSignature: the denominator is 2^power. | |
| const uint8_t * | text = nullptr |
| TrackName: points into the file, not terminated. | |
| uint32_t | text_length = 0 |
|
strong |
| Enumerator | |
|---|---|
| Channel | |
| Tempo | |
| TimeSignature | |
| TrackName | |
| EndOfTrack | |
Definition at line 45 of file smf_reader.hpp.
| Kind sbl::midi::SmfEvent::kind = Kind::EndOfTrack |
Definition at line 47 of file smf_reader.hpp.
Referenced by sbl::midi::Sequencer< Outputs >::advance().
| uint32_t sbl::midi::SmfEvent::tick = 0 |
ticks from the start of the track
Definition at line 48 of file smf_reader.hpp.
Referenced by sbl::midi::Sequencer< Outputs >::advance().
| MidiEvent sbl::midi::SmfEvent::midi {} |
Channel.
Definition at line 49 of file smf_reader.hpp.
Referenced by sbl::midi::Sequencer< Outputs >::advance().
| uint32_t sbl::midi::SmfEvent::tempo_us = 0 |
Tempo: microseconds per quarter note.
Definition at line 50 of file smf_reader.hpp.
Referenced by sbl::midi::Sequencer< Outputs >::advance().
| uint8_t sbl::midi::SmfEvent::numerator = 0 |
TimeSignature.
Definition at line 51 of file smf_reader.hpp.
| uint8_t sbl::midi::SmfEvent::denominator_power = 0 |
TimeSignature: the denominator is 2^power.
Definition at line 52 of file smf_reader.hpp.
| const uint8_t* sbl::midi::SmfEvent::text = nullptr |
TrackName: points into the file, not terminated.
Definition at line 53 of file smf_reader.hpp.
| uint32_t sbl::midi::SmfEvent::text_length = 0 |
Definition at line 54 of file smf_reader.hpp.