mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-04 22:52:55 -04:00
use 0.001 as linear mintime as well (to prevent cracks)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user