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

Method PlayNote

Source/NoteVibrato.cpp:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void NoteVibrato::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation)
77{
78 if (mEnabled)
79 {
80 mModulation.GetPitchBend(voiceIdx)->AppendTo(modulation.pitchBend);
81 modulation.pitchBend = mModulation.GetPitchBend(voiceIdx);
82 }
83
84 PlayNoteOutput(time, pitch, velocity, voiceIdx, modulation);
85}
86
87void NoteVibrato::FloatSliderUpdated(FloatSlider* slider, float oldVal, double time)
88{

Callers

nothing calls this directly

Calls 2

AppendToMethod · 0.80
GetPitchBendMethod · 0.45

Tested by

no test coverage detected