alles icon indicating copy to clipboard operation
alles copied to clipboard

amy: ADSR envelope for SINE, SAW... doesn't do Attack properly

Open dpwe opened this issue 1 year ago • 1 comments

It looks the Attack segment goes to max amp over the first 5.8ms window, then sits there until the end of the attack segment. It's supposed to ramp up gradually across the entire attack time.

Thus,

alles.send(osc=0, bp0='100,1.0,1000,0.0,0,0.0', bp0_target=alles.TARGET_AMP)
alles.send(osc=0, freq=2000, vel=1)

generates a waveform like this: image

Notice how the envelope is basically rectangular for the first 100ms, before beginning its decay.

dpwe avatar Jun 24 '23 21:06 dpwe