-
... wBasic( path.formatGPath, numFrames, numChannels, sampleRate, start, end, rate, loop ) .useChannels_( useChannels ) } asBufSndFile { ^this.as( BufSndFile ) } fillBufSndFiles { bufSndFiles = this.slices.collect({ |slice,i| this.makeBufSndFil ...
-
... ams as a sequence of pitches var stream, dur; dur = 1/8; stream = Routine.new({ loop({ if (0.5.coin, { // run of fifths: 24.yield; 31.yield; 36.yield; 43.yield; 48.yield; 55.yield; }); rrand(2,5).do({ // varying arpeggio 60.yield; #[63,65]. ...
-
... ~out = { \in.ar(0!2) }; ~out.play(vol: 0.2); ~src = { |a11| PlayBuf.ar(1, a11, loop: 1) }; ~src <>> ~out; p.clear; p.buffers.buffers p.save; p.buffers.asRef(\a11).asControlInput p = JITModPatch.load; d = DebugNetAddr("127.0.0.1", 57110); e ...
-
... // monitor; a.open("xproxySpace.aif"); a.record; a.unpause; ( Routine({ var id; loop({ id = s.nextNodeID; s.sendMsg("/s_new", "default", id, 0, 0, \out, b, \freq, rrand(400, 800)); 0.2.wait; s.sendMsg("/n_set", id, \gate, 0); 0.2.wait; }) } ...
-
... (ossiaAutomation, "Play", Boolean, critical:true, repetition_filter:true); ossiaLoop = OSSIA_Parameter(ossiaAutomation, "Loop", Boolean, critical:true, repetition_filter:true); ossiaTransport = OSSIA_Parameter(ossiaAutomation, "Transport", ...
-
... ntrolIns audioOuts controlOuts canFreeSynth shouldPlayOn doesNotUnderstand rate loop def defName cutStart synths addSynth removeSynth makeSynth makeBundle start free stop resetSynths resetArgs argSpecs getSpec isPlaying printOn getInitArgs ...
-
... vGen.ar(window, doneAction: Done.freeSelf) ) } ).add; ) // send grains ( fork { loop { s.sendBundle(0.1, [\s_new, \pgrain, -1, 1, 1]); 0.02.wait; }; } ) // try different synth defs: // without AmpComp: ( SynthDef("pgrain", { |out = 0, susta ...
-
... .refresh; } }, '/g_queryTree.reply', addr).fix; updateFunc = { updater = fork { loop { this.sendMsg("/g_queryTree", 0, 0); interval.wait; } } }; updateFunc.value; CmdPeriod.add(updateFunc); SystemClock.sched(3, { if(done.not, { actionIfFail ...
-
... }); g=BBCut2(cutsynth,cutproc).play(clock); }); ) ( //fill every 4th bar- plain loop otherwise var sf, clock, cutsynth, cutproc, pseq; pseq=Pseq([0,0,0,1],inf).asStream; clock= ExternalClock(TempoClock(2.7725)); clock.play; Routine.run({ sf ...
-
... xt ++ [ \none ]); }; { var src, val = 0, cchan, nnum; UMIDIDict.start( false ); loop { src = (device.next ++ "*/" ++ port.next ++ "*").asSymbol; cchan = channel.next; nnum = cc.next; val = UMIDIDict.getEvent( src, \cc, cchan, nnum ) ? val; ...