add missing controls

This commit is contained in:
Felix Roos 2023-09-08 01:41:11 +02:00
parent e2711ba911
commit 75a974643b
2 changed files with 13 additions and 1 deletions

View File

@ -377,6 +377,19 @@ const generic_params = [
*
*/
[['cutoff', 'resonance'], 'ctf', 'lpf', 'lp'],
['fenv'],
['lpattack', 'lpa'],
['lpdecay', 'lpd'],
['lpsustain', 'lps'],
['lprelease', 'lpr'],
['hpattack', 'hpa'],
['hpdecay', 'hpd'],
['hpsustain', 'hps'],
['hprelease', 'hpr'],
['bpattack', 'bpa'],
['bpdecay', 'bpd'],
['bpsustain', 'bps'],
['bprelease', 'bpr'],
/**
* Applies the cutoff frequency of the **h**igh-**p**ass **f**ilter.
*

View File

@ -255,7 +255,6 @@ export const superdough = async (value, deadline, hapDuration) => {
chain.push(gainNode(gain));
if (cutoff !== undefined) {
console.log('lpattack', lpattack);
let lp = () =>
createFilter(ac, 'lowpass', cutoff, resonance, lpattack, lpdecay, lpsustain, lprelease, fenv, t, t + hapDuration);
chain.push(lp());