halve detune range
This commit is contained in:
parent
5982e3ebea
commit
1d48d5d5ef
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ function getUnisonDetune(unison, detune, voiceIndex) {
|
||||||
if (unison < 2) {
|
if (unison < 2) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return lerp(-detune, detune, voiceIndex / (unison - 1));
|
return lerp(-detune * 0.5, detune * 0.5, voiceIndex / (unison - 1));
|
||||||
}
|
}
|
||||||
class SuperSawOscillatorProcessor extends AudioWorkletProcessor {
|
class SuperSawOscillatorProcessor extends AudioWorkletProcessor {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue