mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 14:26:58 -04:00
add missing controls
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user