Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... w('control', in, mul, add) } */ } + Control { *names { arg names; var synthDef, index; synthDef = UGen.buildSynthDef; ///////////////////// if(UGen.outsideSynthDef) { ^this.asUGenNode.names_(names) }; ///////////////////// index = synthDef. ...

  2. extFunction Quark

    ... item) }; string = arr.asString.replace("[", "").replace("]", ""); arr.do{|item, index| arr2 = arr2.add(item ++ "=" ++ this.defaultArgs[index].cs) }; string2 = arr2.asString.replace("[", "").replace("]", ""); synthDef = "SynthDef(" ++ key.cs ...

  3. TestPlayerMixer Quark

    ... Outs { this.startPlayer; 1.0.wait; this.assert( player.children[0].patchOut.bus.index != bus.index, "children should get their own busses, not use bus of the PlayerMixer"); this.stopPlayer; 1.0.wait; } } /* ) a.play; a.addPlayer(Patch(\test ...

  4. degreeStream Quark

    ... ot=12, seriesCycle=20, oneSkip=1, twoSkip=2, inertia=0.3, numNotes=16; var seq, index; index = 5.rand; seq = Pseq( Array.fill(numNotes, { if(inertia.coin, { index = 5.rand }); index }) , inf); Pswitch1([ Pn( Pseries(root, oneSkip, seriesCyc ...

  5. AssemblageMod Quark

    ... key, modType, spec, extraArgs, func, mul, add, min, val, warp, lag); } modFilterIndex {arg filterIndex, argument, modType=\sin, spec=[-1,1], extraArgs, func, mul=1, add=0, min, val, warp, lag; var filterTag; filterTag = this.getFilterTag(fi ...

  6. StringConverter Quark

    ... ) } *unconvert { arg list; ^this.current.unconvert(list) } *error { arg string, index; Error("conversion failed: " ++ string.insert(index, Char.bullet).quote).throw; } } // a very simple string converter EventScoreReader : StringConverter { ...

  7. UChain Quark

    ... moveFade){ this.fadeIn = 0 }; units.do( _.cutStart( delta1 ) ); } } } bounce { |index = 0, path, action, replace = true, single = true| var tempChain, playbackUnit, dur, newAction; var usedBuses; path = path.getGPath.replaceExtension( "aiff ...

  8. ClotheslineView Quark

    ... <timeStep; var <window, <bounds, <margin, <userView, <overlayView; var <selectedIndex = 0, <currentTimeOffset = 0, currentZoom = 1; var <>passiveModeName = \______passive; var <>backgroundColor, <>foregroundColor, <>activatedColor, <>deacti ...

  9. extVGMulTree Quark

    ... }; } selectNodes { |function, level = inf| var res; this.deepDo { |node, level, index, key| if(function.value(node, level, index, key)) { res = res.add(node) }; }; ^res } resetAll { |val = 1| this.deepDo { |node|Ê node.values = node.values. ...

  10. RedBMP Quark

    ... width*height); switch(depth, 1, { height.do{|y| var i; cnt= 0; width.do{|x| var index; if(x.mod(8)==0, { i= file.getInt8.bitAnd(0xFF); }); index= i.bitTest(7-(x.mod(8))).binaryValue; data[y*width+x]= palette[index]; }; while({cnt.mod(4)>0}, ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow