MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / SendCCFromScript

Method SendCCFromScript

Source/ScriptModule.cpp:689–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687}
688
689void ScriptModule::SendCCFromScript(int control, int value, int noteOutputIndex)
690{
691 if (noteOutputIndex == 0)
692 {
693 SendCC(control, value);
694 return;
695 }
696
697 if (noteOutputIndex - 1 < (int)mExtraNoteOutputs.size())
698 {
699 mExtraNoteOutputs[noteOutputIndex - 1]->SendCCOutput(control, value);
700 }
701}
702
703void ScriptModule::ScheduleNote(double time, float pitch, float velocity, float pan, int noteOutputIndex)
704{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
SendCCOutputMethod · 0.80

Tested by

no test coverage detected