Control Surface  1.2.0
MIDI Control Surface library for Arduino
ProgramChangeSender.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
6 
13  public:
15  void sendOn(MIDIAddress address) {
16  Control_Surface.sendPC(address);
17  }
19  void sendOff(MIDIAddress address) {
20  (void) address;
21  }
22 };
23 
MIDIAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition: MIDIAddress.hpp:91
ProgramChangeSender::sendOn
void sendOn(MIDIAddress address)
Sends a MIDI program change message for the given program.
Definition: ProgramChangeSender.hpp:15
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition: Settings/NamespaceSettings.hpp:9
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition: Settings/NamespaceSettings.hpp:10
MIDI_Sender::sendPC
void sendPC(MIDIAddress address)
Send a MIDI Program Change event.
Definition: MIDI_Interface.ipp:79
Control_Surface_Class.hpp
Control_Surface
Control_Surface_ & Control_Surface
A predefined instance of the Control Surface to use in the Arduino sketches.
Definition: Control_Surface_Class.cpp:203
ProgramChangeSender::sendOff
void sendOff(MIDIAddress address)
Doesn't do anything (you cannot "un-select" a program).
Definition: ProgramChangeSender.hpp:19
ProgramChangeSender
Class that sends MIDI program change messages.
Definition: ProgramChangeSender.hpp:12