Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... .odd; }); 6.do({ b.next.postln; }); ) Making Music with Streams Here is a sound example to show how you might use Streams to generate musical material. ( s = Server .local; SynthDef ( \help_SPE1 , { arg i_out=0, freq; var out; out = RLPF .a ...

  2. Document Help

    ... , buttonNumber, clickCount, clickPos ( //add a mouse action to this document: //example: easy button: //when you click in front of a 17 a SinOsc will start up; s.waitForBoot({ Document .current.mouseUpAction_({ arg doc; var char; char = doc ...

  3. Buffer Help

    ... tasks, OSC messages, and capabilities related to server-side buffers – see the examples lower down this document for many examples of using Buffers for sound playback and recording. Buffers are commonly used with PlayBuf , RecordBuf , Disk ...

  4. Environment Help

    ... ions within an Environment, so it returns the return value of the function. For example ( a = Environment .make({ ~a = 100; ~b = 200; ~c = 300; }); a.postln; ) creates an environment, while a.use({ ~a + ~b + ~c }).postln; evaluates the func ...

  5. ListComprehensions Help

    ... se the 'all' message to collect all of the Routine's results into a list. A few examples all {: x/(x+1), x <- (1..5) } [ 0.5, 0.66666666666667, 0.75, 0.8, 0.83333333333333 ] all {:[x,y], x <- (1..3), y <- [ \a , \b , \c ] } [ [ 1, a ], [ 1, ...

  6. PG_Cookbook07_Rhythmic_Variations Help

    ... s just one pattern; wrapping Plazy in Pn does it many times.) The logic in this example is a bit more involved: for each measure, start with arrays containing the basic rhythmic pattern for each part (kick drum, snare and hi-hat) and insert ...

  7. PG_08_Event_Types_and_Parameters Help

    ... ynchronizing sonic events that should play together. PG_06g_Data_Sharing has an example of its use to pass data from a bass pattern to a chord pattern. \sustain: Number of beats to wait before releasing a Synth node on the server. The Synth ...

  8. Writing-Classes Help

    ... w is called and an object is actually created and its memory allocated. // this example adds no new functionality *new { ^ super .new } // this is a normal constructor method *new { arg arga,argb,argc; ^ super .new.init(arga,argb,argc) } in ...

  9. List Help

    ... of 10 "counting" algorithms. The algorithms are numbered 1 through 10. Run the examples to see the algorithms. Lis t[1, 2, 3, 4].pyramid(1).postln; ( 10.do({ arg i; Lis t[1, 2, 3, 4].pyramid(i + 1).postcs; }); ) lace(length) Returns a new ...

  10. SCEnvelopeView Help

    ... yval) fixedSelection_ (bool) allConnections_(arg1) allConnections doMetaAction Examples // use as envelope view ( //use shift-click to keep a node selected w = Window ( "envelope" , Rect (150 , Window .screenBounds.height-250, 250, 100)).f ...

prev 51 52 53 54 55 56 57 58 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow