mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 05:38:35 +00:00
halve detune range
This commit is contained in:
parent
5982e3ebea
commit
1d48d5d5ef
@ -166,7 +166,7 @@ function getUnisonDetune(unison, detune, voiceIndex) {
|
||||
if (unison < 2) {
|
||||
return 0;
|
||||
}
|
||||
return lerp(-detune, detune, voiceIndex / (unison - 1));
|
||||
return lerp(-detune * 0.5, detune * 0.5, voiceIndex / (unison - 1));
|
||||
}
|
||||
class SuperSawOscillatorProcessor extends AudioWorkletProcessor {
|
||||
constructor() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user