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