Saturday, 3 April 2010

5 - Amp Envelope

Amplitude now follows an envelope. It is placed before the volume control so that the overall output of the voice can be controlled after the envelope.

The envelope is a 'function' object, connected to its input is a number which is passed through a message box. The message contains the argument, 'setdomain $1' which will set the length of the envelope to the time specified in the number box in milliseconds. The output of the envelope can be viewed in the number box below it, observe as the note duration is changed.

To trigger the envelope, a bang message is sent to it from the QWERTY patcher whenever a note is played.

No comments:

Post a Comment