Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1500) Code (97) Doc (308) Help (89) Quark (1000) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. FuzzyDictionary Quark

    ... ist = super.choose; list !? { ^list.choose }; ^nil } /* // problem: // collect, select, reject should iterate over the objects keysValuesDo { arg function; this.keysValuesArrayDo(array, { |key, val, i| val.do { |el, j| function.(key, el, i, ...

  2. TestChannelLayout Quark

    ... y.iota(numChans); answer = indexes.odd; // array of true/false layout = indexes.select { |i| i.odd }; // only odd channels will be used spat = Array.fill(layout.size, \monoSpat); // one monoSpat per layout channel config = SatieConfiguratio ...

  3. BBCutQuantise1 Quark

    ... os gives revised length block.length= lastpos-phrasetotal; block.cuts= copyiois.select({arg val,i; keptindices[i]}); if(block.length<0.001,{"this shouldn't be zero?".postln}); //trust length works out, else no sweat // //end of phrase, must ...

  4. Looping sampler with crossfading by coreyker (coreyker) Code

    ... Phasor.ar(trigLoop, 2/fadeFrames * rate, -1, inf, -1).clip(-1,1); var out = Select.ar(startLoop, [srcA, LinXFade2.ar(srcB, srcA, pan:loopPan)]); var env = EnvGen.ar(Env.asr(attack, sustain, release, 1), gate, doneAction:2); Out.ar ...

  5. sound_example_filters_and_scopeview Quark

    ... !~openbci.numChannels))*amp; sig= sig*\on.kr(1!~openbci.numChannels, 0.1); sig= Select.ar(bf, [sig, LPF.ar(HPF.ar(sig, loFreq), hiFreq)]); //bandpass filter sig= Select.ar(nf, [sig, BRF.ar(sig, notchFreq, notchRQ)]); //notch filter for 50/6 ...

  6. generative melody by davidmorgan (david_morgan) Code

    ... \s8.kr(0), \s9.kr(1), \s10.kr(0), \s11.kr(0) ]; var inscale = Select.kr(in, scale); var semi = in * inscale; var trig = Changed.kr(semi); var trig2 = PulseDivider.kr(trig, 3); var midi = TChoose.kr(trig2, \root.k ...

  7. extString Quark

    ... { ^this.replace("(", "[").replace(")", "]"); } divNumStr {var nums; nums = this.select{|item| (48..57).includes(item.ascii) }; ^[this.replace(nums, ""), nums.interpret]; } /* interpretRad {var str, str2, arrStr, arrStr2; str = this.replace( ...

  8. Streams-Patterns-Events1 Help

    ... }); ) Filtering operations on streams Streams respond to the messages collect, select, and reject by returning a new Stream. The collect message returns a stream that is modified by a function in the same way as the collect message sent to ...

  9. TODO Quark

    ... implement cutting sub-scores - inner score looping. - MultiUdef: being able to select defs by index instead of defName - HiddenUdef is then obsolete; it can simply use Udefs with addToAll:false - WFSServers: better gui - button for loading ...

  10. point_distance Quark

    ... mRange ++ [-1,1, \none ] ); dist = dist * invert.linlin(0,1,1,-1,\none); dist = Select.kr( clipMode, [ dist.softclip2(1, clipSoftness ), dist.softfold2(1, clipSoftness ), dist.wrap2(1), dist ]); dist = dist.linlin( -1, 1, *toRange ++ [\none ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow