Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... .add( [9, "system_env_" ++ size ++ "_" ++ rate, -1, 0, target.asNodeID, \i_bus, index+i ] ); bundle = bundle.add([\n_setn, -1, \env, env.size] ++ env); }); server.listSendBundle(nil, bundle); } toServer { arg target, defName, level, dur; va ...

  2. OverlapTexture Quark

    ... rget = 0, args; var theseargs, slot, thissynth; task = Task({ maxRepeats.do{arg index; synthdef.isArray.if({ slot = 0.rrand(synthdef.size - 1); thissynth = synthdef[0.rrand(synthdef.size - 1)]; theseargs = Array.fill(args[slot].size, {arg i ...

  3. GlobalPathDict Quark

    ... | dict.put( key, path ); } *at { |key| ^dict.at( key ); } *getPath { |path| var index, key; if( path[0] == replaceChar ) { index = path.indexOf( $/ ) ?? { path.size}; key = path[1..index-1].asSymbol; path = path[index+1..]; if( this.at( key ...

  4. GlobalPathDict Quark

    ... | dict.put( key, path ); } *at { |key| ^dict.at( key ); } *getPath { |path| var index, key; if( path[0] == replaceChar ) { index = path.indexOf( $/ ) ?? { path.size}; key = path[1..index-1].asSymbol; path = path[index+1..]; if( this.at( key ...

  5. startup10-melodic Quark

    ... ({ ~event = (midi: true, eventKey: \voicerNote); ~requiredKeys = #[\sequence]; ~index = 0; ~repeats = inf; // each sequence type is responsible for its own code to receive a sequence // should not mix types: if a chord sequence needs to own ...

  6. Controller.help Quark

    ... lSpec.new(220, 440, ExponentialWarp), 330, 4); c[0].display; c[0].addRecv({ arg index, spec, value, state; [index, spec, value, state].postln;}); ) // Make the state modification follow a // constrained map. The array is given in // 'value' ...

  7. Synthdef.ext Quark

    ... ach | each.dot(aStream) }; this.children.do { | each | each.inputs.do { | input index | input.dotEdge(aStream, each, index) } }; aStream << " }\n" } draw { Dot.draw(this) } drawAndPlay { this.play; Dot.draw(this) } }

  8. UChainIOGUI Quark

    ... ator.gap = 4@0; ^units.collect({ |unit, i| var header, comp, views, params; var index; index = chain.deepIndexOf( unit ); if( index.size > 1 ) { index[ 0 ] = "%: %".format( index[0], chain.units[ index[0] ].fullDefName ); }; comp = Composit ...

  9. TempoClick Quark

    ... deID, 0, 0, // at head of group 0 \tempo, clock.tempo, \subd, subdiv, \bus, bus.index]); 1.0.wait; }.loop; }); clock.schedAbs(clock.elapsedBeats.roundUp, aliveThread); } stop { aliveThread.stop; aliveThread = nil; } remove { this.free } fre ...

  10. runnerGUI Quark

    ... } createGUI { arg alpha = 0.9 ; var wi = (runner.actantDict.size+1)*yStep ; var index ; guiArr = [] ; w = GUI.window.new("The Parallax View: "+runner.name.asString, Rect.new(x, y, yStep*11.5, controlNum*yStep)) ; w.view.background_(Color(0. ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow