Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... n SuperCollider recompiles or starts. The default filename is "/archive.sctxar" Examples // make a storage place for various objects: q = (); // Event q[ \a_long_array ] = Array .rand(128, 0.0, 1.0); q[ \pi_squared ] = pi * pi; q[ \favourit ...

  2. SynthDefsVsSynths Help

    ... this for you, and returns a Synth object which you can then manipulate. See the example below. Another important distinction is between Synth in SC2 and Synth in SC3. The latter is a client-side object which represents a synth node on the s ...

  3. Unpack1FFT Help

    ... ect , pvcalc , and pvcalc2 processes. You're welcome to use it on its own - the example below shows basic usage. But most people won't typically need to use it directly. ( s.boot.doWhenBooted{ c = Buffer .read(s, "sounds/a11wlk01.wav" ); } ...

  4. SystemClock Help

    ... 0.1pi)*0.5+0.5; }.defer; }); 1.yield; w.close; }); SystemClock .play(r); ) This example is only to show how to make calls to Cocoa/GUI when scheduling with the SystemClock. If you only wish to control the GUI, use AppClock.

  5. SCQuartzComposerView Help

    ... can still call or override these as needed. doesNotUnderstand (selector, args) Examples ////////// Simple example ( w = SCWindow ( "Simple QC Test" ).front; b = SCButton (w, Rect (0, 0, 150, 20)) .states_([[ "pick another QC file" ]]) .act ...

  6. PG_Ref01_Pattern_Internals Help

    ... able to do something that is otherwise impossible in the language.) For a quick example, consider a routine that is supposed to multiply the input value by two. First, the wrong way, assuming that everything is done by the function argument ...

  7. Spawning Help

    ... i of different sequences of events) you can use TempoClock . A simple SC2 Spawn example is shown below, followed by its translation into SC3 style code. // This will not execute in SC3 ( Synth .play({ Spawn .ar({ EnvGen .ar(Env.perc) * SinO ...

  8. UsingMIDI Help

    ... ramChangeResponder See "Playing notes on your MIDI keyboard" below for a simple example using the note-on and note-off responders. Receiving MIDI input: MIDIIn MIDIIn has a number of class variables holding functions to be evaluated when a ...

  9. Dpoll Help

    ... Server in intensive for the CPU. Poll should be used for debugging purposes. // examples { Duty .kr(0.5, 0, Dpoll ( Dseries (0, 1, inf ) * 2)); 0.0 }.play; // posts only when cursor is in right half of the screen { Duty .kr(0.5, 0, Dpoll ( ...

  10. MultiLevelIdentityDictionary Help

    ... e chain, removing empty dictionaries as it goes. This is slower but cleaner. // Example of the difference between removeAt and removeEmptyAt m = MultiLevelIdentityDictionary .new; m.put( \a , \b , \c , 1); m.removeAt( \a , \b , \c ); m // n ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow