This commit is contained in:
Jade (Rose) Rowland 2025-07-24 23:50:27 -04:00
parent ab12c6ae0a
commit fb7d76a2ab
5 changed files with 97 additions and 5 deletions

View file

@ -9,6 +9,7 @@ import {
getVibratoOscillator,
webAudioTimeout,
getWorklet,
noises,
} from './helpers.mjs';
import { getNoiseMix, getNoiseOscillator } from './noise.mjs';
@ -40,7 +41,6 @@ const waveformAliases = [
['saw', 'sawtooth'],
['sin', 'sine'],
];
const noises = ['pink', 'white', 'brown', 'crackle'];
export function registerSynthSounds() {
[...waveforms].forEach((s) => {