Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1076) Code (138) Doc (359) Help (130) Quark (446) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Sync-Async Help

    ... SynthDef not found" ( var name; name = "Rand-SynthDef" ++ 400.0.rand; // use a random name to ensure it's not already loaded SynthDef (name, { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) }).send(s); Synth .new(name, s); ) A crude solution ...

  2. Functions and Other Functionality Help

    ... f = { 3.0.rand; }; // Here it's a Function. f.value; // 3.0.rand means return a random value from 0 to 3.0 exclusive. f.value; // something different f.value; // something different This means that by using the 'value' method Functions and ...

  3. PG_Cookbook06_Phrase_Network Help

    ... sm (finite state machine) to arrange a set of predefined phrases in a partially randomized order. Each phrase is followed by a list pointing to the phrases that could legitimately follow the current phrase. That is, it might make musical se ...

  4. Buffers Help

    ... t them b.setn(0, Array .fill(b.numFrames, {1.0.rand})); // fill the buffer with random values b.getn(0, b.numFrames, { |msg| msg.postln}); // get them b.free; There is an upper limit on the number of values you can get or set at a time (usu ...

  5. SCMultiSliderView Help

    ... tates_([[ "reference = nil" ],[ "reference filled" , Color .white],[ "reference random" , Color .yellow]]) .action_({ |b| b.value.booleanValue.if({ (b.value>1).if( {m.reference= Array .fill(n, {1.0.rand})}, {m.reference= Array .fill(m.size, ...

  6. PG_Ref01_Pattern_Internals Help

    ... e, Prand simply expresses its behavior as a 'do' loop, choosing 'repeats' items randomly from the list and embedding them into the stream. When the loop is finished, the method returns the input value (see below). Streams' input values (inv ...

  7. Color Help

    ... alpha - Transparency between 0 and 1 as Float . Default is 1. *rand (lo, hi) A random RGB Color where the colors are randomly chosen between lo and hi . See new . lo - An instance of Float between 0 and 1. Default value is 0.3. hi - An ins ...

  8. Writing_Unit_Generators Help

    ... _______________ TO DO: UGens which access buffers. UGens which use the built in random number generators.

  9. SynthDef Help

    ... en using UGens such as Rand . For example, the following def will have a single randomly generated frequency, which will be the same for every Synth based on it: ( SynthDef ( \help_notRand , { Out .ar(0, SinOsc .ar(rrand(400, 800), 0, 0.2) ...

  10. SCImage Help

    ... input image // you just have to create an image of a new size // ** The Simple Random Filter ** ( f = SCImageFilter .new( \CIRandomGenerator ); a = SCImage .new(500@500); a.applyFilters(f); w = a.plot(freeOnClose: true , background: Color ...

prev 11 12 13

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow