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

Method setMidiChannelToAllModulators

Source/Core/CtrlrPanel/CtrlrPanel.cpp:770–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768}
769
770void CtrlrPanel::setMidiChannelToAllModulators (const int newChannel)
771{
772 for (int i=0; i<ctrlrModulators.size(); i++)
773 {
774 if (ctrlrModulators[i]->getMidiMessagePtr())
775 {
776 ctrlrModulators[i]->getMidiMessage().setChannel (newChannel);
777 }
778 }
779}
780
781void CtrlrPanel::setInitialProgramValue (const String &modulatorName, const var &value)
782{

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
getMidiMessagePtrMethod · 0.45
setChannelMethod · 0.45

Tested by

no test coverage detected