-
... ig,div) }, \TDelay,{ arg trig=0.0,delay=0.1; TDelay.kr(trig,delay) }, // \TDelayBeat,{ arg trig=0.0,beat=0.5; // TDelay.kr( trig, Tempo.beats2secsKr(beat)) // }, ],\trig); Instr([\oscillOrcKr, \ExtendTrig],{ arg trig=0.0,duration=0.25; Trig ...
-
... loop { // tempo is determined by the clock's tempo, we do something between all beats 0.5.wait; state.log(\runner, "Running %".format(name)); mFunc.value(state, this.dt, this); 0.5.wait; }; }); } // start and stop task start { task.play(clo ...
-
... jor scale in quarter notes // uses XMLVoice's internal 'clock' to keep track of beats [58, 60, 62, 63, 65, 67, 69, 70].do({ arg keynum; y.add( XMLNote (keynum, y.now, \e )); y.now_(y.now.ceil); }); // output the XMLScore z.output( "~/Deskto ...
-
... if not gives a red skin will be provided. <>dur how often redraw the window in beats. default= 0.25. which means every 16th note. it uses RedMst.clock. //--simple example ( s.waitForBoot{ RedMst .clear; RedMst .clock= TempoClock (140/60); ...
-
... ights = false; var thisHighlights = nil; var thisHighlightRatio = 0.25; var thisBeat = -1; *new { ^super.new.init; } init { super.init; this.drawFunc_({ this.draw; }); } // Graphical settings minAlpha { ^thisMinAlpha } minAlpha_ { |aNumber| ...
-
... timeToDots; var <note, <prependStrings, <appendStrings, <tuplet, <events; var <>beat, <>measure; *new { ^super.new.initLPEvent; } initLPEvent { prependStrings = []; appendStrings = []; events = [] } addPrependString {arg str; prependStrings ...
-
... babilities; var thisSymbol = \circle; var thisSymbolRatio = 0.8; var thisCurrentBeat = -1; var thisDisplayHighlights = true; var thisHighlights; var thisCurrentIndex = -1; var thisAllowMouseMoveAction = true; var thisActionMode = \values; * ...
-
... LogicalTime, counter = 0; repeats.value.do { saveLogicalTime = thisThread.clock.beats; event = pattern.embedInStream(event); if(thisThread.clock.beats == saveLogicalTime) { counter = counter + 1; if(counter > maxNull) { ^event }; } { // one ...
-
... = Line.kr(start: freq * ratio, end: freq, dur: glide); freq = freq * vib; //See beatings.scd for help with dtune snd = Saw.ar([freq, freq * (1 + dtune)], mul: env * amp); snd = Mix.ar(snd); //Sending it through an LPF: (Keep ffreq below nyq ...
-
... lights = false; var thisHighlights = nil; var thisHighlightRatio = 0.5; var thisBeat = -1; *new { ^super.new.init; } init { super.init; this.drawFunc_({ this.draw; }); } // Graphical settings symbol { ^thisSymbol } symbol_ { |aSymbol| thisS ...