SuperCollider CLASSES (extension)

EnvDetect
ExtensionExtension

Envelope Follower Filter
Inherits from: UGen : AbstractFunction : Object

//SLUGens released under the GNU GPL as extensions for SuperCollider 3, by Nick Collins, http://composerprogrammer.com/index.html 

Description

Code adapted from musicdsp.org for a simple envelope tracking filter.

Class Methods

*ar (in, attack: 100, release: 0)

Arguments:

in

input

attack

attack time in seconds

release

relase time in seconds

Inherited class methods

Instance Methods

Inherited instance methods

Examples

(
SynthDef("help-EnvDetect",{Out.ar(0,Pan2.ar(
SinOsc.ar(440,0,0.3*EnvDetect.ar(LFNoise1.ar(20), MouseX.kr(0.001,0.1,'exponential'), MouseY.kr(0.001,0.1,'exponential'))) 
,0.0))
}).play
)


(
SynthDef("help-EnvDetect",{Out.ar(0,Pan2.ar(
LFSaw.ar(EnvDetect.ar(LFNoise1.ar(11,100,200), MouseX.kr(2,0.0001,'exponential'), MouseY.kr(2,0.0001,'exponential')),0,0.3*EnvDetect.ar(LFSaw.ar(7), MouseX.kr(0.001,1,'exponential'), MouseY.kr(0.001,1,'exponential'))) 
,0.0))
}).play
)