-
... ends on how much code runs "at once" and how complex the calculations are. For many cases, it is near zero. // a function that does nothing runs really fast bench({ nil }); // filling a big array with random numbers takes a while longer. be ...
-
... f BBCut uses a weird naming scheme so that versions 1 and 2 can coexist without any conflicts. (For example, the main class is called BBCut2.) This is no longer needed because the modern quarks system can take care of multiple versions. The ...
-
... case the OSCFunc needs to be set up, so that it listens to messages coming from anywhere. You do this by passing nil as the srcID argument. o = OSCFunc({ arg msg, time, addr, recvPort; [msg, time, addr, recvPort].postln; }, '/goodbye'); // ...
-
... ); // e is an EventStreamPlayer e = p.play; ) ( // you can change the stream at any point in time e.stream = Pbind( \degree, Pseq([0,1,2,4,6,3,4,8],inf), \dur, Prand([0.2,0.4,0.8],inf), \amp, 0.05, \octave, 5, \instrument, \help_SPE7_Berlin ...
-
... ers/danstowell/Music/ManiAyer.mp3"); m.start; // Now you can use it almost like any other file, by reading from m.fifo b = Buffer.cueSoundFile(s, m.fifo, 0, 2); x = Synth("help_mp3_01", [\bufnum, b.bufnum], addAction:\addToTail); m.playing; ...
-
... by @telephon in https://github.com/supercollider/supercollider/pull/5561 Allow any type of text stream in the FileReader hierarchy by @jamshark70 in https://github.com/supercollider/supercollider/pull/5611 Improve behaviour of error in loa ...
-
... owing code which is not yet connected to our synth and will therefore not yield any sound yet: ( var window = Window(); var layout = HLayout(); var button = Button(); button.string_("Play"); window.layout_(layout); layout.add(button); windo ...
-
... ⧉ ✔ This is useful for Instr with long arg lists and helps to avoid errors. For any nil arguments, a default control will be created. This gives the impression that Patch is "an automatic gui for an Instr / SynthDef". If you do not supply a ...
-
... ch range has no memory (the next value does not depend on the previous value in any perceptible way). The random number generator patterns ( Pwhite ) return one element before yielding control back to the "selector" ( Pwrand ). \degree, Pwr ...
-
... the range [4800..230400] . databits Bits per character. Typically 8, but can be any integer. stopbit A Boolean indicating whether to use two stop bits ( true ) or one stop bit ( false ). parity Whether the port uses even, odd, or no parity. ...