tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
tracktion::engine::MidiChannel Struct Reference

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 (const MidiChannel &)=default
 
MidiChanneloperator= (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
 

Detailed Description

Represents a MIDI channel 1-16, and also contains extra ID bits to encode info about the event's origin.

Definition at line 18 of file tracktion_MidiChannel.h.

Constructor & Destructor Documentation

◆ MidiChannel() [1/2]

tracktion::engine::MidiChannel::MidiChannel ( int  channelNumber1to16)
explicitnoexcept

Definition at line 25 of file tracktion_MidiChannel.h.

◆ MidiChannel() [2/2]

tracktion::engine::MidiChannel::MidiChannel ( const juce::var storedChannel)
explicitnoexcept

Definition at line 30 of file tracktion_MidiChannel.h.

Member Function Documentation

◆ fromChannelOrZero()

static MidiChannel tracktion::engine::MidiChannel::fromChannelOrZero ( int  channel)
staticnoexcept

Definition at line 37 of file tracktion_MidiChannel.h.

◆ getChannelNumber()

int tracktion::engine::MidiChannel::getChannelNumber ( ) const
noexcept

Definition at line 46 of file tracktion_MidiChannel.h.

◆ isValid()

bool tracktion::engine::MidiChannel::isValid ( ) const
noexcept

Definition at line 48 of file tracktion_MidiChannel.h.

◆ operator juce::var()

tracktion::engine::MidiChannel::operator juce::var ( ) const

Definition at line 53 of file tracktion_MidiChannel.h.

◆ operator!=()

bool tracktion::engine::MidiChannel::operator!= ( const MidiChannel other) const
noexcept

Definition at line 51 of file tracktion_MidiChannel.h.

◆ operator==()

bool tracktion::engine::MidiChannel::operator== ( const MidiChannel other) const
noexcept

Definition at line 50 of file tracktion_MidiChannel.h.


The documentation for this struct was generated from the following file: