Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1669) Code (209) Doc (505) Help (220) Quark (722) Plugin (13) SCDoc ↗ Forum ↗ Google ↗
  1. recursive_phrasing Help

    ... arg out, bufnum, from=0.0, to=1.0, sustain=1.0; var env; env = EnvGen .ar( Env .linen(0.01, sustain, 0.01), 1, doneAction:2); Out .ar(out, BufRd .ar(1, bufnum, Line .ar(from, to, sustain) * BufFrames .kr(bufnum) ) * env ) }).store; ) s.send ...

  2. SCImage Help

    ... ing full size) start - the start index of the array. (0 by default) // exec one line at a time i = SCImage .new( // "http://supercollider.sourceforge.net/theme/sc01/icon.supercollider.gif" Document .current.dir +/+ "icon.supercollider.png" ...

  3. Tour_of_UGens Help

    ... 4); // since it is not band limited, there are aliasing artifacts { LFPar .ar( XLine .kr(100,15000,6),0,0.1) }.scope(1, zoom: 4); // cubic approximation of sine { LFCub .ar( LFCub .kr( LFCub .kr(0.2,0,8,10),0, 400,800),0,0.1) }.scope(1, zoo ...

  4. SCNSObject Help

    ... his might crash sc-lang: c.invoke( "makeKeyAndOrderFront:" , [ nil ]); but this line is fine: c.invoke( "makeKeyAndOrderFront:" , [ nil ], true ); Common Conversion Table SuperCollider will try to convert types when possible, here are the m ...

  5. String Help

    ... ls" for instance. unixCmd(action, postOutput) Execute the String on the command line using the Bourne shell (sh). Returns the pid of the newly created process (use Integer.pidRunning to test if a pid is alive). action is a Function that is ...

  6. PG_Ref01_Pattern_Internals Help

    ... ttern . asStream { ^ Routine ({ arg inval; this .embedInStream(inval) }) } This line creates a Routine whose job is simply to embed the pattern into its stream. "Embedding" means for the pattern to do its assigned work, and return control t ...

  7. Function Help

    ... orresponding functions to be evaluated if true. Unlike Object-switch, this is inlined and is therefore just as efficient as nested if statements. ( var i, x, z; z = [0, 1, 1.1, 1.3, 1.5, 2]; i = z.choose; x = case { i == 1 } { \no } { i == ...

  8. GUI-Overview Help

    ... ut for no decorator // w.addFlowLayout // you can use this instead of the above line for brevity. w.view.background = Color ( 0.6, 0.8, 0.8 ); 32.do({ arg i; // Here Button returns the button class for the current kit b = Button ( w, Rect ( ...

  9. Env Help

    ... hape of the envelope segments. The possible values are: 'step' - flat segments 'linear' - linear segments, the default 'exponential' - natural exponential growth and decay. In this case, the levels must all be nonzero and the have the same ...

  10. Buffer Help

    ... the new method name. s.boot; ( SynthDef ( \help_Buffer_copy , { arg out=0, buf; Line .ar(0, 0, dur: BufDur .kr(buf), doneAction: 2); // frees itself Out .ar(out, PlayBuf .ar(1, buf)); }).add; ) ( b = Buffer .read(s, "sounds/a11wlk01.wav" ); ...

prev 21 22

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow