| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
Go to the documentation of this file.
    6 #include <Settings/NamespaceSettings.hpp> 
   38         return Channel{int8_t(oneBasedChannel - 1)};
 
  107 constexpr 
Channel operator"" _ch(
unsigned long long ch) {
 
  
constexpr Channel CHANNEL_13
 
A type-safe class for MIDI channels.
 
Channel operator+(const int8_t rhs) const
Add an offset to a channel.
 
constexpr Channel CHANNEL_3
 
static constexpr Channel createChannel(int8_t oneBasedChannel)
Create a channel.
 
constexpr Channel CHANNEL_6
 
#define BEGIN_CS_NAMESPACE
 
constexpr Channel CHANNEL_11
 
constexpr Channel CHANNEL_8
 
constexpr Channel CHANNEL_12
 
Channel operator-(const int8_t rhs) const
Subtract an offset from a channel.
 
constexpr Channel CHANNEL_7
 
Channel & operator+=(const int8_t rhs)
Add an offset.
 
constexpr Channel CHANNEL_15
 
constexpr Channel CHANNEL_16
 
constexpr int8_t getRaw() const
Get the channel as an integer.
 
constexpr Channel(int8_t zeroBasedChannel)
Create a MIDI Channel object.
 
constexpr Channel CHANNEL_5
 
constexpr Channel CHANNEL_4
 
constexpr Channel CHANNEL_10
 
constexpr bool operator==(const Channel &rhs) const
Check if two channels are the same.
 
Channel & operator-=(const int8_t rhs)
Subtract an offset.
 
constexpr Channel CHANNEL_9
 
constexpr Channel CHANNEL_14
 
constexpr Channel CHANNEL_2
 
constexpr Channel CHANNEL_1