-
// GLOBOL 2009 : EVERYTHING, EVERYWHERE, ALL THE TIME // GLOBOL.run A = { SINOSC:AR(B) * 0.2 } B = 340 A:? B = 1240 C = 5; B = { SAW:AR(C) * 400 + 800 } C = [3, 5.41] D = 700 B = { AR(LFSAW, C) * D + 1800 } D = [200, 300] C = [9, 7, 23, 1, ...
-
( Alga.boot({ //Pattern to modify a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1) * 0.1 }, dur: 0.5 )).play(chans:2); //Metronome b = AP(( def: { EnvPerc.ar(release: SampleDur.ir); Impulse.ar(0) }, dur: 1 )).play(chans:2); }) ) //Using ...
-
... sfBuffer ) Render a function to disk in the same way as Function:play works. { SinOsc .ar( 550, 0, 0.1 ) }.render( "~/Desktop/testSine550.aif" , 5 ); ( // use sfBuffer argument to input a soundfile buffer, to be loaded by the NRT server b ...
-
... rds as a test ( { var in, fft, resample; var key, transientdetection; in= Mix ( SinOsc .ar((60+[0, MouseX .kr(3,4).round(1),7]).midicps,0,0.1)); //major dom 7 and minor 7; major keys preferred here //in= Mix(SinOsc.ar((60+(MouseY.kr(0,11).r ...
-
... o handle the doneAction var sine = [//Div by 3 to avoid clipping Pan2.ar(SinOsc.ar(freq0, phase0 * 2pi, amp0) * EnvGen.ar(Env.adsr(attack0, decay0, sustain0, release0), gate), pan0) / 3, Pan2.ar(SinOsc.ar(freq1, phase0 * 2pi, amp ...
-
... , releaseTime: 5, level: amp*relativeAmps).kr(doneAction:2); snd = SinOsc.ar( freq: freq*partials, mul: env ); snd = Mix.ar(snd); Out.ar(0, snd * 0.1 ! 2); }).add; ) //Test your "bel ...
-
... tart both synths synchronously ( s.makeBundle(nil, { // nil executes ASAP y = { SinOsc.kr(0.2).abs }.play(x, 0, 0, \addBefore); // sine envelope }, b); ) x.free; y.free; ⧉ ✔ To send a bundle with the default latency of the server, use the m ...
-
... , amp= 1, pan= 0| var z, e; e= EnvGen.ar(Env.perc(0.01, dur), doneAction:2); z= SinOsc.ar(freq, SinOsc.ar(XLine.ar(freq2, 1, dur), 0, pi), amp)+ClipNoise.ar(e*0.001); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("r ...
-
... , amp= 1, pan= 0| var z, e; e= EnvGen.ar(Env.perc(0.01, dur), doneAction:2); z= SinOsc.ar(freq, SinOsc.ar(XLine.ar(freq2, 1, dur), 0, pi), amp)+ClipNoise.ar(e*0.001); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("r ...
-
... terOutLevels' ] ); s.sendBundle(0.2, *b ); // and start x = { PrivateOut.ar( 0, SinOsc.ar(440) ) }.play( addAction: \addToHead ); // make an input sound; p.set( \u_gain, 40 ); // make audible on computer speakers (don't do this on wfs!!) p. ...