-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... { 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 ...
-
... .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. ///////////////////////////////////////////////////////////////////////////////// ...
-
... ); // 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 ...
-
... 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 ...
-
... 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 ...
-
... 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], [ \ ...
-
... ,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 ...