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

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracktion::engine::MidiMessageArray::MidiMessageWithSource Struct Reference
Inheritance diagram for tracktion::engine::MidiMessageArray::MidiMessageWithSource:
juce::MidiMessage

Public Member Functions

 MidiMessageWithSource (const juce::MidiMessage &m, MPESourceID source)
 
 MidiMessageWithSource (juce::MidiMessage &&m, MPESourceID source)
 
 MidiMessageWithSource (const MidiMessageWithSource &)=default
 
 MidiMessageWithSource (MidiMessageWithSource &&)=default
 
MidiMessageWithSourceoperator= (const MidiMessageWithSource &)=default
 
MidiMessageWithSourceoperator= (MidiMessageWithSource &&)=default
 
- Public Member Functions inherited from juce::MidiMessage
 MidiMessage (int byte1, int byte2, int byte3, double timeStamp=0) noexcept
 
 MidiMessage (int byte1, int byte2, double timeStamp=0) noexcept
 
 MidiMessage (int byte1, double timeStamp=0) noexcept
 
 MidiMessage (int byte1, int byte2, int byte3, Data... otherBytes)
 
 MidiMessage (const void *data, int numBytes, double timeStamp=0)
 
 MidiMessage (const void *data, int maxBytesToUse, int &numBytesUsed, uint8 lastStatusByte, double timeStamp=0, bool sysexHasEmbeddedLength=true)
 
 MidiMessage (const MidiMessage &)
 
 MidiMessage (const MidiMessage &, double newTimeStamp)
 
MidiMessageoperator= (const MidiMessage &other)
 
 MidiMessage (MidiMessage &&) noexcept
 
MidiMessageoperator= (MidiMessage &&) noexcept
 
const uint8getRawData () const noexcept
 
int getRawDataSize () const noexcept
 
String getDescription () const
 
double getTimeStamp () const noexcept
 
void setTimeStamp (double newTimestamp) noexcept
 
void addToTimeStamp (double delta) noexcept
 
MidiMessage withTimeStamp (double newTimestamp) const
 
int getChannel () const noexcept
 
bool isForChannel (int channelNumber) const noexcept
 
void setChannel (int newChannelNumber) noexcept
 
bool isSysEx () const noexcept
 
const uint8getSysExData () const noexcept
 
int getSysExDataSize () const noexcept
 
Span< const std::bytegetSysExDataSpan () const noexcept
 
bool isNoteOn (bool returnTrueForVelocity0=false) const noexcept
 
bool isNoteOff (bool returnTrueForNoteOnVelocity0=true) const noexcept
 
bool isNoteOnOrOff () const noexcept
 
int getNoteNumber () const noexcept
 
void setNoteNumber (int newNoteNumber) noexcept
 
uint8 getVelocity () const noexcept
 
float getFloatVelocity () const noexcept
 
void setVelocity (float newVelocity) noexcept
 
void multiplyVelocity (float scaleFactor) noexcept
 
bool isSustainPedalOn () const noexcept
 
bool isSustainPedalOff () const noexcept
 
bool isSostenutoPedalOn () const noexcept
 
bool isSostenutoPedalOff () const noexcept
 
bool isSoftPedalOn () const noexcept
 
bool isSoftPedalOff () const noexcept
 
bool isProgramChange () const noexcept
 
int getProgramChangeNumber () const noexcept
 
bool isPitchWheel () const noexcept
 
int getPitchWheelValue () const noexcept
 
bool isAftertouch () const noexcept
 
int getAfterTouchValue () const noexcept
 
bool isChannelPressure () const noexcept
 
int getChannelPressureValue () const noexcept
 
bool isController () const noexcept
 
int getControllerNumber () const noexcept
 
int getControllerValue () const noexcept
 
bool isControllerOfType (int controllerType) const noexcept
 
bool isAllNotesOff () const noexcept
 
bool isAllSoundOff () const noexcept
 
bool isResetAllControllers () const noexcept
 
bool isMetaEvent () const noexcept
 
int getMetaEventType () const noexcept
 
const uint8getMetaEventData () const noexcept
 
int getMetaEventLength () const noexcept
 
bool isTrackMetaEvent () const noexcept
 
bool isEndOfTrackMetaEvent () const noexcept
 
bool isTrackNameEvent () const noexcept
 
bool isTextMetaEvent () const noexcept
 
String getTextFromTextMetaEvent () const
 
bool isTempoMetaEvent () const noexcept
 
double getTempoMetaEventTickLength (short timeFormat) const noexcept
 
double getTempoSecondsPerQuarterNote () const noexcept
 
bool isTimeSignatureMetaEvent () const noexcept
 
void getTimeSignatureInfo (int &numerator, int &denominator) const noexcept
 
bool isKeySignatureMetaEvent () const noexcept
 
int getKeySignatureNumberOfSharpsOrFlats () const noexcept
 
bool isKeySignatureMajorKey () const noexcept
 
bool isMidiChannelMetaEvent () const noexcept
 
int getMidiChannelMetaEventChannel () const noexcept
 
bool isActiveSense () const noexcept
 
bool isMidiStart () const noexcept
 
bool isMidiContinue () const noexcept
 
bool isMidiStop () const noexcept
 
bool isMidiClock () const noexcept
 
bool isSongPositionPointer () const noexcept
 
int getSongPositionPointerMidiBeat () const noexcept
 
bool isQuarterFrame () const noexcept
 
int getQuarterFrameSequenceNumber () const noexcept
 
int getQuarterFrameValue () const noexcept
 
bool isFullFrame () const noexcept
 
void getFullFrameParameters (int &hours, int &minutes, int &seconds, int &frames, SmpteTimecodeType &timecodeType) const noexcept
 
bool isMidiMachineControlMessage () const noexcept
 
MidiMachineControlCommand getMidiMachineControlCommand () const noexcept
 
bool isMidiMachineControlGoto (int &hours, int &minutes, int &seconds, int &frames) const noexcept
 

Public Attributes

MPESourceID mpeSourceID
 

Additional Inherited Members

- Public Types inherited from juce::MidiMessage
enum  SmpteTimecodeType
 
enum  MidiMachineControlCommand
 
- Static Public Member Functions inherited from juce::MidiMessage
static MidiMessage noteOn (int channel, int noteNumber, float velocity) noexcept
 
static MidiMessage noteOn (int channel, int noteNumber, uint8 velocity) noexcept
 
static MidiMessage noteOff (int channel, int noteNumber, float velocity) noexcept
 
static MidiMessage noteOff (int channel, int noteNumber, uint8 velocity) noexcept
 
static MidiMessage noteOff (int channel, int noteNumber) noexcept
 
static MidiMessage programChange (int channel, int programNumber) noexcept
 
static MidiMessage pitchWheel (int channel, int position) noexcept
 
static MidiMessage aftertouchChange (int channel, int noteNumber, int aftertouchAmount) noexcept
 
static MidiMessage channelPressureChange (int channel, int pressure) noexcept
 
static MidiMessage controllerEvent (int channel, int controllerType, int value) noexcept
 
static MidiMessage allNotesOff (int channel) noexcept
 
static MidiMessage allSoundOff (int channel) noexcept
 
static MidiMessage allControllersOff (int channel) noexcept
 
static MidiMessage endOfTrack () noexcept
 
static MidiMessage textMetaEvent (int type, StringRef text)
 
static MidiMessage tempoMetaEvent (int microsecondsPerQuarterNote) noexcept
 
static MidiMessage timeSignatureMetaEvent (int numerator, int denominator)
 
static MidiMessage keySignatureMetaEvent (int numberOfSharpsOrFlats, bool isMinorKey)
 
static MidiMessage midiChannelMetaEvent (int channel) noexcept
 
static MidiMessage midiStart () noexcept
 
static MidiMessage midiContinue () noexcept
 
static MidiMessage midiStop () noexcept
 
static MidiMessage midiClock () noexcept
 
static MidiMessage songPositionPointer (int positionInMidiBeats) noexcept
 
static MidiMessage quarterFrame (int sequenceNumber, int value) noexcept
 
static MidiMessage fullFrame (int hours, int minutes, int seconds, int frames, SmpteTimecodeType timecodeType)
 
static MidiMessage midiMachineControlCommand (MidiMachineControlCommand command)
 
static MidiMessage midiMachineControlGoto (int hours, int minutes, int seconds, int frames)
 
static MidiMessage masterVolume (float volume)
 
static MidiMessage createSysExMessage (const void *sysexData, int dataSize)
 
static MidiMessage createSysExMessage (Span< const std::byte > data)
 
static VariableLengthValue readVariableLengthValue (const uint8 *data, int maxBytesToUse) noexcept
 
static int getMessageLengthFromFirstByte (uint8 firstByte) noexcept
 
static String getMidiNoteName (int noteNumber, bool useSharps, bool includeOctaveNumber, int octaveNumForMiddleC)
 
static double getMidiNoteInHertz (int noteNumber, double frequencyOfA=440.0) noexcept
 
static bool isMidiNoteBlack (int noteNumber) noexcept
 
static const chargetGMInstrumentName (int midiInstrumentNumber)
 
static const chargetGMInstrumentBankName (int midiBankNumber)
 
static const chargetRhythmInstrumentName (int midiNoteNumber)
 
static const chargetControllerName (int controllerNumber)
 
static uint8 floatValueToMidiByte (float valueBetween0and1) noexcept
 
static uint16 pitchbendToPitchwheelPos (float pitchbendInSemitones, float pitchbendRangeInSemitones) noexcept
 

Detailed Description

Definition at line 28 of file tracktion_MidiMessageArray.h.

Constructor & Destructor Documentation

◆ MidiMessageWithSource() [1/2]

tracktion::engine::MidiMessageArray::MidiMessageWithSource::MidiMessageWithSource ( const juce::MidiMessage m,
MPESourceID  source 
)

Definition at line 30 of file tracktion_MidiMessageArray.h.

◆ MidiMessageWithSource() [2/2]

tracktion::engine::MidiMessageArray::MidiMessageWithSource::MidiMessageWithSource ( juce::MidiMessage &&  m,
MPESourceID  source 
)

Definition at line 31 of file tracktion_MidiMessageArray.h.

Member Data Documentation

◆ mpeSourceID

MPESourceID tracktion::engine::MidiMessageArray::MidiMessageWithSource::mpeSourceID

Definition at line 38 of file tracktion_MidiMessageArray.h.


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