Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. MotifCutProc Doc

    ... 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 ...

  2. 2_elements_and_actions_midi Quark

    ... 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 ...

  3. ProxyMeter Quark

    ... 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; } } ...

  4. Pproto Doc

    ... 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 ...

  5. extColor Quark

    ... 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 ...

  6. Buffers Help

    ... 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 ...

  7. poly ndef by bgola (bgola) Code

    ... 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 ...

  8. Pswitch1 Help

    ... . 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, ...

  9. PopUpMenu Doc

    ... 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 ...

  10. ProxyMeter Quark

    ... 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; } } ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow