TracktionEngine
|
Represents a MIDI channel 1-16, and also contains extra ID bits to encode info about the event's origin. More...
#include <tracktion_MidiChannel.h>
Public Member Functions | |
MidiChannel ()=default | |
MidiChannel (const MidiChannel &)=default | |
MidiChannel & | operator= (const MidiChannel &)=default |
MidiChannel (int channelNumber1to16) noexcept | |
MidiChannel (const juce::var &storedChannel) noexcept | |
int | getChannelNumber () const noexcept |
bool | isValid () const noexcept |
bool | operator== (const MidiChannel &other) const noexcept |
bool | operator!= (const MidiChannel &other) const noexcept |
operator juce::var () const | |
Static Public Member Functions | |
static MidiChannel | fromChannelOrZero (int channel) noexcept |
Represents a MIDI channel 1-16, and also contains extra ID bits to encode info about the event's origin.
|
default |
|
default |
|
explicitnoexcept |
|
explicitnoexcept |
References isValid().
|
default |
|
staticnoexcept |
|
noexcept |
Referenced by tracktion::engine::MidiClip::isRhythm(), and operator juce::var().
|
noexcept |
Referenced by MidiChannel().
|
noexcept |
|
noexcept |
tracktion::engine::MidiChannel::operator juce::var | ( | ) | const |
References getChannelNumber().