-
... an a number or array), the event represents a rest and nothing will play on the server. It doesn't matter whether or not the SynthDef has a 'freq' control; a symbol in this space produces a rest. Here it's a simple conditional to produce a ...
-
... each thread in sclang, you can choose which of several random generators on the server to use, and you can reset (seed) these random generators: RandID RandSeed UGens that generate random numbers on demand ("Demand UGens"): Dwhite Dbrown Di ...
-
... /////////////////////////////////////////////////////// // TURN ON THE INTERNAL SERVER!! // first a comb filter and then an allpass with (with the same parameters) - compare them ///////////////////////////////////////////////////////////// ...
-
... might be tempting to loop a PlayBuf so that the loop runs automatically on the server, but it can easily drift out of sync with the client (because of slight deviations in the actual sample rate). Instead, the example defines a SynthDef th ...
-
... n.run C-c C-l Recompile library M-x sclang-stop Stop interpreter C-c C-p p Show server panels Postbuffer and workspace C-c C-w Switch to workspace C-c < Clear postbuffer C-c > Show postbuffer Help files C-M-h Show help browser C-c C-h Open ...
-
... package manager SC supports extensions to its class library, documentation, and server UGen plugins. These extensions are stored in subfolders of Platform .userExtensionDir – for more info see Using-Extensions . A Quark is a more formalized ...
-
... unds.moveBy(100,-150); g.window.name= "Freq" ; ); ) // Sound example ( // start server s.waitForBoot({ var w, startButton, noteControl, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth ...
-
... //////////////////// // Note: This SynthDef used throughout this document ( s = Server .local; SynthDef ( \help_SPE3_SimpleSine , { arg freq, sustain=1.0; var osc; osc = SinOsc .ar( [freq,freq+0.05.rand] ) * EnvGen .ar( Env .perc, doneActio ...
-
... /////////////////////////////////////////////////// // Sound example ( // start server s.waitForBoot({ var w, startButton, noteControl, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth ...
-
... th on it (see below). // all defs in this directory will be loaded when a local server boots "SC_SYNTHDEF_PATH".setenv("~/scwork/".standardizePath); "echo $SC_SYNTHDEF_PATH".unixCmd; getenv Returns the value contained in the environment var ...