-
... }; }); if(p.isEmpty, { p= [Dictionary.newFrom([ //at least one pattern "name", \random, "range", #[0, 32], "pitches", {40.rrand(80)}!32, "velocities", {1.0.linrand}!32 ])]; }); p; }; writeUserPatternsToDisk= { //(re)write all user patterns ...
-
... at) to play each onset. If (at) is larger than the last onset index, it plays a random onset. play {arg at = nil, out = 0, server, detune = 0, pan = 0, level = 1; var buf, rate, cond = Condition.new(false); server = server ? Server.default; ...
-
... <cmdView, <defSliders, vSlider, width, height, elemExt, elemExtHalf, textView, randData, decorator; var skipJack; *new {|model, width, height| width = width ? 450; height = height ?? {Window.availableBounds.height}; ^super.new.init(model, ...
-
... at) to play each onset. If (at) is larger than the last onset index, it plays a random onset. play {arg at = nil, out = 0, server, detune = 0, pan = 0, level = 1; var buf, rate, cond = Condition.new(false); server = server ? Server.default; ...
-
... n white - time domain*/ *gaussianNoise { arg size; ^size.collect({ (2.neg * 1.0.rand.log).sqrt * (2pi.rand).cos }).as(Signal) } /* power-law noise - frequency domain */ *periodicPLNoise { arg size, beta = 0; var complex = FreqSpectrum.power ...
-
... Width @ widgetHeight) .font_(font) .states_([ ["Next Event", Color.black, Color.rand] ]) .action_({arg button; ctkPEvent.next; }); dec.shift(0, 10); indexView = NumberBox(window, (widgetWidth * 0.6) @ widgetHeight - 20) .font_(font) .value_ ...
-
... Num = 0, posLo = 0.0, posHi = 1.0, posRate = 1, posDev = 0.01, trigRate = 100, granDur = 0.1, rate = 1.0, panMax = 1, amp = 0.1, interp = 4; var trig, pan, pos, bufDur, bufDurSection, posDif; posDif = posHi - posLo; bufDur = BufDur .kr(bufN ...
-
... ow, has only been cut and slightly mastered with a bit of equalization (as many random components are included, the output will of course vary from one evaluation to the next). Each code section delivers a mixed control by gui (VarGui) and ...
-
... Delays.reciprocal; modulators = Array.fill(numDelays, {arg i; LFPar.kr(speed * rrand(0.94, 1.06), ph_diff * i, depth.lag(lagTime), predelay.lag(lagTime));}); sig = DelayC.ar(input, 2.0, modulators); sig = sig.sum; sig = sig * 3; ((sig*mix.l ...
-
... der colors for logical groups (synth, environment) and background are chosen by random. Must be between 0 and 1. Defaults to 0.25 in color mode and 0.4 in grey mode. colorsHi - Hi RGB value for color space, in which distinct slider colors f ...