Control Surface
1.1.1
MIDI Control Surface library for Arduino
src
MIDI_Senders
ContinuousCCSender.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Control_Surface/Control_Surface_Class.hpp
>
4
5
BEGIN_CS_NAMESPACE
6
7
class
ContinuousCCSender
{
8
public
:
9
void
send
(uint8_t value,
MIDICNChannelAddress
address) {
10
Control_Surface
.
MIDI
().
sendCC
(address, value);
11
}
12
13
constexpr
static
uint8_t
precision
() {
return
7; }
14
};
15
16
END_CS_NAMESPACE
ContinuousCCSender::precision
constexpr static uint8_t precision()
Definition:
ContinuousCCSender.hpp:13
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition:
Settings/NamespaceSettings.hpp:9
Control_Surface_::MIDI
MIDI_Interface & MIDI()
Get the MIDI interface of the Control Surface.
Definition:
Control_Surface_Class.cpp:58
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition:
Settings/NamespaceSettings.hpp:10
Control_Surface_Class.hpp
MIDICNChannelAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition:
MIDICNChannelAddress.hpp:82
Control_Surface
Control_Surface_ & Control_Surface
A predefined instance of the Control Surface to use in the Arduino sketches.
Definition:
Control_Surface_Class.cpp:176
ContinuousCCSender::send
void send(uint8_t value, MIDICNChannelAddress address)
Definition:
ContinuousCCSender.hpp:9
ContinuousCCSender
Definition:
ContinuousCCSender.hpp:7
MIDI_Interface::sendCC
void sendCC(MIDICNChannelAddress address, uint8_t value)
Send a MIDI Control Change event.
Definition:
MIDI_Interface.cpp:75
Generated by
1.8.16