Skip to content

Struct daisy::MidiEvent

ClassList > daisy > MidiEvent

More...

  • #include <MidiEvent.h>

Public Attributes

Type Name
int channel
ChannelModeType cm_type
uint8_t data
SystemCommonType sc_type
SystemRealTimeType srt_type
uint8_t sysex_data
uint8_t sysex_message_len
MidiMessageType type

Public Functions

Type Name
AllNotesOffEvent AsAllNotesOff ()
AllSoundOffEvent AsAllSoundOff ()
ChannelModeEvent AsChannelMode ()
ChannelPressureEvent AsChannelPressure ()
ControlChangeEvent AsControlChange ()
LocalControlEvent AsLocalControl ()
MTCQuarterFrameEvent AsMTCQuarterFrame ()
MonoModeOnEvent AsMonoModeOn ()
NoteOffEvent AsNoteOff ()
NoteOnEvent AsNoteOn ()
OmniModeOffEvent AsOmniModeOff ()
OmniModeOnEvent AsOmniModeOn ()
PitchBendEvent AsPitchBend ()
PolyModeOnEvent AsPolyModeOn ()
PolyphonicKeyPressureEvent AsPolyphonicKeyPressure ()
ProgramChangeEvent AsProgramChange ()
ResetAllControllersEvent AsResetAllControllers ()
SongPositionPointerEvent AsSongPositionPointer ()
SongSelectEvent AsSongSelect ()
SystemExclusiveEvent AsSystemExclusive ()

Public Static Functions

Type Name
const char * GetTypeAsString (MidiEvent & msg)

Detailed Description

Simple MidiEvent with message type, channel, and data[2] members.

Public Attributes Documentation

variable channel

int daisy::MidiEvent::channel;

&


variable cm_type

ChannelModeType daisy::MidiEvent::cm_type;

variable data

uint8_t daisy::MidiEvent::data[2];

&


variable sc_type

SystemCommonType daisy::MidiEvent::sc_type;

variable srt_type

SystemRealTimeType daisy::MidiEvent::srt_type;

variable sysex_data

uint8_t daisy::MidiEvent::sysex_data[128];

&


variable sysex_message_len

uint8_t daisy::MidiEvent::sysex_message_len;

variable type

MidiMessageType daisy::MidiEvent::type;

&


Public Functions Documentation

function AsAllNotesOff

inline AllNotesOffEvent daisy::MidiEvent::AsAllNotesOff () 

function AsAllSoundOff

inline AllSoundOffEvent daisy::MidiEvent::AsAllSoundOff () 

function AsChannelMode

inline ChannelModeEvent daisy::MidiEvent::AsChannelMode () 

function AsChannelPressure

inline ChannelPressureEvent daisy::MidiEvent::AsChannelPressure () 

Returns the data within the MidiEvent as a ProgramChangeEvent struct.


function AsControlChange

inline ControlChangeEvent daisy::MidiEvent::AsControlChange () 

Returns the data within the MidiEvent as a ControlChangeEvent struct.


function AsLocalControl

inline LocalControlEvent daisy::MidiEvent::AsLocalControl () 

function AsMTCQuarterFrame

inline MTCQuarterFrameEvent daisy::MidiEvent::AsMTCQuarterFrame () 

function AsMonoModeOn

inline MonoModeOnEvent daisy::MidiEvent::AsMonoModeOn () 

function AsNoteOff

inline NoteOffEvent daisy::MidiEvent::AsNoteOff () 

Returns the data within the MidiEvent as a NoteOffEvent struct


function AsNoteOn

inline NoteOnEvent daisy::MidiEvent::AsNoteOn () 

Returns the data within the MidiEvent as a NoteOnEvent struct


function AsOmniModeOff

inline OmniModeOffEvent daisy::MidiEvent::AsOmniModeOff () 

function AsOmniModeOn

inline OmniModeOnEvent daisy::MidiEvent::AsOmniModeOn () 

function AsPitchBend

inline PitchBendEvent daisy::MidiEvent::AsPitchBend () 

Returns the data within the MidiEvent as a PitchBendEvent struct.


function AsPolyModeOn

inline PolyModeOnEvent daisy::MidiEvent::AsPolyModeOn () 

function AsPolyphonicKeyPressure

inline PolyphonicKeyPressureEvent daisy::MidiEvent::AsPolyphonicKeyPressure () 

Returns the data within the MidiEvent as a PolyphonicKeyPressureEvent struct


function AsProgramChange

inline ProgramChangeEvent daisy::MidiEvent::AsProgramChange () 

Returns the data within the MidiEvent as a ProgramChangeEvent struct.


function AsResetAllControllers

inline ResetAllControllersEvent daisy::MidiEvent::AsResetAllControllers () 

function AsSongPositionPointer

inline SongPositionPointerEvent daisy::MidiEvent::AsSongPositionPointer () 

function AsSongSelect

inline SongSelectEvent daisy::MidiEvent::AsSongSelect () 

function AsSystemExclusive

inline SystemExclusiveEvent daisy::MidiEvent::AsSystemExclusive () 

Public Static Functions Documentation

function GetTypeAsString

static inline const  char * daisy::MidiEvent::GetTypeAsString (
    MidiEvent & msg
) 


The documentation for this class was generated from the following file external-docs/libDaisy/src/hid/MidiEvent.h