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

Method PlayNote

Source/NoteExpressionRouter.cpp:77–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void NoteExpressionRouter::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation)
78{
79 mSTNote = pitch;
80 mSTVelocity = velocity;
81 for (auto i = 0; i < kMaxDestinations; ++i)
82 {
83 auto rt = mExpressions[i].value();
84 if (rt != 0)
85 {
86 mDestinationCables[i]->PlayNoteOutput(time, pitch, velocity, voiceIdx, modulation);
87 }
88 }
89}
90
91void NoteExpressionRouter::SendCC(int control, int value, int voiceIdx)
92{

Callers

nothing calls this directly

Calls 1

PlayNoteOutputMethod · 0.80

Tested by

no test coverage detected