Small fix for CV LFO vibrato.
This commit is contained in:
parent
27071c44bd
commit
bd52fd0364
1 changed files with 1 additions and 1 deletions
|
@ -1456,7 +1456,7 @@ void loop() {
|
|||
cvPitch += map(pitchBend,0,16383,-84,84);
|
||||
if (cvVibRate){
|
||||
int timeDivider = timeDividerList[cvVibRate];
|
||||
int cvVib = map(((waveformsTable[map(currentTime%timeDivider, 0, timeDivider, 0, maxSamplesNum)] - 2047) * exSensorIndicator), -259968,259969,-11,11);
|
||||
int cvVib = map(((waveformsTable[map(currentTime%timeDivider, 0, timeDivider, 0, maxSamplesNum-1)] - 2047) * exSensorIndicator), -259968,259969,-11,11);
|
||||
cvPitch += cvVib;
|
||||
}
|
||||
int cvPitchTuned = cvTune-100+map(cvPitch,0,4032,0,4032+cvScale-100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue