Forums > MaxMSP

adsr~ legato


wak
December 12, 2006 | 11:10 pm

I have discovered what I think is a bug in adsr~ and you can see it in the adsr~ polysynth help patch.

If you turn on voice stealing (steal 1), no sustain limit (maxsustain -1), and legato (legato 1). Then set the release dial to maximum, and attack to 0 (though the dial starts at zero you still need to move it). Now, start metro and bring it down to about 105.

When I do this, the new frequency fails to get thru so the same note is re-triggered.

Can anyone confirm this?

On a semi-related note: the legato function of adsr~ does not function the way I expected it to. I expected when legato is on for adsr~ to skip the attack and decay stages ramping directly to the new sustain level. The way it is currently, an envelope with a longer attack stage is actually made less "legato" by effectively replacing the attack time with the re-trigger time.

-ian


December 13, 2006 | 11:16 am

ian wrote:
> When I do this, the new frequency fails to get thru so the same note
> is re-triggered.
>
> Can anyone confirm this?

Yes I can confirm it misses a lot of frequency changes. The minimum
attack time which needs to be set to have a more expected result is 0.03
milliseconds. This seems to be a bug.

> On a semi-related note: the legato function of adsr~ does not
> function the way I expected it to. I expected when legato is on for
> adsr~ to skip the attack and decay stages ramping directly to the new
> sustain level. The way it is currently, an envelope with a longer
> attack stage is actually made less "legato" by effectively replacing
> the attack time with the re-trigger time.

I completely agree, for backwards compatibility maybe a legato 2 message
to directly move with the decay speed to the sustain level…

(note that "speed" is different than "time")

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com



wak
December 17, 2006 | 5:50 pm

I forgot to include my system info.

1.25GHz G4
OS 10.4.8
Max/MSP 4.6.2


Viewing 3 posts - 1 through 3 (of 3 total)