Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2329) Code (180) Doc (734) Help (210) Quark (1189) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. SymbolicNotations Help

    ... o the stream A common usage is with the Post class, to write output to the post window. Post << "Here is a random number: " << 20.rand << ".\n" ; Here is a random number: 13. stream <<* collection add each item of the collection to the stre ...

  2. PG_02_Basic_Vocabulary Help

    ... ples in this file, use the "stop" keyboard shortcut (cmd-. on Mac OSX, alt-. on Windows, check documentation for other editors). Or: p.stop; A variation, Pslide , plays overlapping segments of the input list. Pslide(list, repeats, len, step ...

  3. Buffers Help

    ... l this information at our fingertips before loading the file. // watch the post window b = Buffer .read(s, "sounds/a11wlk01.wav" ); b.bufnum; b.numFrames; b.numChannels; b.sampleRate; b.free; Now (like with the example using an action funct ...

  4. SynthDefs and Synths Help

    ... se. You can test for this using '==='. Execute the following and watch the post window. "a String" === "a String" ; // this will post false \aSymbol === 'aSymbol' ; // this will post true In general in methods which communicate with the ser ...

  5. Synth Help

    ... Synth .after(y, "bubbles" ,[ "out" ,0]); y.free; r.free; // look at the Server window // still see 4 Ugens and 1 synth? // you can't hear me, but don't forget to free me t.free;

  6. Order-of-execution Help

    ... gned to the interpreter variable s. // execute the following and watch the post window s === Server .default; s === Server .local; Server .default = Server .internal; s === Server .default; Server .default = Server .local; // return it to t ...

  7. Color Help

    ... eger returns an integer between -1 (white) and 255 (black). hash Examples ( w = Window .new.front; w.view.background_( Color .white); w.drawHook = { // set the Color Pen .translate(200, 200); 30.do{ Pen .width = 3.0.rand; Color .blue(rrand( ...

  8. PG_08_Event_Types_and_Parameters Help

    ... se. New values will be looked up in the event. // Visualize Brownian motion w = Window ( "Brownian motion" , Rect (10, 100, 500, 50)); x = Slider (w, Rect (10, 15, 480, 20)); w.front; p = Pbind ( \type , \setProperties , \receiver , x, // t ...

  9. Tour_of_UGens Help

    ... n arguments: numChannels, trigger, dur, freq, pan, envbufnum ( // using default window { var trigrate, winsize, trig; trigrate = MouseX .kr(2, 120); winsize = trigrate.reciprocal; trig = Impulse .ar(trigrate); GrainSin .ar(2, trig, winsize, ...

  10. Server-Command-Reference Help

    ... posting int - mode Turn on or off error messages sent to the SuperCollider post window. Useful when sending a message, such as /n_free, whose failure does not necessarily indicate anything wrong. The values for mode are as follows: 0 = turn ...

prev 21

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow