mirror of
https://codeberg.org/uzu/strudel
synced 2026-08-01 05:27:18 -04:00
Merge branch 'oscillator_enhancements' of https://github.com/daslyfe/strudel into oscillator_enhancements
This commit is contained in:
@@ -16,7 +16,7 @@ export function repl({
|
||||
onToggle,
|
||||
editPattern,
|
||||
onUpdateState,
|
||||
sync = false,
|
||||
sync = true,
|
||||
}) {
|
||||
const state = {
|
||||
schedulerError: undefined,
|
||||
|
||||
@@ -93,7 +93,7 @@ export function registerSynthSounds() {
|
||||
frequency,
|
||||
begin,
|
||||
end,
|
||||
freqspread: detune * 0.1,
|
||||
freqspread: detune,
|
||||
voices,
|
||||
panspread,
|
||||
},
|
||||
|
||||
@@ -244,7 +244,7 @@ class SuperSawOscillatorProcessor extends AudioWorkletProcessor {
|
||||
const isOdd = (n & 1) == 1;
|
||||
|
||||
//applies unison "spread" detune in semitones
|
||||
const freq = frequency * Math.pow(2, getUnisonDetune(voices, freqspread, n) / 1.2);
|
||||
const freq = frequency * Math.pow(2, getUnisonDetune(voices, freqspread, n) / 12);
|
||||
let gainL = gain1;
|
||||
let gainR = gain2;
|
||||
// invert right and left gain
|
||||
|
||||
Reference in New Issue
Block a user