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

Function getMidiChannel

Source/Core/CtrlrUtilities.cpp:414–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414const String getMidiChannel(const MidiMessage &m)
415{
416 if (m.getChannel() > 0)
417 {
418 return (String::formatted (" Ch:[%2d]", m.getChannel()));
419 }
420
421 return (" Ch:[--]");
422}
423
424const String getMidiValue(const MidiMessage &m)
425{

Callers 1

Calls 2

formattedFunction · 0.85
getChannelMethod · 0.45

Tested by

no test coverage detected