-
... ; OffsetOut .ar(out, sig); }, [ \ir , \ir , \ir , \ir ]).send(s); ) ( Routine { loop { s.sendBundle(0.2, [9, \Help_Subsample_Grain , -1, 1, 1, \freq , 1000]); rrand(0.001, 0.002).wait; } }.play; )
-
... (0.3); // record some PinkNoise RecordBuf.ar(noise, bufnum); // by default this loops }).play(s,[\out, 0, \bufnum, b]); ) // free the record synth after a few seconds x.free; // play it back ( SynthDef("tutorial-playback",{ arg out=0,bufnum ...
-
... S m = MKtl('captain', "captain-midi") m.gui; // Test outputs Tdef(\outTester, { loop{ var out = ['a', 'b', 'c', 'd'].choose; var val = rrand(0.0,1.0); "Setting output % to %".format(out, val).postln; m.elAt('out', out).value_(val); 0.125.wa ...
-
... ster. float freqmul = unit->mFreqMul; double phase = unit->mPhase; // perform a loop for the number of samples in the control period. // If this unit is audio rate then inNumSamples will be 64 or whatever // the block size is. If this unit ...
-
... e[ \return ] = true; /* pos = countStream.value( pos ); playRoutine = Routine({ loop { pos = countStream.value; { window.refresh }.defer; step.wait; } }); playRoutine.play; */ }; } { stop.bounds.containsPoint( x@y ) } { if( active[ \play ] ...
-
... Pan.qtz"; m.resize = 5; m.start; ) s.boot; // use mouse to set pan position ( { loop({ { Pan2.ar(Saw.ar(mul: 0.1) * EnvGen.ar(Env.perc, timeScale: 4, doneAction: Done.freeSelf), m.x_pos) }.play; 1.wait; }); }.fork(AppClock); ) ////////// So ...
-
... ay ( fork{ // this is going to be a convoluted step seq var i = 0; loop{ var tempo, step; tempo = [ (3,5..21).reciprocal.choose, 1/11, 1/7, 1/5, 1 ].wchoose([0.1,17,0.4,0.3,0.25].normalizeSum); ...
-
... if{ a.string= " Current Frequency: " ++v.round(0.01)}; }.defer} ); 0.01.wait; }.loop }.play }); CmdPeriod .doOnce({w.close}); w.onClose={r.stop; q.free; b.free }; //clean up if the window closes ) // dynamic text ( w = Window .new.front; w. ...
-
... :2 ); playGrain = PlayBuf.ar(~hoaNumChannels.asInteger, buffer, startPos:start, loop:1 ) * env; monoBeam = HOABeamHCard2Mono.ar(~order.asInteger, playGrain, az, el); reDirect = HOAEncoder.ar(~order.asInteger, monoBeam, az, el); OffsetOut.ar ...
-
... ].postln; Synth(\sinGrain, [\out, chan, \freq, freq, \dur, 0.005]); 0.1.wait; }.loop; }); TempoClock.default.schedAbs(TempoClock.default.elapsedBeats.roundUp(1), rout); }); ⧉ ✔ This is the output: Left channel Right channel Logical vs Physi ...