Saturday 29 December 2012

Follow

Follow is a processor for following the volume envelope of a signal.

(?signal,50,50)Follow !envelope

In the above example, an envelope is created using a rise (attack) and fall (release) time of 50 milliseconds. The first number is the rise and the second the fall.

An envelope is a signal which moves between 0 (for silence) and X (the loudest part of the incoming signal).

One issue with envelopes is that they should not be normalised because their common mode of operation is for the entire envelope to be above zero. The following patch sets an envelope to be between 0 and 1.

((1,?envelope MaxValue)/,>envelope)DirectMix !envelope

Please note that the above will fail if the envelope is silence.

Dividing a signal by its envelope will compress the volume range.

Multiplying a signal by its envelope will expand the volume range.

No comments:

Post a Comment