Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (4) Doc (98) Help (27) Quark (405) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. PopUpTreeMenu Quark

    ... iations var selectedIndex; //integer. nil when nothing selected var treeStruct= IdentityDictionary.new; var xIndex= lst.size; var n= value.first.asSymbol; tree.keysValuesDo{|k, v| treeStruct.put(k.asSymbol, v.size>0)}; items= treeStruct.key ...

  2. MxMatrixGui Quark

    ... Rows, mx.master.units.size) + 1; } updatePoints { var lastRow, bounds; points = IdentityDictionary.new; bounds = view.bounds; lastRow = (boxBounds.height / boxHeight).floor - 1; masterCol = (bounds.width / boxWidth).floor - 1; mx.channels.d ...

  3. NMLClock Quark

    ... other peers }); } cmdPeriod { this.startBeacons } makeOSCFuncs { compareDict = IdentityDictionary.new; // time here is elapsedTime when the processOSCPacket is called // since if may need to wait on the lang mutex this could be late in 3.6 ...

  4. AlgaBlock Quark

    ... w.init(parGroup) } init { | parGroup | nodes = IdentitySet(10); feedbackNodes = IdentityDictionary(10); visitedNodes = IdentitySet(10); disconnectVisitedNodes = IdentitySet(10); upperMostNodes = IdentitySet(10); orderedNodes = OrderedIdenti ...

  5. SuperDirt Quark

    ... counterTenor); this.initRoutingBusses; group = server.nextPermNodeID; flotsam = IdentityDictionary.new; } start { |port = 57120, outBusses, senderAddr = (NetAddr("127.0.0.1"))| if(orbits.notNil) { this.stop }; this.makeOrbits(outBusses ? [0 ...

  6. rewriteString Quark

    ... ree , z, \dur , 0.1 ).play; ) // which is the same as: ( k = Pseq ([0, 5]); c = IdentityDictionary [ 0 -> [5, 0], 5 -> [3, 0] ]; z = Prewrite (k, c, 5); Pbind ( \instrument , \sinegrain , \degree , z, \dur , 0.1 ).play; ) // the following w ...

  7. misc-perc Quark

    ... ath) } { Buffer.readChannel(s, info.path, channels: #[0]) } }; ~parmMap[\buf] = IdentityDictionary.new.put(\alias, #[bufIndex, stacc]); min(~bufs.size, ~longChars.size).do { |i| ~parmMap[\buf][~longChars[i]] = [i, 0]; ~parmMap[\buf][~staccC ...

  8. ObjectInsp Quark

    ... "open class file",{ model.class.openCodeFile; }); } *initClass { displayHooks = IdentityDictionary.new; // some standard library hooks this.registerHook(Function,{ arg model,layout; layout.startRow; if(model.def.sourceCode.notNil,{ this.sou ...

  9. XiiClassExtensions Quark

    ... ymbol) {sign = sign.asString}; if(sign.class == String) {sign = sign[0]}; out = IdentityDictionary[ $# -> ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"], $b -> ["C", "Db", "D", "Eb", "E", "F", "Gb", "G", "Ab", "A", "Bb", ...

  10. 9_Fx_MasterBACKUP Quark

    ... i).asSymbol; Spec.add(sy, \unipolar) }; ( // add your own fx stuff here! q.fx = IdentityDictionary [ '3ring' -> { arg in, ringfr=100; in * SinOsc.ar(ringfr) }, '00_in' -> { arg in, level=1, llag=0.2, noisefloor=0.01; LeakDC.ar( in * level.l ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow