Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
types.hpp File Reference
#include <cstdint>
Include dependency graph for types.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sbl::midi::MidiEvent
 

Namespaces

namespace  sbl
 Root namespace for all Sound Byte Libs functionality.
 
namespace  sbl::midi
 MIDI protocol support.
 

Typedefs

using sbl::midi::MidiCallback = void(*)(const MidiEvent &event)
 Callback type for parsed MIDI events.
 

Enumerations

enum class  sbl::midi::MessageType : uint8_t {
  sbl::midi::NoteOff = 0x80 , sbl::midi::NoteOn = 0x90 , sbl::midi::PolyPressure = 0xA0 , sbl::midi::ControlChange = 0xB0 ,
  sbl::midi::ProgramChange = 0xC0 , sbl::midi::ChannelPressure = 0xD0 , sbl::midi::PitchBend = 0xE0 , sbl::midi::Clock = 0xF8 ,
  sbl::midi::Start = 0xFA , sbl::midi::Continue = 0xFB , sbl::midi::Stop = 0xFC , sbl::midi::ActiveSensing = 0xFE ,
  sbl::midi::SystemReset = 0xFF , sbl::midi::SysEx = 0xF0 , sbl::midi::SysExEnd = 0xF7 , sbl::midi::TimeCode = 0xF1 ,
  sbl::midi::SongPosition = 0xF2 , sbl::midi::SongSelect = 0xF3 , sbl::midi::TuneRequest = 0xF6 , sbl::midi::None = 0x00
}
 

Functions

uint8_t sbl::midi::expected_data_bytes (uint8_t status)
 Number of data bytes expected for a channel message status byte.