Here's (perhaps) a weird one:
Imagine you're using MXXX to create a midi triggered ducking envelope effect, like in Xfer LFO Tool or Cableguys VolumeShaper. So, not a fixed length (of one bar or whatever) but just every time the midi trigger comes in, it fires off your envelope, which is controlling, say, volume.
Now, normally an envelope works like this:
Attack will trigger at a certain initial value, let's say 0% volume in this case.
You then let it increase in the envelope over the next 2 seconds to 100%.
Now, here's the problem: if you re-trigger the envelope within that 2 seconds, you'll get a click. Because the envelope doesn't care or look at the current volume at the moment of the new attack. So if, after 1 second, the volume is at 50%, then a new trigger will instantaneously bring the volume back to the start level of the attack (0%).
So what i'm thinking is this: one needs a sort of "pre"-attack segment of the envelope, that will look at the current value of modulation at the moment of the new attack, and transition from that level to the initial attack value over a user defined amount of time, say 100ms or 1ms or whatever.
Another way to describe this would be as a sort of "portamento" time (and curve) from the current value to the initial value.
Haha, clear as mud i'm sure, i'm curious if anyone knows what the hell i'm talking about!

