Arduino MIDI Library  Version 4.3
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 1260 of file MIDI.hpp.

1261 {
1262  return mThruFilterMode;
1263 }

§ getThruState()

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

Definition at line 1266 of file MIDI.hpp.

1267 {
1268  return mThruActivated;
1269 }

§ 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 1253 of file MIDI.hpp.

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

§ turnThruOff()

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

Definition at line 1279 of file MIDI.hpp.

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

§ turnThruOn()

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

Definition at line 1272 of file MIDI.hpp.

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