MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / getMidiMessageAsLogString

Function getMidiMessageAsLogString

Source/Core/CtrlrUtilities.cpp:607–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607const String getMidiMessageAsLogString (const MidiMessage &m, const double customTimestamp, const bool name, const bool channel, const bool number, const bool value, const bool timestamp, const bool rawData, const bool rawInDecimal, const bool rawDataSize)
608{
609 return ((timestamp ? (customTimestamp >= 0 ? getTimestamp(customTimestamp) : getTimestamp(m)) : "")
610 + (rawDataSize ? getRawDataSize(m) : "")
611 + (name ? getName(m) : "")
612 + (channel ? getMidiChannel(m) : "")
613 + (number ? getMidiNumber(m) : "")
614 + (value ? getMidiValue(m) : "")
615 + (rawData ? getRawData(m,rawInDecimal) : ""));
616}
617
618void setBitOption (int &storage, const int optionToSet, const bool isSet)
619{

Callers 1

formatMidiMessageMethod · 0.85

Calls 7

getTimestampFunction · 0.85
getMidiNumberFunction · 0.85
getMidiValueFunction · 0.85
getRawDataSizeFunction · 0.70
getNameFunction · 0.70
getMidiChannelFunction · 0.70
getRawDataFunction · 0.70

Tested by

no test coverage detected