mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-05 14:58:03 -04:00
Typo
This commit is contained in:
@@ -615,11 +615,11 @@ class PitchProcessor extends OLAProcessor {
|
||||
processOLA(inputs, outputs, parameters) {
|
||||
// no automation, take last value
|
||||
let pitchFactor = parameters.pitchFactor[parameters.pitchFactor.length - 1];
|
||||
pitchFactor = Math.max(0.01, pitchFactor);
|
||||
if (this.vocoderMode) {
|
||||
pitchFactor = pitchFactor < 0 ? pitchFactor * 0.25 : pitchFactor;
|
||||
pitchFactor = Math.max(0, pitchFactor + 1);
|
||||
}
|
||||
pitchFactor = Math.max(0.01, pitchFactor);
|
||||
for (let i = 0; i < this.nbInputs; i++) {
|
||||
for (let j = 0; j < inputs[i].length; j++) {
|
||||
const input = inputs[i][j];
|
||||
|
||||
Reference in New Issue
Block a user