mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 21:58:31 +00:00
add missing controls
This commit is contained in:
parent
e2711ba911
commit
75a974643b
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user