-
... e 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 away; t ...
-
... 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 ...
-
... .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. ///////////////////////////////////////////////////////////////////////////////// ...
-
... ,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 ...
-
... 6 * ~harry }.asCompileString; many objects understand .storeOn , which a way to post their string that is needed to reproduce them by compilation. sometimes one wants to store a certain configuration of a proxy space, which can be done if a ...
-
... s. a FuncStream ( f = { 33.rand }; x = FuncStream (f); 10.do({ [f.next, x.next].postln }); ) // Example 2: the reset function ( f = { 33.rand }; x = FuncStream (f, { thisThread .randSeed_(345)}); x.reset; 10.do({ [f.next, x.next].postln }); ...
-
... t // serial port interface // device list SerialPort .listDevices; // prints to postbuffer SerialPort .devices; // returns array // change device selection SerialPort .devicePattern = "/dev/ttyUSB*" ; // linux usb serial SerialPort .devices ...
-
... nherits from: Object : AbstractFunction : Pattern ListPattern(list, repeats) // post subclasses: ListPattern .dumpClassSubtree;
-
... ed Inherits from: Object : AbstractFunction : Pattern FilterPattern(pattern) // post subclasses: FilterPattern .dumpClassSubtree;
-
... tart the eventloop WiiMote .discover; // discover a new device WiiMote .all; // post an array of all devices // cleanup: WiiMote .closeAll; // close all devices WiiMote .stop; *closeAll Close all WiiMote devices. *stop Stops the eventloop. ...