Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... tractPlayControl.buildMethods.put(\seti, #{ |pattern, proxy, channelOffset = 0, index| var args = proxy.controlNames.collect(_.name); Pchain( (type: \set, id: { proxy.group.nodeID }, args: args), Pbindf( pattern, \play, Pfunc { |e| args.do ...

  2. p_choose Quark

    ... ,48,64,128 ].collect({ |n| UPatDef( n, { |unit, vals, histSize = 0, seed| { var index, size, arr, nn; thisThread.randSeed = seed.next.asControlInput; arr = (..n-1).scramble; loop { index = arr.removeAt( histSize.next.asInteger rrand: (n-1). ...

  3. MIDISockets Quark

    ... esp, // IdentityDictionary[ note num -> VPNoteInfo ] thisNote; // for adding -- index must be retained between add calls // args are given in pairs: processgroup, starting note# or [note #'s] // the destination trick from BasicMIDISocket is ...

  4. MIDISockets Quark

    ... esp, // IdentityDictionary[ note num -> VPNoteInfo ] thisNote; // for adding -- index must be retained between add calls // args are given in pairs: processgroup, starting note# or [note #'s] // the destination trick from BasicMIDISocket is ...

  5. Patch Quark

    ... ize; set } }) } // this finds the spec of an input in a subpatch. // argi is an index into an array of all args of this patch followed by depth first traversal of all subpatches deepSpecAt { arg argi,offset=0; var inputs,deepSpec; inputs = ...

  6. Bjorklund Quark

    ... a, b)); }, { ^(a++b).flat; }); } *prSplit {|arr| var item= arr[arr.size-1]; var index= arr.indexOfEqual(item); ^[ arr.copyRange(0, index-1), arr.copyRange(index, arr.size-1) ]; } *prLace {|a, b| ^a.collect{|x, i| x++b[i]}++b.copyRange(a.siz ...

  7. Voicer-ext Quark

    ... e, 0); }; keyList.do { |key, i| set.put(key, i) }; this.pairsDo { |a, b, i| var index = set[a]; if(index.notNil) { out[index] = b; set.removeAt(a); remain = remain - 1; if(remain == 0) { ^out }; }; }; ^out } }

  8. TabbedView Quark

    ... bls.do{arg label,i; this.add(label); }; this.focus(0); ^this; } add { arg label,index; //actually this is an insert method with args backwards var tab, container, calcTabWidth, i; index = index ? labels.size; //if index is nil, add it to th ...

  9. Chucking Quark

    ... / pass not-understood messages thru to the target object? <classHooks; var <collIndex, // the instance is stored at this.class(collIndex) <>value, // what I'm pointing to <>subType, <>path; // collection is shared among all subclasses, so m ...

  10. select_8 Quark

    ... lues (or UMaps). If you need to select from > 8 values, use \select_16 instead. index: the index of the value (0-7) smooth: smoothening parameter (0: hard steps, 1: linear interpolation) value0 - value7: the values of the steps (can be UMap ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow