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

Method PlayNote

Source/NoteRouter.cpp:78–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void NoteRouter::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation)
79{
80 for (int i = 0; i < (int)mDestinationCables.size(); ++i)
81 {
82 if (IsIndexActive(i))
83 {
84 mDestinationCables[i]->PlayNoteOutput(time, pitch, velocity, voiceIdx, modulation);
85 }
86 }
87}
88
89void NoteRouter::RadioButtonUpdated(RadioButton* radio, int oldVal, double time)
90{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
PlayNoteOutputMethod · 0.80

Tested by

no test coverage detected