mirror of
https://github.com/yokemura/Magical8bitPlug2.git
synced 2025-05-24 23:00:21 -04:00
Initial bend amount wasn't reflected to a starting note
This commit is contained in:
parent
6bc8d4bfb7
commit
9350d1f02e
@ -22,7 +22,7 @@ void TonalVoice::startNote (int midiNoteNumber, float velocity, SynthesiserSound
|
|||||||
{
|
{
|
||||||
BaseVoice::startNote (midiNoteNumber, velocity, 0, currentPitchBendPosition);
|
BaseVoice::startNote (midiNoteNumber, velocity, 0, currentPitchBendPosition);
|
||||||
|
|
||||||
currentBendAmount = 0;
|
currentBendAmount = * (settingRefs->bendRange) * ((double) (currentPitchBendPosition - 8192)) / 8192.0;
|
||||||
currentPitchSequenceFrame = 0;
|
currentPitchSequenceFrame = 0;
|
||||||
vibratoCount = 0;
|
vibratoCount = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user