-
... thDef(\lowvibe, { | out = 0, freq = 110, amp = 0, mini_param = 24 | var snd = SinOsc.ar(freq, 0, mini_param).fold2(1) * 0.2; Out.ar( out, Pan2.ar( snd, 0, amp * 0.75 ) );}); var lizard_synth = SynthDef(\lizard, { | out = 0, freq = 11 ...
-
... 1.0, 0.5, -0.16666666666667, 0.5 ] ] ]; { var ctls= x.collect{|a| a.collect{|b| SinOsc.ar(*b)}}; var mods= y.collect{|a| a.collect{|b| Pulse.ar(*b)}}; var chans= #[0, 1, 2, 4, 5]; (FM7.ar(ctls, mods).slice(chans) * [1, 1, LFSaw.kr(0.1).rang ...
-
... .new; b = CtkScore .new; z = CtkSynthDef ( \test , { arg freq, dur; Out .ar(0, SinOsc .ar(freq, 0, XLine .kr(0.1, 0.0001, dur))) }); t = 0.0; while({ b.add(z.new(t, 0.1).freq_(440).dur_(0.1)); t = t + 0.1; t < 5.0; }); a.add(b); a.saveToFi ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.3), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) Tdef(\x).play; ( Tdef(\x, { loop({ s.sendMsg("/s_new", "pdef_grainlet", -1, 0, 0, \freq, rrand(600, 640)); 0.1.wait; }) }) ) ...
-
... oll.beat_(0); }; }); SynthDef(\GMPercSine, { |freq = 440, amp = 0.25| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; freqs = Scale.at(scale).ratios; fr ...
-
... ef(\singrain, {arg freq, amp, dur, procbus, outbus = 0; Out.ar(outbus, Pan2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2) * In.kr(procbus), // read off the overall env control of the ProcMod Rand(-1.0, 1.0) ) ) ...
-
... + 256.rand]; (5.rand + 1).wait; switch (i, 1, { msgType = \code; contents = "{ SinOsc.ar }.play"; }, 2, { msgType = \shout; }); bot.sendMessage(SCLOrkChatMessage.new( bot.userId, [ 0 ], msgType, contents ) ); (5.rand + 1).wait; }); 1.wait; ...
-
... 25); n.fill(1, 1, 1); n.text("sc3 ++ nodebox", 10, 26); n.fontsize(16); n.text("SinOsc.ar(440)", 282, 289); n.fill(1, 1, 1, 0.05); n.rect(0, 0, 50, 300); n.oval(0, 267, "HEIGHT", 200); n.displayCode } *test1_imageDisplay { var n; n = NB("te ...
-
... {arg ratio; var frequency; frequency = bass * ratio; SinOsc.ar(frequency, 0, amplitude) * AmpCompA.kr(frequency) }.flop.value(full_chord) ); [side, side]; }; ~sound = 0; ~play = { arg ...
-
... 3( \ringmod, \filter -> { |in, randrate=5| in.asArray[0] // force mono inputs * SinOsc.ar(LFNoise0.kr([randrate, randrate]).exprange(300, 3000)).sum }, 0.5, // wet/dry mix of 50/50 [ \randrate, [0.5, 50, \exp] ] ); OFX_Chain.add3( \dist, \f ...