mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 13:48:40 +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) {
|
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…
x
Reference in New Issue
Block a user