Control Surface
main
MIDI Control Surface library for Arduino
|
Operators and utilities for MIDI routing.
Two or more MIDI interfaces can be connected using MIDI Pipes. The simplest pipe just carries messages from the input interface to the output interface, but you can write rules for filtering out certain messages, changing the channel of some messages, etc.
Allows you to use syntax like:
Or for bidirectional connections:
Have a look at the following examples on MIDI routing:
If you're interested how the pipes work, see the documentation for MIDI_Pipe.
Classes | |
class | MIDI_Sink |
Receives MIDI messages from a MIDI pipe. More... | |
class | MIDI_Source |
Class that can send MIDI messages to a MIDI pipe. More... | |
class | MIDI_Pipe |
Class that routes MIDI messages from a MIDI_Source to a MIDI_Sink. More... | |
struct | TrueMIDI_SinkSource |
A struct that is both a TrueMIDI_Sink and a TrueMIDI_Source. More... | |
struct | MIDI_PipeFactory< N, Pipe > |
Class that produces multiple MIDI_Pipes. More... | |
Typedefs | |
using | TrueMIDI_Sink = MIDI_Sink |
A MIDI_Sink that is not a MIDI_Pipe. | |
using | TrueMIDI_Source = MIDI_Source |
A MIDI_Source that is not a MIDI_Pipe. | |
using | BidirectionalMIDI_Pipe = std::pair<MIDI_Pipe, MIDI_Pipe> |
A bidirectional pipe consists of two unidirectional pipes. | |
template<size_t N> | |
using | BidirectionalMIDI_PipeFactory |
A MIDI_Sink that is not a MIDI_Pipe.
Definition at line 68 of file MIDI_Pipes.hpp.
A MIDI_Source that is not a MIDI_Pipe.
Definition at line 70 of file MIDI_Pipes.hpp.
using BidirectionalMIDI_Pipe = std::pair<MIDI_Pipe, MIDI_Pipe> |
A bidirectional pipe consists of two unidirectional pipes.
Definition at line 600 of file MIDI_Pipes.hpp.
using BidirectionalMIDI_PipeFactory |
Definition at line 673 of file MIDI_Pipes.hpp.
|
inline |
Connect a source to a pipe (source >> pipe
).
Definition at line 603 of file MIDI_Pipes.hpp.
|
inline |
Connect a pipe to a sink (pipe >> sink
).
Definition at line 609 of file MIDI_Pipes.hpp.
|
inline |
Connect a sink to a pipe (sink << pipe
).
Definition at line 615 of file MIDI_Pipes.hpp.
|
inline |
Connect a pipe to a source (pipe << source
).
Definition at line 621 of file MIDI_Pipes.hpp.
|
inline |
Connect a pipe to a sink+source (pipe | source+sink
).
Definition at line 630 of file MIDI_Pipes.hpp.
|
inline |
Connect a sink+source to a pipe (source+sink | pipe
).
Definition at line 638 of file MIDI_Pipes.hpp.
|
inline |
Definition at line 677 of file MIDI_Pipes.hpp.
|
delete |
|
inline |
Definition at line 686 of file MIDI_Pipes.hpp.
|
delete |
|
inline |
Definition at line 695 of file MIDI_Pipes.hpp.
|
inline |
Definition at line 701 of file MIDI_Pipes.hpp.
|
inline |
Definition at line 708 of file MIDI_Pipes.hpp.
|
inline |
Definition at line 715 of file MIDI_Pipes.hpp.