Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... , b]); b.set(1.0); b.value = 1.0; b.value = 0.2; b.value = 0.1; compare with In example.

  2. CoinGate Help

    ... ween 0 and 1 determines probability of either possibilities trig input signal //examples ( a = SynthDef ( "help-TCoin" , { arg out=0, prob=0.5; var trig; trig = CoinGate .kr(prob, Impulse .kr(10)); Out .ar(out, SinOsc .ar( TRand .kr(300.0, ...

  3. PriorityQueue Help

    ... r the queue is empty. notEmpty Return a Boolean whether the queue is not empty. Example: ( var p; p = PriorityQueue .new; p.put(0.1, \a ); p.put(2.0, \b ); p.put(0.5, \c ); p.put(0.2, \d ); p.put(1.0, \e ); while ({ p.notEmpty },{ [p.topPri ...

  4. play Help

    ... addAction) returns: a Synth Note that you need an out ugen to hear the result. Examples of how to write to the busses in the helpfiles: Out / ReplaceOut / XOut / OffsetOut Nevertheless, synths can also run without any writing activity: (se ...

  5. Sequencing with Routines and Tasks Help

    ... it was stopped. Task is a variation that can be paused and resumed at will. For example, let's iterate over a C major scale. Note that all of SuperCollider's control structures are valid inside a Routine or Task. Note also that we can use ' ...

  6. LazyEnvir Help

    ... later. Per default, a LazyEnvir returns instances of Maybe . See also Fdef . // examples l = LazyEnvir .push; // default objects are created on access ~a; ~a.value; // defaults to 1 // operations on placeholders ( ~c = ~a + ~b; ~c.value; ) ...

  7. Dwhite Help

    ... or any other ugen structurally related: Pwhite , WhiteNoise see also: Demand // example // Dwhite ( { var a, freq, trig; a = Dwhite (0, 15, inf ); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc . ...

  8. Prewrite Help

    ... [ otherElements ], elem2 -> [ otherElements ], elem2 -> [ otherElements ] ] the examples use the shortcut for Event. ( a = Prewrite (0, // start with 0 ( 0: #[2,0], 1: #[0,0,1], 2: #[1,0,1] ), 4); x = a.asStream; 30.do({ x.next.postln }); ) ...

  9. Volume Help

    ... rgMin, argMax) set the volume range gui(window, bounds) create a volume gui. // examples v = s.volume; v.min; v.max; v.volume = rrand(-50, 5); v.setVolumeRange(-90, 8); v.mute; v.unmute; // separate window v.gui;

  10. SCCompositeView Help

    ... e up" to the parent view if a view does not define one itself. In the following example, a and b do not have keyDown actions themselves, so the key event is passed to c, the parent, which defines the key down action. d's parent is the SCTop ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow