-
... lots the spectrum at any position in a sound file (only reads one channel). Displays the spectrogram of a selected segment of a sound file. Be careful not to select a very long segment or it will take very long to calculate and display (a ...
-
... n be turned off at end of synth currentRoutine = Routine.new({ currentSynth = { PlayBuf.ar( numChannels: channels, bufnum: buffer, rate: BufRateScale.kr(buffer), doneAction: 2 ) }.play; currentButton = button; (buffer.duration).wait; // cle ...
-
... d, which , \on).value = vel; 0.01.wait; k.elAt(\pad, which , \off).value = 0; }.play; }; Tdef(\player, { var p; inf.do{|i| (i % 4 == 0).if({ p = 0; },{ p = 6.rand; }); m.(p, 1.0.rand); 0.125.wait } }).play k.elAt(\pad, 1).value = 1 ****/ ( ...
-
... d robin d1 $ sound "fooloopRec" -- stop recording and replacing d1 $ silence -- play recorded loop 3 (bufnamePrefix++counter) d5 $ sound "fooloop3" # gain "0.7" -- reset buffers. once $ sound "fooloopReset" */ ( var functions = (); // make ...
-
... freq2: Prand([4,5], inf), freq3: Prand([8,12], inf) ]).play; )
-
... ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.2.wait; }) }).play; )
-
... 0,30)).states_([[i], [i, Color.black, Color.green]]) .action_({ q.chantest.pink.play(i - 1) }); }; q.chantest.taskgui = TdefGui(q.chantest.task, 4, q.chantest.win); q.chantest.taskgui.name = "looptest"; q.chantest.pinkgui = NdefGui(q.chante ...
-
... out" , { arg bufnum; DiskOut .ar(bufnum, In .ar(0,2)); }).send(s); // this will play it back SynthDef ( "help-Diskin-2chan" , { arg bufnum = 0; Out .ar(0, DiskIn .ar(2, bufnum)); }).send(s); ) Object Style: // start something to record x = ...
-
... {st_size = [0.5, 0.25, 0.125].choose; sel = 2} ))); ~dur.wait; }); }).play; ~t = Task({ inf.do({ len = rrand(2,3); sh.set(\pitch, pitch); Synth(\sampler, [\g_size, size, \sel_stream ,sel, \buff, buff, \pos, rrand ...
-
//agents playing game-of-life. objects are neightbours if they touch //standard rule modified to also include: if no neighbours then become alive //with mouse controlling world gravity //with sound on/off ( s.waitForBoot{ var width= 300, he ...