Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. startup00-ddwSynths Quark

    ... eMethod), \ddwSynths); // use a pair of enveloped PlayBufs to avoid clicks when looping back on the sample SynthDef(\bufRoll, { |start, time = 1, bufnum, rate = 1, amp = 1, strokesPerSec = 18, attack = 0.002, decay = 0.01, // attack and dec ...

  2. rewriteString Doc

    ... = { |str| fork { var m = str.iter.rewriteString(r, level); var b; Char.nl.post; loop { b = m.next; if(a.notNil and: b.isNil) { "\n".post }; (b ? "").post; if(b.isNil) { nil.yield }; Synth.grain(\p, [\freq, b.ascii - 97 * 200 + 300]); 0.04.w ...

  3. Sample Quark

    BufferProxy { // blank space for delays, loopers etc. var <>buffer,<patchOut,<readyForPlay = false,<server; var <>size=0,<>numChannels=1,<>sampleRate=44100.0; // while building the synth def... var <>forArgi,bufnumControl; *new { arg numFra ...

  4. Sample Quark

    BufferProxy { // blank space for delays, loopers etc. var <>buffer, <patchOut, <readyForPlay = false, <server; var <>size=0, <>numChannels=1, <>sampleRate=44100.0; // while building the synth def... var <>forArgi, bufnumControl; *new { arg ...

  5. Pdef Doc

    ... nstrument, \Pdefhelp, \dur, 0.25, \degree, Pseq(#[4, 3, 1, 2]*3))); // infinite loops are scheduled (to ths clock's next beat by default) and released: Pdef(\a, Pbind(\instrument, \Pdefhelp, \dur, 0.753, \degree, Pseq(#[0, 5, 4, 3, 2], inf) ...

  6. runner Quark

    ... tant).and(more[2].isNil) } //this means that the graph sequence is finished. No loop {this.removeActant(more[4]) } } gui { arg step = 35, controlNum ; RunnerGUI.new(this, step, controlNum: controlNum).connectAllActants } clock { arg x = 0, ...

  7. Event patterns and Functions Quark

    ... nes q.nextN(60); This example was still similar to the ones before, basically a loop modified by a factor. But imagine that a Plazy could give out arbitrary new Patterns, the choice itself could depend on an environment-dependant parameter. ...

  8. SoundFile Help

    ... e will be 0. Checking the array size is an effective termination condition when looping through a sound file. See the method channelPeaks for example. openWrite(inPathname) Write the header of a file. Answers a Boolean whether the write was ...

  9. SCWindow Help

    ... 3) + 1.5pi) * much + 1 }; var scale; Pen .font = Font ( "Helvetica-Bold" , 40); loop { i = i + 1; string.do { |char, j| scale = func.value(i, j).dup(6); Pen .fillColor = Color .new255(0, 120, 120).vary; Pen .matrix = scale * #[1, 0, 0, 1, 1 ...

  10. How_to_create_a_description_file_for_OSC Doc

    ... *[ 1, 1, 0, 0, 1 ].scramble ); // send new random states ( Tdef( \autoaction, { loop { n.sendMsg( "/buttons", 2.rand, 2.rand, 2.rand, 2.rand, 2.rand ); 1.0.wait; }; }).play; ); m.free; ⧉ ✔ As in the simple input examples, we can use an argT ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow