-
... . Patches can be built dynamically and parameterized not just by floating point numbers from a static score, but by other graphs of unit generators as well. Or you can construct patches algorithmically on the fly. This kind of fluidity is n ...
-
... s defined as an "array argument," occupying indices 2-3. SynthDefs with a large number of controls may need a little extra code to print the entire list. SynthDescLib .global[ \controlList ].controls.do( _ .postln); "" Prior to SuperCollide ...
-
... ) } } Note that in this case the label for sinusoider is a string in form s+midiNumber. So it is possible to extract the midi number from it and pass as an argument for synth creation. In this case the play method checks if the first letter ...
-
... t = ifft; }; ) // programmatic manipulation // e is the data object; z is number of samples // set sample points directly e.data = Array.fill(z, { |i| i.linlin(0, z, 0.8, -0.8) }); // saw e.data = Array.fill(z div: 2, [0.7, -0.7 ...
-
... sequences of events can be implemented using Routines. A Routine which yields a number can be scheduled using a clock: ( var w, r; w = Window.new("trem", Rect(512, 256, 360, 130)); w.front; r = Routine({ arg time; 60.do({ arg i; 0.05.yield; ...
-
... s the MP3 files (it'll be written into the RSS data). maxentries is the maximum number of MP3 files to keep (oldest ones will be deleted). mp3prefix is an optional prefix added to the audio filenames; helpful for avoiding filename confusion ...
-
... s the MP3 files (it'll be written into the RSS data). maxentries is the maximum number of MP3 files to keep (oldest ones will be deleted). mp3prefix is an optional prefix added to the audio filenames; helpful for avoiding filename confusion ...
-
... { |string, size, padWithChar($0)| string = string.asString; // if it's, say, a number as below if(string.size < size) { String.fill(size - string.size, padWithChar) ++ string } { string } }; // flat array of pairs: ccnum, oscpath, ccnum, o ...
-
... eate a server object we need to provide the IP address or the server and a port number. Port numbers are somewhat arbitrary but they should not conflict with common protocols like telnet, ftp http, etc. The IP address 127.0.0.1 is defined t ...
-
... \addToHead, \addToTail, \addBefore, \addAfter out: 0, // usually an output bus number, but depends on the SynthDef The ampEvent determines volume. Notice that ~amp is a function that determines its value from ~db . The user can choose to s ...