-
... rray {|array| ^array.collect{|x| this.encodeValue(x)}.flat; } //--positive edge clock (1= flip) encode {|bits| ^bits.collect{|x| [1-phase, phase= 1-x.bitXor(phase)]; }.flat; } } RedDifferentialManchesterCodeNegative : RedDifferentialManches ...
-
// hybrid: clock and server at a time. // maybe should be subclass of server Renderer : Clock { var <>lifeTime, <>options, <threadBeats; var <>score; var <nodeAllocator; var <controlBusAllocator; var <audioBusAllocator; var <bufferAllocator ...
-
... call window commands for blocks: blk, pl/lp, in, st, pn, metro, record buffers, clock/bpm. // Part of the Radicles class: the class and its variables are in Radicles.sc. + Radicles { *loadBlkCmds { this.prBlockCmds; this.prPlayCmds; this.pr ...
-
... (bundle); // bugfix: wake up mapped audio rate proxies bundle.schedSend(server, clock ? TempoClock.default, quant); } { loaded = false; } } } + Ndef { *new { | key, object | // key may be simply a symbol, or an association of a symbol and a ...
-
//Kuramoto model visualized as clocks ( var width= 500, height= 500, w, world, n= 12; //--world w= RedWindow("phase coupled oscillators - clocks", Rect(0, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], nil, inf, 0); ...
-
... ) } }; ~asPattern = { Prout(e { |inval| ~embedInStream.(inval) }) }; ~play = { |clock, protoEvent, quant| ~asPattern.().play(clock, protoEvent, quant) }; } => PR(\psetp2); // process prototypes // start with the abstract Proto({ // environm ...
-
... all available songs //--don't press cmd+. during the example. it will stop the clocks s.boot; ( //set up first song RedGrandMst .song= 'fast' ; //set song name RedMst .clear; RedMst .clock= TempoClock (150/60); RedMst .quant= 2; SynthDef ( ...
-
... ent } } // this should be used ONLY for event patterns that will be played on a clock // streams may terminate prematurely if you use this in other contexts // this is a workaround until I find a better solution // and, to make a workaround ...
-
... .stop; reply.value; }, clear: {|reply| RedMst.clear; reply.value; }, //tracks //clock //clock_ quant: {|reply| reply.value(RedMst.quant); }, quant_: {|reply, val| RedMst.quant= val; reply.value; }, section: {|reply| reply.value(RedMst.secti ...
-
... Voicer.release voicer.lastFreqs.add(freq); lastTrigger = thisThread.seconds; // clock.beats2secs(thisThread.clock.beats); isPlaying = true; isReleasing = false; } { reserved = false; } } // triggerByEvent { |freq, gate(1), args, latency, le ...