Control Surface stm32
MIDI Control Surface library for Arduino
Protected Member Functions | List of all members
FineGrainedMIDI_Callbacks< Derived > Class Template Reference

#include <MIDI_Interfaces/MIDI_Callbacks.hpp>

Detailed Description

template<class Derived>
class FineGrainedMIDI_Callbacks< Derived >
Examples
MIDI-Input-Fine-Grained-All-Callbacks.ino, and MIDI-Input-Fine-Grained.ino.

Definition at line 34 of file MIDI_Callbacks.hpp.

+ Inheritance diagram for FineGrainedMIDI_Callbacks< Derived >:
+ Collaboration diagram for FineGrainedMIDI_Callbacks< Derived >:

MIDI Callback Functions

void onNoteOff (Channel channel, uint8_t note, uint8_t velocity, Cable cable)
 
void onNoteOn (Channel channel, uint8_t note, uint8_t velocity, Cable cable)
 
void onKeyPressure (Channel channel, uint8_t note, uint8_t pressure, Cable cable)
 
void onControlChange (Channel channel, uint8_t controller, uint8_t value, Cable cable)
 
void onProgramChange (Channel channel, uint8_t program, Cable cable)
 
void onChannelPressure (Channel channel, uint8_t pressure, Cable cable)
 
void onPitchBend (Channel channel, uint16_t bend, Cable cable)
 
void onSystemExclusive (SysExMessage message)
 
void onTimeCodeQuarterFrame (uint8_t data, Cable cable)
 
void onSongPosition (uint16_t beats, Cable cable)
 
void onSongSelect (uint8_t songnumber, Cable cable)
 
void onTuneRequest (Cable cable)
 
void onClock (Cable cable)
 
void onStart (Cable cable)
 
void onContinue (Cable cable)
 
void onStop (Cable cable)
 
void onActiveSensing (Cable cable)
 
void onSystemReset (Cable cable)
 

Protected Member Functions

void onChannelMessage (MIDI_Interface &, ChannelMessage msg) override
 Callback for incoming MIDI Channel Messages (notes, control change, pitch bend, etc.) More...
 
void onSysExMessage (MIDI_Interface &, SysExMessage msg) override
 Callback for incoming MIDI System Exclusive Messages. More...
 
void onSysCommonMessage (MIDI_Interface &, SysCommonMessage msg) override
 Callback for incoming MIDI System Common Messages. More...
 
void onRealTimeMessage (MIDI_Interface &, RealTimeMessage msg) override
 Callback for incoming MIDI Real-Time Messages. More...
 

Member Function Documentation

◆ onNoteOff()

void onNoteOff ( Channel  channel,
uint8_t  note,
uint8_t  velocity,
Cable  cable 
)
inlineprotected

◆ onNoteOn()

void onNoteOn ( Channel  channel,
uint8_t  note,
uint8_t  velocity,
Cable  cable 
)
inlineprotected

◆ onKeyPressure()

void onKeyPressure ( Channel  channel,
uint8_t  note,
uint8_t  pressure,
Cable  cable 
)
inlineprotected

◆ onControlChange()

void onControlChange ( Channel  channel,
uint8_t  controller,
uint8_t  value,
Cable  cable 
)
inlineprotected

◆ onProgramChange()

void onProgramChange ( Channel  channel,
uint8_t  program,
Cable  cable 
)
inlineprotected

◆ onChannelPressure()

void onChannelPressure ( Channel  channel,
uint8_t  pressure,
Cable  cable 
)
inlineprotected

◆ onPitchBend()

void onPitchBend ( Channel  channel,
uint16_t  bend,
Cable  cable 
)
inlineprotected

◆ onSystemExclusive()

void onSystemExclusive ( SysExMessage  message)
inlineprotected

◆ onTimeCodeQuarterFrame()

void onTimeCodeQuarterFrame ( uint8_t  data,
Cable  cable 
)
inlineprotected

◆ onSongPosition()

void onSongPosition ( uint16_t  beats,
Cable  cable 
)
inlineprotected

◆ onSongSelect()

void onSongSelect ( uint8_t  songnumber,
Cable  cable 
)
inlineprotected

◆ onTuneRequest()

void onTuneRequest ( Cable  cable)
inlineprotected

◆ onClock()

void onClock ( Cable  cable)
inlineprotected

◆ onStart()

void onStart ( Cable  cable)
inlineprotected

◆ onContinue()

void onContinue ( Cable  cable)
inlineprotected

◆ onStop()

void onStop ( Cable  cable)
inlineprotected

◆ onActiveSensing()

void onActiveSensing ( Cable  cable)
inlineprotected

◆ onSystemReset()

void onSystemReset ( Cable  cable)
inlineprotected

◆ onChannelMessage()

void onChannelMessage ( MIDI_Interface ,
ChannelMessage   
)
inlineoverrideprotectedvirtual

Callback for incoming MIDI Channel Messages (notes, control change, pitch bend, etc.)

Reimplemented from MIDI_Callbacks.

Definition at line 61 of file MIDI_Callbacks.hpp.

◆ onSysExMessage()

void onSysExMessage ( MIDI_Interface ,
SysExMessage   
)
inlineoverrideprotectedvirtual

Callback for incoming MIDI System Exclusive Messages.

Reimplemented from MIDI_Callbacks.

Definition at line 113 of file MIDI_Callbacks.hpp.

◆ onSysCommonMessage()

void onSysCommonMessage ( MIDI_Interface ,
SysCommonMessage   
)
inlineoverrideprotectedvirtual

Callback for incoming MIDI System Common Messages.

Reimplemented from MIDI_Callbacks.

Definition at line 117 of file MIDI_Callbacks.hpp.

◆ onRealTimeMessage()

void onRealTimeMessage ( MIDI_Interface ,
RealTimeMessage   
)
inlineoverrideprotectedvirtual

Callback for incoming MIDI Real-Time Messages.

Reimplemented from MIDI_Callbacks.

Definition at line 158 of file MIDI_Callbacks.hpp.


The documentation for this class was generated from the following file: