-
... q=30| a_in * LFSaw .ar(freq.neg).max(0) }; // some sources ~x1 = { LFPulse .kr( SinOsc .kr(0.2).exprange(2, 200)) * PinkNoise .ar(0.5.dup) }; ~x2 = { Dust .ar( SinOsc .kr(0.2, [0, pi]).exprange(2, 2000)) }; // the output ~out.play; ~out = { ...
-
... ear ), // bw 0.1); // mul }.play) z.release; ( z = { // drill... BBandStop .ar( SinOsc .ar(1000) ! 2, MouseX .kr(800,1200, \exponential ), MouseY .kr(0.0, 10.0, \linear ), // bw 0.1); // mul }.play) z.release; ( z = { // nada BBandStop .ar( ...
-
... er s = Server .internal; s.boot; ) ( SynthDef ( "help-SharedIn1" , { Out .ar(0, SinOsc .ar( Lag .kr( SharedIn .kr(0, 1), 0.01), 0, 0.2)); }).send(s); SynthDef ( "help-SharedIn2" , { Out .ar(1, SinOsc .ar( Lag .kr( SharedIn .kr(0, 1), 0.01, ...
-
... e is set, it derives its bus arguments from that input ~x = { Array .fill(14, { SinOsc .kr(1.0.rand, 0, 100) }) }; //~x is now 14 channels control rate ~x; in order to reset these properties, clear is used: ~x.clear; //note that no other pr ...
-
s.waitForBoot { { SinOsc .ar( EnvGen .kr( Env ([440, 440, 324, 10000], [4, 2, 1], \exp ), doneAction:2)) * 0.1 }.play }
-
... other editors. Synthesizing sound To run (evaluate) one line of code, such as { SinOsc .ar([400, 401], 0, 0.1) * Saw .ar([11, 33], 1) * EnvGen .kr( Env .sine(10)) }.play first make sure that the localhost server is booted. Then put the curs ...
-
... duration of the trigger output. (Default 0.1) { Trig1 .ar( Dust .ar(1), 0.2) * FSinOsc .ar(800, 0, 0.5) }.play To create a fixed duration gate ( SynthDef ( "trig1" ,{ arg dt = 0.125; var gate; gate = Trig1 .kr(1.0, dt); Offset Out .ar(0, Si ...
-
... ; h = MouseY .kr(0.0001, 0.001, 1); g = LFNoise1 .kr(0.1, 3, 5); f = TBall .ar( SinOsc .ar(fr), g, 0.1, h); Pan2.ar( Ringz .ar(f, 1400, 0.04),0,5) }.play; ) // sine frequency rate is modulated with a slow sine // mouse y controls friction / ...
-
... n 0 and 24 // carPartial :: modPartial => car/mod ratio var mod; var car; mod = SinOsc .ar( freq * modPartial, 0, freq * index * LFNoise1 .kr(5.reciprocal).abs ); car = SinOsc .ar( (freq * carPartial) + mod, 0, mul ); Out .ar( bus, car ) }) ...
-
... l) pan - -1 .. 1 ( SynthDef ( "help-XFade2" , { Out .ar(0, XFade2 .ar( Saw .ar, SinOsc .ar , LFTri .kr(0.1), 0.1 )); }).play )