Arduino MIDI Library  Version 5.0.1
MIDI Thru

Functions

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

Detailed Description

Function Documentation

◆ getFilterMode()

template<class Transport , class Settings , class Platform >
Thru::Mode MidiInterface< Transport, Settings, Platform >::getFilterMode
inline

Definition at line 1359 of file MIDI.hpp.

1360 {
1361  return mThruFilterMode;
1362 }

◆ getThruState()

template<class Transport , class Settings , class Platform >
bool MidiInterface< Transport, Settings, Platform >::getThruState
inline

Definition at line 1365 of file MIDI.hpp.

1366 {
1367  return mThruActivated;
1368 }

◆ setThruFilterMode()

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

Set the filter for thru mirroring.

Parameters
inThruFilterModea filter mode
See also
Thru::Mode

Definition at line 1352 of file MIDI.hpp.

1353 {
1354  mThruFilterMode = inThruFilterMode;
1355  mThruActivated = mThruFilterMode != Thru::Off;
1356 }

◆ turnThruOff()

template<class Transport , class Settings , class Platform >
void MidiInterface< Transport, Settings, Platform >::turnThruOff
inline

Definition at line 1378 of file MIDI.hpp.

1379 {
1380  mThruActivated = false;
1381  mThruFilterMode = Thru::Off;
1382 }

◆ turnThruOn()

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

Definition at line 1371 of file MIDI.hpp.

1372 {
1373  mThruActivated = true;
1374  mThruFilterMode = inThruFilterMode;
1375 }
Thru::Off
@ Off
Thru disabled (nothing passes through).
Definition: midi_Defs.h:131