Skip to content

daisy::MidiEvent

Module: LIBDAISY / HUMAN_INTERFACE / MIDI / MIDI_EVENTS

More...

#include <MidiEvent.h>

Public Functions

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

Public Attributes

Name
MidiMessageType type
int channel
uint8_t[2] data
uint8_t[128] sysex_data
uint8_t sysex_message_len
SystemCommonType sc_type
SystemRealTimeType srt_type
ChannelModeType cm_type

Detailed Description

struct daisy::MidiEvent;

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

Public Functions Documentation

function AsNoteOff

inline NoteOffEvent AsNoteOff()

Returns the data within the MidiEvent as a NoteOffEvent struct


function AsNoteOn

inline NoteOnEvent AsNoteOn()

Returns the data within the MidiEvent as a NoteOnEvent struct


function AsPolyphonicKeyPressure

inline PolyphonicKeyPressureEvent AsPolyphonicKeyPressure()

Returns the data within the MidiEvent as a PolyphonicKeyPressureEvent struct


function AsControlChange

inline ControlChangeEvent AsControlChange()

Returns the data within the MidiEvent as a ControlChangeEvent struct.


function AsProgramChange

inline ProgramChangeEvent AsProgramChange()

Returns the data within the MidiEvent as a ProgramChangeEvent struct.


function AsChannelPressure

inline ChannelPressureEvent AsChannelPressure()

Returns the data within the MidiEvent as a ProgramChangeEvent struct.


function AsPitchBend

inline PitchBendEvent AsPitchBend()

Returns the data within the MidiEvent as a PitchBendEvent struct.


function AsChannelMode

inline ChannelModeEvent AsChannelMode()

function AsSystemExclusive

inline SystemExclusiveEvent AsSystemExclusive()

function AsMTCQuarterFrame

inline MTCQuarterFrameEvent AsMTCQuarterFrame()

function AsSongPositionPointer

inline SongPositionPointerEvent AsSongPositionPointer()

function AsSongSelect

inline SongSelectEvent AsSongSelect()

function AsAllSoundOff

inline AllSoundOffEvent AsAllSoundOff()

function AsResetAllControllers

inline ResetAllControllersEvent AsResetAllControllers()

function AsLocalControl

inline LocalControlEvent AsLocalControl()

function AsAllNotesOff

inline AllNotesOffEvent AsAllNotesOff()

function AsOmniModeOff

inline OmniModeOffEvent AsOmniModeOff()

function AsOmniModeOn

inline OmniModeOnEvent AsOmniModeOn()

function AsMonoModeOn

inline MonoModeOnEvent AsMonoModeOn()

function AsPolyModeOn

inline PolyModeOnEvent AsPolyModeOn()

Public Attributes Documentation

variable type

MidiMessageType type;

&

variable channel

int channel;

&

variable data

uint8_t[2] data;

&

variable sysex_data

uint8_t[128] sysex_data;

&

variable sysex_message_len

uint8_t sysex_message_len;

variable sc_type

SystemCommonType sc_type;

variable srt_type

SystemRealTimeType srt_type;

variable cm_type

ChannelModeType cm_type;

Updated on 2024-01-03 at 19:41:01 +0000