-
... gumentStack = nil; } ) } // schedule relative to a time grid sched { |func| var clock = TempoClock.default; if(quant.isNil) { func.value } { clock.schedAbs( clock.nextTimeOnGrid(quant), { func.value; nil } ) } } //////////////////////////// ...
-
... he server has sent an alive message MixerChannelDef.sendSynthDefs(obj); }, { AppClock.sched(5, { obj.serverRunning.not.if({ // free all channels associated with this server this.servers[obj].tryPerform(\values).do({ |mc| mc.free }); }); }); ...
-
... onstructor) switch(changer) { \serverRunning } { if(obj.serverRunning.not) { AppClock.sched(5, { obj.serverRunning.not.if({ // free all channels associated with this server this.servers[obj].tryPerform(\values).do({ |mc| mc.free }); }); }); ...
-
... ** Listing 2. A quick techno-ish drumset. **************/ \loadAllCl.eval; TempoClock.tempo = 124/60; /hh.(\hardhh); /hhh = ".-.-.-.-"; /hhh+ /drum.(\tightsnr); /tsn = " - -"; /tsn+ /drum.(\deepkick); /dk = "o| o| _o |"; /dk+ // mixing boar ...
-
... edMixGUI(~redMixStereo); }, ['redSys', 'RedTapTempoGUI'], { RedTapTempoGUI(TempoClock(1)); //or which clock to use? }, ['redSys', 'RedTempoClockGUI'], { RedTempoClockGUI.new; }, ['redSys', 'RedTest'], { RedTest.openHelpFile; }, ['redSys', ' ...
-
... / value pairs for the HSpar synth(s). latency - SimpleNumber (seconds). asTask(clock, quant, hsStop, hsPlay, switchStop, newEnvir, removeCtrWithCmdPeriod) Returns a wrapper Task, which may be passed to a VarGui object. Playing and stopping ...
-
... I ..."); 1.wait; NTMI.g.setFrontText("..."); "*** nanoKtl DEMO done!".postln }).clock_(AppClock); )
-
... \ffreq.kr(4000)); Out.ar(out, Pan2.ar(sig, \pos.kr(0.0))); }).add; ) ( t = TempoClock.default; t.tempo = 130/60.0; ) ( q[\pattern] = ( hhX: 0.1, hhY: 0.2, hhT: 0.6, kX: 0.2, kY: 0.2, kT: 0.7, sdX: 0.2, sdY: 0.4, sdT: 0.6, ); w = Window("SC ...
-
... "not playing".warn } { player.resume } } play { |startTime = 0, endTime = inf, clock, timeStep = 0.1| this.stop; player = Task { var next, dt; this.jumpTo(startTime); while { next = this.getNextBreakpoint(currentTime); currentTime < endTim ...
-
... , doneAction: 2)); }).add; ) // HelpSynth definition, values between 0 and 1 // Clock and Quant for syncing ( h = HS (s, { LFTri .kr(0.5, mul: 0.5, add: 0.5) }); c = TempoClock .new; q = 0.2; ) // help synth values for pitch and synth arg \ ...