Arduino MIDI Library  Version 4.3.1
MIDI Thru

Functions

void MidiInterface< SerialPort, _Settings >::setThruFilterMode (Thru::Mode inThruFilterMode)
 Set the filter for thru mirroring. More...
 
Thru::Mode MidiInterface< SerialPort, _Settings >::getFilterMode () const
 
bool MidiInterface< SerialPort, _Settings >::getThruState () const
 
void MidiInterface< SerialPort, _Settings >::turnThruOn (Thru::Mode inThruFilterMode=Thru::Full)
 
void MidiInterface< SerialPort, _Settings >::turnThruOff ()
 

Detailed Description

Function Documentation

§ getFilterMode()

template<class SerialPort , class Settings >
Thru::Mode MidiInterface< SerialPort, Settings >::getFilterMode ( ) const
inline

Definition at line 1259 of file MIDI.hpp.

1260 {
1261  return mThruFilterMode;
1262 }

§ getThruState()

template<class SerialPort , class Settings >
bool MidiInterface< SerialPort, Settings >::getThruState ( ) const
inline

Definition at line 1265 of file MIDI.hpp.

1266 {
1267  return mThruActivated;
1268 }

§ setThruFilterMode()

template<class SerialPort , class Settings >
void MidiInterface< SerialPort, Settings >::setThruFilterMode ( Thru::Mode  inThruFilterMode)
inline

Set the filter for thru mirroring.

Parameters
inThruFilterModea filter mode
See also
Thru::Mode

Definition at line 1252 of file MIDI.hpp.

1253 {
1254  mThruFilterMode = inThruFilterMode;
1255  mThruActivated = mThruFilterMode != Thru::Off;
1256 }
Thru disabled (nothing passes through).
Definition: midi_Defs.h:95

§ turnThruOff()

template<class SerialPort , class Settings >
void MidiInterface< SerialPort, Settings >::turnThruOff ( )
inline

Definition at line 1278 of file MIDI.hpp.

1279 {
1280  mThruActivated = false;
1281  mThruFilterMode = Thru::Off;
1282 }
Thru disabled (nothing passes through).
Definition: midi_Defs.h:95

§ turnThruOn()

template<class SerialPort , class Settings >
void MidiInterface< SerialPort, Settings >::turnThruOn ( Thru::Mode  inThruFilterMode = Thru::Full)
inline

Definition at line 1271 of file MIDI.hpp.

1272 {
1273  mThruActivated = true;
1274  mThruFilterMode = inThruFilterMode;
1275 }