Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ltGetDrag The method called by default when initiating a drag. Returns object . Examples ( s.waitForBoot({ //only needed if you are using sound w= Window .new.front; // store various kinds of objects in the drag source // a string source a= ...

  2. MIDIResponder Help

    ... argument. The function should return true or false. For instance, the following example would respond to note on messages from any port, channels 2 and 7 only, even numbered note numbers only, and only velocity values greater than 50. NoteO ...

  3. Symbol Help

    ... mber or other math object and a Symbol is to return the Symbol. This allows for example operations on lists of notes which contain 'rest's to preserve the rests. Pseq ([1, 3, \rest , 2, 4] + 8); applyTo(firstArg ... args) Use the symbol as ...

  4. Scoping and Plotting Help

    ... e Suggested Exercise: Experiment with scoping and plotting some of the Function examples from earlier sections, or some Functions of your own creation. Try experimenting with different duration or zoom values. ____________________ This docu ...

  5. 6_Controls Help

    ... ////////////// Global variables The '~' character before aSynth in the previous example defines a global variable. An advantage to using a global variable is that it doesn't have to be declared explicitly, as in var aSynth; // variables wit ...

  6. Semaphore Help

    ... wise continue. signal unblock the semaphore, reschedule next pending thread. // example // allow only one thread ( c = Semaphore (1); fork { c.wait; "thread 1> now I am doing something for 10 seconds. Block the semaphore meanwhile." .postln ...

  7. Task Help

    ... . - Stopping a task and restarting it quickly may yield surprising results (see example below), but this is necessary to prevent tasks from becoming unstable if they are started and/or stopped in rapid succession. Task.new(func, clock) func ...

  8. Randomness Help

    ... "seed" number several times, you get the same sequence of random numbers. (See example below, randomSeed ) Create single random numbers: 1. Between zero and <number>: 5.rand // evenly distributed. 1.0.linrand // probability decreases linea ...

  9. Non-Realtime-Synthesis Help

    ... f you do not need an input sound file, then put "_" for the file name as in the example above. For details on other valid arguments to the scsynth app see Server-Architecture . This could be executed in SC as: "./scsynth -N Cmds.osc _ NRTou ...

  10. SCMultiSliderView Help

    ... e action . doMetaAction Not normally called directly (called by the primitive). Examples // basic ( n=20; w = Window .new.front; m = MultiSliderView (w, Rect (10,10,n*13+2,100)); //default thumbWidth is 13 m.value= Array .fill(n, { |v| v*0. ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow