-
... ( Ndef(\xxx, { |freq = 200| BPF.ar( WhiteNoise.ar(0.3 ! 2) + GrayNoise.ar(0.2), XLine.kr(0.5, 1, 4) * freq.lagud([1, 0.2, 0.5], [0.2, 0.6, 0.3]) * [[1, 1.2, 1.5]], 0.01 ).flop.sum }).play; ); ( Tdef(\xtest, { loop { Ndef(\xxx).set(\freq, 60 ...
-
... n = 0; var snd, env; snd = Ringz.ar( in: Impulse.ar(0), // single impulse freq: XLine.ar(freq1, freq2, 0.1), decaytime: ringTime); env = Env.perc(att, rel, amp).kr(doneAction: 2); snd = (1.0 - dist) * snd + (dist * (snd.distort)); snd = snd ...
-
... Noise2 { LFNoise0 .ar(1000, 0.25) }.play; // modulate frequency { LFNoise0 .ar( XLine .kr(1000, 10000, 10), 0.25) }.play; // as frequency modulator ( { SinOsc .ar( LFNoise0 .ar(4, 400, 450), 0, 0.2 ) }.play; ) // freq is the rate of startin ...
-
... synthdef. ( SynthDef(\ghk, { |freq, out, sustain| Out.ar(out, SinOsc.ar(freq) * XLine.kr(1, 0.01, sustain, doneAction:2)) }).send; )
-
... Noise2 { LFNoise1 .ar(1000, 0.25) }.play; // modulate frequency { LFNoise1 .ar( XLine .kr(1000, 10000, 10), 0.25) }.play; // as frequency modulator ( { SinOsc .ar( LFNoise1 .ar(4, 400, 450), 0, 0.2 ) }.play; ) // freq is the rate of startin ...
-
... = 0.5, sinfreq = 1000, glissf = 0.001, att = 0.01, rel = 0.9; var gliss = XLine.kr(sinfreq, sinfreq*glissf, rel); var snd = SinOsc.ar(gliss); var env = EnvGen.kr(Env.perc(att, rel), doneAction: 2); snd = snd * env * amp ...
-
... WhiteNoise .ar(0.005), 2000, 0.95) }.play { TwoPole .ar( WhiteNoise .ar(0.005), XLine .kr(800,8000,8), 0.95) }.play { TwoPole .ar( WhiteNoise .ar(0.005), MouseX .kr(800,8000,1), 0.95) }.play
-
... offset in cycles ( 0..1 ) { Impulse .ar(800, 0.0, 0.5, 0) }.play { Impulse .ar( XLine .kr(800,100,5), 0.0, 0.5, 0) }.play modulate phase: { Impulse .ar(4, [0, MouseX .kr(0, 1)], 0.2) }.play; an Impulse with frequency 0 returns a single impu ...
-
... { Formlet.ar(Impulse.ar(20, 0.5), 1000, 0.01, 0.1) }.play; { Formlet.ar(Blip.ar(XLine.kr(10, 400, 8), 1000, 0.1), 1000, 0.01, 0.1) }.play; ( // modulating formant frequency { var in; in = Blip.ar(SinOsc.kr(5, 0, 20, 300), 1000, 0.1); Formle ...
-
... instance methods . signalRange Examples ( play({ SinOsc.ar((ToggleFF.ar(Dust.ar(XLine.kr(1, 1000, 60))) * 400) + 800, 0, 0.1) })) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/ToggleFF.schelp link::Classes/ToggleFF: ...