-
... ance's default clock, used by -play if no other clock is specified. Defaults to TempoClock.default. . quant . quant = val From superclass: PatternProxy get or set the quantization value. can be a pair [quant, offset] . condition . condition ...
-
... ethods Examples //--simple example ( s.waitForBoot{ RedMst.clear; RedMst.clock= TempoClock(140/60); RedMst.quant= 8; RedMstGUI2(20); RedTrk( \bass, Pbind(\degree, Pseq([0, 5], inf), \octave, 4), #[0, 1, 2, 3] ); RedTrk( \melody, Pbind(\degr ...
-
... ethods Examples //--simple example ( s.waitForBoot{ RedMst.clear; RedMst.clock= TempoClock(140/60); RedMst.quant= 8; RedMstGUI3(20); RedTrk( \bass, Pbind(\degree, Pseq([0, 5], inf), \octave, 4), #[0, 1, 2, 3] ); RedTrk( \melody, Pbind(\degr ...
-
... eat] play stop pause resume //-- ( s.waitForBoot{ RedMst .clear; RedMst .clock= TempoClock (190/60); RedMst .quant= 4; RedTrk ( \intro , Pbind ( \degree , Pseq ([0, 4], inf )), #[0]); RedTrk ( \a , Pbind ( \degree , Pseq ([1, 4], inf )), #[ ...
-
... unc; var midiFuncRegister; *new { ^super.new.init; } *initClass { globalClock = TempoClock(120/60, queueSize: 2048 * 2).permanent_(true); } init { super.init; clock = TempoClock(120/60, queueSize: 2048 * 2).permanent_(true); timelineRegiste ...
-
... t, msg; var tempo, beats, timeToNextBeat; var remoteQuant = msg[2..]; var tc = TempoClock.default; timeToNextBeat = tc.timeToNextBeat(remoteQuant); collective.sendToName(msg[1], '/setClock', tc.tempo, tc.beats, timeToNextBeat, Main.elapsed ...
-
TempoClockGui : ObjectGui { // displays current status of a tempoclock; updates every beat classvar namewidth = 100, nameheight = 18, numheight = 40, numwidth = 70, height = 50, width = 600, spec; var <w, <name, <namev, <bars, <beats, updat ...
-
sclang fun ) ( // whatever Ndef(\ff_twist, { var tempo = 156/60;//TempoClock.tempo; var bands = 4.rrand(16).debug('bands'); var sync = bands.factors.scramble.pop.debug('sync'); var gen = [LFNoise1,LFNoise2,LFNoise0]; var sig = Sp ...
-
\ \ SoftClock : TempoClock \\ \ var <dt = 0.1, <>verbose = false ;\ var fadeTask, fading= false , isPlaying= true ;\ var <rateOfChange = 1.0;\ \ tempo_ \ arg newTempo;\ newTempo = max(newTempo, 1e-256); // zero not allowed. \ rateOfChange = ...
-
... this song. // Crystal Waters "Gypsy Woman (She's Homeless)" - chords ( ~bpm = TempoClock.new(120/60); Pbind( \midinote, Pseq([ Pn([45, 57, 67, 72, 76], 2), Pn([46, 58, 69, 74, 77], 3), Pn([43, 55, 67, 70, 74, 77], 2), Pn([ ...