Created
June 17, 2016 20:38
-
-
Save tedthetrumpet/a71d88b268d3bc2125242552dc1fd254 to your computer and use it in GitHub Desktop.
For fun, layering this over the top of the Sheffield Algorave stream going on right now
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
Ndef(\formant, { |freq = 261.6255653006, formfreq = 463, bwfreq = 200, gate = 1, amp = 0.1| | |
var env = EnvGen.kr(Env.adsr(), gate, doneAction:2); | |
var sig = Formant.ar(freq * ((-1..1)/500 + 1), formfreq * env.range(0.01,2), bwfreq); | |
sig = sig * env; | |
sig = Splay.ar(sig) | |
}) | |
) | |
Ndef(\formant).play | |
Ndef(\formant).set(\freq, 30.midicps) | |
Ndef(\formant).map(\formfreq, Ndef(\l)) | |
Ndef(\formant).map(\freq, Ndef(\l2)) | |
Ndef(\l, {LFNoise1.kr(1/10).range(300,1000)}) | |
Ndef(\l2, {LFNoise0.kr(4).range(30.midicps,55.midicps)}) | |
Ndef(\formant).stop(10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment