Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (756) Code (102) Doc (248) Help (98) Quark (302) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. score playback control 1 Quark

    //play 3 seconds and stop by itself ( z = UScore( UChain(0,0,3,\sine, \wfsSource ).fadeOut_(1).fadeIn_(1) ); y = z.gui; fork{ z.prepareAndStart(ULib.servers,0); } ) //play 3.5 seconds and stop; ( z = UScore( UChain(0,0,10,\sine, \wfsStaticP ...

  2. NX301 Quark

    NX301 { *ar { arg vol=0.0,pan=0,q1=6,q2=0,q3=0,q4=6,v1=0.0,v2=0.0,v3=0.0; var alpha,beta,gamma,t1,t2,t3; "NX301:: Si això, i allò... no hi ha temps per a tant".postln; " ~nx301 = { var alpha,beta,gamma,t1,t2,t3,vol; alpha = rrand(1,10); bet ...

  3. block-sine Quark

    >> blk 1 sine == radpost == Ndef('block1', {arg freq=440 , phase=0 , mul=0.4 ; SinOsc.ar(freq,phase,mul)}); == radpostcont == (none)

  4. MIDI control Quark

    /* this example for WFSCollider demonstrates how to program midi control for your score. It creates a very simple score with a sine wave in the center of the room, with infinite duration. The frequency of the sine wave is controlled via the ...

  5. sample sched simple test case Quark

    // if using supernova (!!!!) run this first: Server.program = "cd % && exec ./supernova -U plugins".format(String.scDir.quote); //make sure there are no servers running prior to this //killall scsynth ( ~soptions = ServerOptions() .memSize_ ...

  6. XiiSynthDefs Quark

    ... ctral mirroring in = Pan2.ar(in, pan); Out.ar(outbus, x*env); }); // - harmonic sines SynthDef.writeOnce(\xiiSines, {arg outbus=0, freq=440, dur=1, amp=0.4, pan=0; var x, env; env = EnvGen.kr(Env.perc(0.01, 220/freq, amp), doneAction:2); x ...

  7. helpSettings Quark

    [ [ 'add', [ 'str', 'num', 'num' ], {|str, num1, num2| (num1 + num2).postln;}, "adds two numbers" ], [ 'addTask', [ 'str' ], {a = {inf.do{c.callFunc("add " ++ rrand(0,100).asString ++ " " ++ rrand(0,100).asString); 0.1.yield}}.fork}, "routi ...

  8. XiiOscillators Quark

    XiiNoise { var <>xiigui; // TESTING: TEMP can delete *new { arg server, channels, setting = nil; ^super.new.initXiiNoise(server, channels, setting); } initXiiNoise {arg server, channels, setting; var freqSpec, crackleSpec, params, s; s = se ...

  9. source-menu Quark

    // Source menu (dev, Oct 2026): a track's source slot works like an fx slot. // Empty, it opens a block menu; blocks with a buffer get a second list (sound // files, recording buffers, wavetables, loaded buffers). Each choice runs the // ma ...

  10. 02_Connections Quark

    ( Alga.boot({ //Declare a simple sine AlgaSynthDef AlgaSynthDef(\sine, { SinOsc.ar(\freq.kr(440)) * EnvPerc.ar }, sampleAccurate: true).add; //Declare a simple saw AlgaSynthDef AlgaSynthDef(\saw, { Saw.ar(\freq.kr(440)) * EnvPerc.ar * 0.4 } ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow