Jump to content
IGNORED

[CylobBot] MASAAEOADS # 5: Env Follow

Rate this topic


Recommended Posts

SuperCollider has many UGens* for analysing real-time audio signals. Amplitude is one such UGen, which can act as an envelope follower.The advantages of performing this task digitally are that separate values may be given for the up and down lag (or slew) times, and I can have as many of them as my soundcard has hardware inputs. (Doepfer’s A-119 looks great, but if I want 8 envelope followers, that’s 64 units of rack space and 520 euros down the drain. 8 lines of code is somewhat more economical.)Here is my envelope following patch:

SynthDef(ampToCV, { |audioInBus = 99, outLo = 0.0, outHi = 1.0, lagU = 0.0, lagD = 0.0, audioOutBus = 99|var audioIn = SoundIn.ar(audioInBus);var cvOut = Amplitude.ar(audioIn).range(outLo, outHi).lagud(lagU, lagD);Out.ar(audioOutBus, cvOut);}).send(s);

The lag up and down times can actually be provided to the Amplitude UGen directly, but I make the lag explicit as a personal preference.It’s possible that even if you know nothing about programming, you can follow what happens here: an audio input is generated, the amplitude of this input is analysed, a lag is applied and this “signal” is mapped to a new range (perhaps only positive values, or whatever range proves useful.) Then this control signal is sent to a hardware audio out, to be put into the control input of a synth module.Here are some audio demos:The envelope is used to modulate the frequency of a resonating filter: first positively, then negatively:

Env Follow to Frequency, Positive and NegativeThe negative and positive signals are used with two different resonating filters:
Dual Env Follow to FrequencyThe output of one filter additionally modulates a CV input of the other.
Dual Env Follow Frequency ModulationThe envelope is used to control the delay time of the Doepfer A-188-1X BBD module, as the signal is put through its audio input. Various combinations of positive / negative CV control and positive / negative feedback are selected, and the delay time manually adjusted:
Env Follow to BBD Delay TimeFinally, an additional saw is added to this control signal:
Env Follow to BBD plus Saw* (unit generators, or chunks of code which generate, filter or analyse audio)

 

View the full article

WATMM-Records-Signature-Banner-500x80.jpg

 

Follow WATMM on Twitter: @WATMMOfficial

Link to comment
https://forum.watmm.com/topic/74031-cylobbot-masaaeoads-5-env-follow/
Share on other sites

my god no wonder mood bells sucked

  On 2/26/2015 at 9:39 AM, RupturedSouls said:

This drugs makes me feel like I'm on song!

  On 9/1/2014 at 5:50 PM, StephenG said:

I'm hardly a closed minded nun. Remember, I'm on a fucking IDM forum.... an IDM forum.. Think about that for a second before claiming people are closed minded nuns.

  • 4 weeks later...

lol

  On 11/24/2015 at 12:29 PM, Salvatorin said:

I feel there is a baobab tree growing out of my head, its leaves stretch up to the heavens

  

 

 

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   1 Member

×
×