Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. FreeVerb1 Plugin

    ... / delayTimes for allpasses (times left, times right) usedAllpassData, combs, // Array of comb objects combsOut, // their sound output allPassIO, // allPass chain in/out variable inMono; // input signal is converted to mono if necessary. var ...

  2. Multithreading Quark

    ... { var reverb; //Definition of a bank of 50 sines AlgaSynthDef(\sines, { Mix.ar(Array.fill(50, { SinOsc.ar(Rand(200, 1000)) * 0.002 })) }).add; s.sync; //A reverb effect reverb = AlgaNode({ FreeVerb1.ar(\in.ar) }).play(chans: 2); //50 separ ...

  3. JInTController Quark

    ... continuous action. param: this var isRunning; var <nodeProxy; var <server; /** array of arrays containing symbols for each DOF: [values] \discrete [discrete values] \continuous [continuous values] [what happens if user lets go controller?] ...

  4. OutputProxy Help

    ... hiteNoise .ar, 0.0); left.source.postln; ) The source method is also defined in Array, so that the source can be obtained this way as well: ( var out; // Pan2 uses an OutputProxy for each of its two outputs. out = Pan2 .ar( WhiteNoise .ar, ...

  5. SimpleDMXUniverse Quark

    ... flush { state = 0!size; } clear { this.flush; } blackout { this.flush; } asInt8Array { ^Int8Array.newFrom(header ++ state ++ footer) } add {|fixture| this.addChannelVals(fixture.dmxAddr, fixture.state) } addChannelVals {|channel = 1, vals ...

  6. PSdup Quark

    ... lter the ouput, you might want to set copyItems to 1 for a PSx returning simple arrays or 2 for nested arrays (deepCopy). For deepCopying Events you'd have to set copySets to 1 and copyItems to 2 (an option copySets == 2 doesn't exist as it ...

  7. WFSPathBuffer Quark

    ... .value; ^nil; } } sendBuffer { |server, action, bufnum, forWriting = false| var array, buf, sendFunc; if( wfsPath.isWFSPath2 ) { array = wfsPath.asBufferArray( forWriting ); ^Buffer.uSendCollection( server, array, 9, 0.02, action ); } { "WF ...

  8. UsingMIDI Help

    ... you could have a separate set of response functions for each channel. ~noteOn = Array .fill(16, IdentityDictionary .new); MIDIIn .noteOn = { |port, chan, num, vel| ~noteOn[chan].do( _ .value(port, chan, num, vel)) }; // this function will r ...

  9. Function Help

    ... b; (a * b).postln }.value(3, 10); // different way of expressing the same valueArray(... args) Evaluates the FunctionDef referred to by the Function. If the last argument is an Array or List, then it is unpacked and appended to the other a ...

  10. UtopiaExamplesMultiUser_1 Quark

    ... e ++ " | " ++ peer.addr.ip ++ " | " ++ if(peer.online, "online", "offline"); }, Array)}.defer; }); ~addrBook.addMe; // will automatically add you using your user name //~addrBook.addMe(\adcxyz); // or specify one ~hail = Hail(~addrBook); ) ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow