-
... palettes. Note however, that the color assigned to the first Button state will beat the red color defined in the palette, and that colors of individual ListView items are not controlled by the palette. ( x = QPalette.auto(Color.red(0.8), C ...
-
... @elgiano in https://github.com/supercollider/supercollider/pull/6773 LinkClock beats/secs conversion traps 'inf' by @jamshark70 in https://github.com/supercollider/supercollider/pull/6356 Fix SequenceableCollection -unixCmd on Windows by @ ...
-
... ed(\amp, amp, source); } curTime { var time; if(isPlaying, { try { time = clock.beats; } }); time = time ?? startTime; //if getting from the clock failed, revert to startTime ^time; } startTime_ {arg newStartTime; newStartTime !? {startTime ...
-
... { arg freq = 440, amp = 0.2, pan = 0, att = 0.01, rel = 0.1, gate = 1, spacing, beatFactor = 1; var snd1, snd2, snd, env1, env2, beatings; // variables snd, env env1 = Env.adsr( attackTime: att, decayTime: 0.2, sustainLe ...
-
... Embeds this Env within an enclosing Stream . Timing is derived from thisThread.beats . . asStream Creates a Routine and embeds the Env in it. This allows the Env to function as a Stream . Discussion: ( { e = Env.sine.asStream; 5.do({ e.nex ...
-
... f(\y, Ndef(\x)); ( c = Ndef(\x).clock ? TempoClock.default; c.sched(c.timeToNextBeat(4, 0.1), { Ndef(\x, { DC.ar([0, 0, 0]) }); (Ndef(\y).bus != b).postln; (b.index != nil).postln; }); fork { 1.wait; c.sched(c.timeToNextBeat(4), { c.sched(N ...
-
... rn }); } tempo_ {arg newTempo; tempo = newTempo; rtempo = newTempo.reciprocal } beats { ^this.curtime; } free { isPlaying.if({ clock.stop; isPlaying = false; }) } now { isPlaying.if({ ^clock.elapsedBeats; }, { ^curtime - starttime; }) } wai ...
-
... son's rhythm list RTM-notation. 1 The method converts a collection of the form [beat-count, [rtm-list], repeats] to a List of Float s. A negative integer within the rtm-list equates to a value tied over to the duration following. The method ...
-
... only the first time the phrase is invoked in a new BP: // if nothing on the downbeat, S&H the first real item ~repository[~parm] = ~items.first; } { ~repository[~parm] = ~items.last; }; }; ~items }; ~process = { ~items = ~getUpstreamItems.( ...
-
... onTime(\delta); }); time = time ? paramConnectionTime; //Time in AlgaPseg is in beats: it needs to be scaled to seconds time = if(tempoScaling.not, { time * this.clock.tempo }); //If time is still 0, go back to setAtSched so it is picked up ...