Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
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.)
 
void onSysExMessage (MIDI_Interface &, SysExMessage msg) override
 Callback for incoming MIDI System Exclusive Messages.
 
void onSysCommonMessage (MIDI_Interface &, SysCommonMessage msg) override
 Callback for incoming MIDI System Common Messages.
 
void onRealTimeMessage (MIDI_Interface &, RealTimeMessage msg) override
 Callback for incoming MIDI Real-Time Messages.
 

Member Function Documentation

◆ onNoteOff()

template<class Derived >
void onNoteOff ( Channel channel,
uint8_t note,
uint8_t velocity,
Cable cable )
inlineprotected

◆ onNoteOn()

template<class Derived >
void onNoteOn ( Channel channel,
uint8_t note,
uint8_t velocity,
Cable cable )
inlineprotected

◆ onKeyPressure()

template<class Derived >
void onKeyPressure ( Channel channel,
uint8_t note,
uint8_t pressure,
Cable cable )
inlineprotected

◆ onControlChange()

template<class Derived >
void onControlChange ( Channel channel,
uint8_t controller,
uint8_t value,
Cable cable )
inlineprotected

◆ onProgramChange()

template<class Derived >
void onProgramChange ( Channel channel,
uint8_t program,
Cable cable )
inlineprotected

◆ onChannelPressure()

template<class Derived >
void onChannelPressure ( Channel channel,
uint8_t pressure,
Cable cable )
inlineprotected

◆ onPitchBend()

template<class Derived >
void onPitchBend ( Channel channel,
uint16_t bend,
Cable cable )
inlineprotected

◆ onSystemExclusive()

template<class Derived >
void onSystemExclusive ( SysExMessage message)
inlineprotected

◆ onTimeCodeQuarterFrame()

template<class Derived >
void onTimeCodeQuarterFrame ( uint8_t data,
Cable cable )
inlineprotected

◆ onSongPosition()

template<class Derived >
void onSongPosition ( uint16_t beats,
Cable cable )
inlineprotected

◆ onSongSelect()

template<class Derived >
void onSongSelect ( uint8_t songnumber,
Cable cable )
inlineprotected

◆ onTuneRequest()

template<class Derived >
void onTuneRequest ( Cable cable)
inlineprotected

◆ onClock()

template<class Derived >
void onClock ( Cable cable)
inlineprotected

◆ onStart()

template<class Derived >
void onStart ( Cable cable)
inlineprotected

◆ onContinue()

template<class Derived >
void onContinue ( Cable cable)
inlineprotected

◆ onStop()

template<class Derived >
void onStop ( Cable cable)
inlineprotected

◆ onActiveSensing()

template<class Derived >
void onActiveSensing ( Cable cable)
inlineprotected

◆ onSystemReset()

template<class Derived >
void onSystemReset ( Cable cable)
inlineprotected

◆ onChannelMessage()

template<class Derived >
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()

template<class Derived >
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()

template<class Derived >
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()

template<class Derived >
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: