mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 21:58:37 +00:00
use 0.001 as linear mintime as well (to prevent cracks)
This commit is contained in:
parent
c68dba8c21
commit
f26fd18c7a
@ -86,7 +86,7 @@ export function getCompressor(ac, threshold, ratio, knee, attack, release) {
|
||||
// ex: sound(val).decay(val) will behave as a decay only envelope. sound(val).attack(val).decay(val) will behave like an "ad" env, etc.
|
||||
|
||||
export const getADSRValues = (params, curve = 'linear', defaultValues) => {
|
||||
const envmin = curve === 'exponential' ? 0.001 : 0;
|
||||
const envmin = curve === 'exponential' ? 0.001 : 0.001;
|
||||
const releaseMin = 0.01;
|
||||
const envmax = 1;
|
||||
const [a, d, s, r] = params;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user