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

Method PlayNote

Source/ModWheel.cpp:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void ModWheel::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation)
60{
61 if (mEnabled)
62 {
63 mModulation.GetModWheel(voiceIdx)->AppendTo(modulation.modWheel);
64 modulation.modWheel = mModulation.GetModWheel(voiceIdx);
65 }
66
67 PlayNoteOutput(time, pitch, velocity, voiceIdx, modulation);
68}
69
70void ModWheel::OnTransportAdvanced(float amount)
71{

Callers

nothing calls this directly

Calls 2

AppendToMethod · 0.80
GetModWheelMethod · 0.45

Tested by

no test coverage detected