use 0.001 as linear mintime as well (to prevent cracks)
This commit is contained in:
parent
c68dba8c21
commit
f26fd18c7a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue