-
... it { | stream, event | player = EventStreamPlayer(stream, event); } play { | argClock, doReset = false, quant | player.play(argClock ? player.clock, doReset, quant) } stop { player.stop } reset { player.reset } //Stops and remove all action ...
-
// maainstage clock and gui /////// Clock display shows how long something has been running /* Tdef(\clocK).gui; Tdef(\clocK).set(\isRunning, true); // jumps back to zero when stopped Tdef(\clocK).set(\isRunning, false); // watch some Tdef ...
-
( ~server = SCLOrkClockServer.new; SCLOrkClock.startSync("127.0.0.1"); ) ( ~clock = SCLOrkClock.new; ~clock.setTempoAtBeat(3.0, 32.0); ~clock.setTempoAtBeat(0.5, 64.0); ~clock.setTempoAtBeat(1.0, 48.0); ) ( ~clock.tempo = 2.0; ) ( ~clock2 = ...
-
... et).end_(end) } embedInStream { arg inval; var distanceFromGong, gonganDur; var clock, outval; var stream = pattern.asStream; while { outval = stream.next(inval); outval.notNil } { if(outval.at(\doSuwuk) === true) { gonganDur = outval.at(\g ...
-
... Phrase, function is placed in an Event for later rendering, via BBCutBlock and clock CutFunc : CutSynth { var <>cutfunc, <>blockfunc, <>phrasefunc, <>compensate; *new { arg cutfunc, blockfunc, phrasefunc, compensate=0.0; ^super.new.cutfunc ...
-
SCLOrkClockView : View { var clock; var beatFlasherView; var beatsLabel; var barLabel; var tempoLabel; var meterLabel; *new { | parent, clock | ^super.new(parent).init(clock); } init { | clock | this.layout = VLayout.new( HLayout.new( Stati ...
-
//Inspired by http://sccode.org/1-5fG#c992 ( Alga.boot({ ~change_clock_tempo = {|clock, tempo, beats=1| beats.do {|beat| var stepTempo = beat.linexp(0, beats-1, clock.tempo, tempo); clock.schedAbs(clock.nextBar + beat, { "New Tempo: ".post; ...
-
... PHelpSynthUsePlayer { *new { arg pHelpSynth; ^super.new(pHelpSynth); } play { |clock, quant, hsPlay = true, pbindPlay = true, quantBufferTime = 0.2| var startQuant, demandQuant, receiveQuant, thisClock = clock ?? TempoClock.default, adaptQ ...
-
SCLOrkClock Design Document: Filter: Requirements Clock Client Design Clock Creation Computation of Clock Current State Propagating Clock Changes Server Design Time Synchronization Server Wire Command Reference /clockRegister - needs to be ...
-
When sending MIDI clock out at a fast tempo, there may be fewer than 10 ms between clock ticks. If you're sending the clock messages from the same sclang that is sequencing musical events, any unexpectedly long-running sclang activity could ...