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

Method PlayNote

Source/PitchBender.cpp:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void PitchBender::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation)
66{
67 if (mEnabled)
68 {
69 mModulation.GetPitchBend(voiceIdx)->AppendTo(modulation.pitchBend);
70 modulation.pitchBend = mModulation.GetPitchBend(voiceIdx);
71 }
72
73 PlayNoteOutput(time, pitch, velocity, voiceIdx, modulation);
74}
75
76void PitchBender::OnTransportAdvanced(float amount)
77{

Callers

nothing calls this directly

Calls 2

AppendToMethod · 0.80
GetPitchBendMethod · 0.45

Tested by

no test coverage detected