Merge branch 'main' into 909bd

This commit is contained in:
daslyfe 2025-08-02 03:24:29 +02:00
commit 5d829419ba
5 changed files with 168 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'];
function makeSaturationCurve(amount, n_samples) {
const k = typeof amount === 'number' ? amount : 50;