-
... tal. The MotifCutProc is passed an array of Motifs, so a twice nested array. An indexing function is also passed as the second argument, for selecting the next Motif. If the Motifs don't fit within a phrase, the last rhythmic value is short ...
-
... all buttons k.elAt(\sl); // sliders k.elAt(\kn); // knobs // access by name or index, fullname: k.elAt(\sl); k.elAt(\sl, 0); k.elAt(\sl, \1); k.dictAt(\sl_1); // buttons are nested more deeply: k.elAt(\bt, 'S'); // all buttons named 'S' as ...
-
... eFunc = { |arProxy| { |decay = 0.99994| var inArray = InFeedback.ar(arProxy.bus.index, arProxy.bus.numChannels).asArray; var amps = A2K.kr(PeakFollower.ar(inArray, decay: decay)); var max = 0; amps.do { |amp| max = max(max, amp) }; max; } } ...
-
... ecay, 1, in)); }, [\ir, \ir, 0.1, 0.1, 0]).add; SynthDef(\fm, { |out = 0, freq, index, decay = 2, gate = 1| var env, in; env = Linen.kr(gate, 0.05, 1, 5, 2); in = In.ar(out, 2); XOut.ar(out, env, SinOsc.ar(freq, in * index)); }).add; Pproto ...
-
... ueSpread) + (0.25 * avgLightness) - (0.20 * neutralRatio)) } *paletteOrder {arg index=0; var orderArr; orderArr = [ \depressednightclub, // -0.081 \club, // 0.040 \clubHouse, // 0.092 \nightclub, // 0.131 \vibersclub, // 0.154 \nightclubbin ...
-
... s in a buffer. Buffer-get and Buffer-set are straightforward to use and take an index as an argument. Multichannel buffers interleave their data, so for a two channel buffer index 0 = frame1-chan1, index 1 = frame1-chan2, index 2 = frame2-c ...
-
... rns 0 by default before the first trig, that is why we // sum 1 to the index and then subtract. var voice = (Latch.kr(ArrayMax.kr(times)[1] + 1, t_gate) - 1); var trigs = n_voices.collect {|idx| BinaryOpUGen('==', voice, idx ...
-
... . If the element is itself a pattern, it embeds only one of its values for each index, and thus switches between all patterns in the list. see also: Pswitch ( var a, b; a = Pseq ([1, 2, 3], inf); b = Pseq ([65, 76], inf); c = Pswitch1 ([a, ...
-
... wBase The currently selected item. Returns: A String. . value . value = val The index of the currently selected item. Arguments: val An integer, or nil meaning no selected item. . valueAction = val From superclass: ItemViewBase Sets -value ...
-
... eFunc = { |arProxy| { |decay = 0.99994| var inArray = InFeedback.ar(arProxy.bus.index, arProxy.bus.numChannels).asArray; var amps = A2K.kr(PeakFollower.ar(inArray, decay: decay)); var max = 0; amps.do { |amp| max = max(max, amp) }; max; } } ...