Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1299) Code (80) Doc (443) Help (108) Quark (663) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. 14-Scheduling-Events Doc

    ... ave SuperCollider say hello, 5 seconds from now. SystemClock.sched(5, { "hello".postln }); ⧉ ✔ Notice that when you do this, 'SystemClock' prints immediately. Every time you run something in SuperCollider, it has to return a value right awa ...

  2. AbstractServerAction Help

    ... s.boot; f = { |server| "------------The server '%' has booted.------------\n" .postf(server) }; ServerBoot .add(f, \default ); s.quit; // quit the server and observe the post s.boot; ServerBoot .remove(f, \default ); // remove it again s.q ...

  3. ExternalClock Quark

    ... lock.schedAbs(tempoclock.elapsedBeats,{}) tempoclock.play({ //arg ...args; args.postln; [logical time, elapsed time, clock] //use logical beat time so can match up with other tasks running on the tempoclock lastBeat=tempoclock.beats; //last ...

  4. extVarious-argsArray Quark

    ... { arg delim = ",", equalSign = "=", prepend = "arg ", append = ";"; // just for posting or export: no backwards version var string = ""; this.keysValuesDo({ |key, value, i| string = string ++ key + equalSign + value; if(i < (this.keys.size ...

  5. 1_Startup Help

    ... .09 seconds appears in the top left of the screen. The document functions as a "Post Window," so-called because SuperCollider uses it to "post" notifications. ///////////////////////////////////////////////////////////////////////////////// ...

  6. osc_patternmatch Quark

    ... ); // local machine // o = OSCFunc.newMatching({|msg, time, addr, recvPort| msg.post; \matching.postln}, '/button/*', n); // path matching p = OSCMessageInversePatternDispatcher.new; o = OSCFunc.new({|msg, time, addr, recvPort| msg.post; \m ...

  7. Kaprekar by henklass (henklass) Code

    ... ions for (1, 9998, { arg i; if ( i.mod(1111)!= 0, { number = i; number.postln; theNumber=number; //theNumber is used to be able to mess with the value while retaining the value of number if (theNumber < 150, {theNumber = theN ...

  8. Note Quark

    ... y one should be not nil. Note ( "G4" ); // -> will show as a name string in the post window (asString) Note ( "G4" ).asCompileString; // -> will show as a name string in the post window (asString) Note ( midi: 65 ); Note ( freq: 456 ).asCom ...

  9. PHS Quark

    ... for scheduling // demandIndex indicates the index of the stream of durations // posted demandIndex = 1, as two pbinds are using duration stream #0 ( p = PHS (h, [], 0.16, [ [ \midinote , Pkey ( \val ) + Pseq ([0,2], inf ), \amp , 0.06], [ \ ...

  10. MFCC Help

    ... ,0,1); in = SoundIn .ar(0); fft = FFT (b, in); array= MFCC .kr(fft); array.size.postln; Out .kr(0,array); Out .ar(0, Pan2 .ar(in)); }.play ) c= Bus .new( 'control' , 0, 13); //poll coefficients c.getn(13,{ arg val; {val.plot;}.defer}); //Co ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow