Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5266) Code (160) Doc (3338) Help (578) Quark (1166) Plugin (24) SCDoc ↗ Forum ↗ Google ↗
  1. FreeSelfWhenDone Help

    ... turn a BinaryOpUGen , and thus prevent the done flag from being accessible. See example below. src - the UGen to check for done. s.boot; // simple example ( { var env; env = Line .kr(0, 1, 1); FreeSelfWhenDone .kr(env); // free synth at end ...

  2. Pfuncn Help

    ... c - stream function repeats - end after this number of times See also: Pfunc // example ( var a, b, c; a = Pfuncn ({ exprand(0.1, 2.0) + #[1, 2, 3, 6].choose }, 2); b = Pfuncn ({ #[-2, -3].choose }, 2); Pseq([a, b], inf).asStream.nextN(20). ...

  3. Prout Help

    ... : Proutine, Routine note that there is a shortcut to create a Prout: p(func) // example ( var a; a = Prout ({ loop { 1.yield; 2.yield; 7.yield; 10.do { 1.0.rand.yield } }}); a.asStream.nextN(100).plot; ) // sound example ( SynthDef ( \help_ ...

  4. Pclutch Help

    ... r 0), the previous value is kept. see also : StreamClutch , Pstutter , Latch // example: Pclutch ( Pseq ([1, 2, 3, 4, 5], 3), Pseq ([0, 0, 1, 0, 0, 0, 1, 1])).asStream.nextN(10); // sound example ( SynthDef ( \help_sinegrain , { arg out=0, ...

  5. StreamClutch Help

    ... stream value for each time next is called if false it returns the last value //example: SynthDescLib .read; a = Pseq ([1, 2, 3], inf ); b = StreamClutch (a); 6.do({ b.next.postln }); b.connected = false ; 6.do({ b.next.postln }); //statist ...

  6. GeneralHIDSlot Help

    ... r a user to create a new slot. See GeneralHID for a complete explanation and an example of how to access an HID device. It is advised to use this class instead of the platform specific classes: HIDDeviceService (on MacOSX) and LID (on Linux ...

  7. Pexprand Help

    ... ir range should not cross 0) length number of values produced (default: inf) // example ( var a; a = Pexprand .new(0.0001, 1, inf ); c = a.asStream.nextN(500); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , pare ...

  8. Pnaryop Help

    ... ible pattern input) arglist - a list of patterns (or compatible pattern inputs) examples of n-ary operators are: blend, linlin, linexp, explin, expexp, clip, fold, wrap. See also: Pbinop , Punop , NAryOpFunction // example ( var a; a = Pnar ...

  9. SpecCentroid Help

    ... ored.) This can be a useful indicator of the perceptual brightness of a signal. Example A Blip oscillator is ideal for demonstrating this because the number of harmonics is directly manipulated: as the number of harmonics increases, the cen ...

  10. SCImageKernel Help

    ... the argument declaration order as defined in the main kernel vec4 routine . See examples for more info. isValid very basic verification to tell if all arguments of the shader are set. compile compile the SCImageKernel object (and cache it). ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow