Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... top stream ends. see also: Pstep3add *new(pattern1, pattern2, ... patternN); //examples // comparing PstepNadd and Pstep3add (test) ( x = PstepNadd ( Pseq ([1, 2, 3]), Pseq ([10, 20, 30, 40]), Pseq ([100, 200, 300])).asStream; y = Pstep3ad ...

  2. Presented in Living Stereo Help

    Presented in Living Stereo Okay, but what about our first, unsimplified example? Remember: { [ SinOsc .ar(440, 0, 0.2), SinOsc .ar(442, 0, 0.2)] }.play; This also has two SinOscs, but in a different arrangement, between two square brackets ...

  3. MultiChannel Help

    ... ers being pulled from each array in parallel. The shorter arrays will wrap. for example, the following: Pulse .ar([400, 500, 600],[0.5, 0.1], 0.2) is equivalent to: [ Pulse .ar(400,0.5,0.2), Pulse .ar(500,0.1,0.2), Pulse .ar(600,0.5,0.2) ] ...

  4. Pproto Help

    ... ote generating pattern and ends together with that note generating pattern (see example 0 below). A cleanupFunction that deallocates resources when the pattern ends or is stopped is automatically created. It can be replaced with a user defi ...

  5. Dser Help

    ... ength number of values to return structurally related: Pser see also: Demand // example ( { var a, freq, trig; a = Dser ([1, 3, 2, 7, 8], 8 ); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(f ...

  6. Pdict Help

    ... rom a dictionary superclass: Penvir *new(dict, keyPattern, repeats, default) // example SynthDescLib .read; ( e = ( a: Pbind ( \dur , 0.1, \degree , Pseq ([0, 5, 4, 3, 2])), b: Pbind ( \dur , 0.06, \degree , Pseq ([7, 8, 7, 8])), c: Pbind ( ...

  7. Writing Primitives Help

    ... g->sp - inNumArgsPushed + 1 is the receiver and where the result goes. In this example, the numArgsPushed will be 2 (as specified in definePrimitive) int prGetPathsDialog( struct VMGlobals *g, int numArgsPushed); int prGetPathsDialog( stru ...

  8. CmdPeriod Help

    ... iod is evaluated. *era number of times CmdPeriod has been called since startup. Examples ( f = { "foo" .postln }; g = { "bar" .postln }; CmdPeriod .add(f); CmdPeriod .add(g); ) // Now press Cmd-. CmdPeriod .remove(g); // Now press Cmd-. Onl ...

  9. Silent Help

    ... { Silent .ar(8)}.play //now with offset { Silent .ar + 0.5 }.play; //For these examples, you might want to boot the internal server Server .default =s = Server .internal; s.boot; s.scope

  10. BufDur Help

    ... buffer can be reallocated at any time, using .ir will not track the changes. // example s.sendMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); { BufRd .ar(1, 0, Sweep .ar( Impulse .ar( BufDur .kr(0).reciprocal), BufSampleRate .kr(0))) }.pl ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow