kyma•tweaky . How . ReverseEnvelope

Question (or Task)

How can one have an envelope running in reverse with just a simple toggle? I expect a behavior that reverses the timing of the envelope, running from end to start and not a (1 - Output of Envelope). It should also be done with an ADSR and not the GraphicalEnvelope, since I want to have hot parameters.

-- MichaelStrohmann - 09 Nov 2003

Solution(s)

One idea would be to use an ADSR envelope with the AttackTime parameter set to

((1 - !Reverse) * !Attack s) + (!Reverse * !Release s)

and the ReleaseTime parameter set to

((1 - !Reverse) * !Release s) + (!Reverse * !Attack s)

This causes the ADSR to use !Attack and !Release for the attack and release times when !Reverse is not on, and the reverse when !Reverse is on.

-- KurtHebel - 11 Nov 2003

WebForm
Question: How do I reverse an envelope using a simple toggle?
Keywords: envelope, reverse

----- Revision r1.2 - 11 Nov 2003 - 22:11 GMT - KurtHebel
Copyright © 1999-2014 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding kyma•tweaky? Send feedback.