Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... t synthdef v.play; // plays default sound with held arpeggio Tdef(\a, { v.play; loop { 3.do { |j| (0, 3 .. 21).do { |note| var midinote = note + 60 - j; v.put(midinote, [\freq, midinote.midicps]); defer ({ v.release(midinote) }, 2); 0.25.wa ...

  2. TextView Doc

    ... ncrets"; t = TextView(bounds: Rect(300, 400)); t.string = text; t.front; fork { loop { 2.0.rand.wait; defer { t.setFont(Font("Times", rrand(12, 48)), rand(text.size - 1), rrand(3, 17)); t.setStringColor(Color.rand, rand(text.size - 1), rran ...

  3. 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 ...

  4. 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) ...

  5. 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 ...

  6. Event_patterns_and_Functions Doc

    ... 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. ...

  7. ZeroXBufRd Doc

    ... ithZeroX: 1, doneAction: 2); Silent.ar }.play ) // check the waveform b.plot // loop 3rd half waveset // compare plot and scope x = { ZeroXBufRd.ar(b, z, zeroX: 2) }.play s.scope x.release // loop a whole waveset // demand rate ugens in Zer ...

  8. DXMix Doc

    ... iSCellaneousDirs[0] +/+ "Sounds" +/+ "kitchen_sounds_1.wav"); // switch between looping PlayBufs ( x = { var sig = { DXMix.ar( Dxrand([0, 1, 2], inf), `(PlayBuf.ar(1, b, BufRateScale.kr(b) * [0.4, 1, 2.2], loop: 1)), stepTime: 0.2, fadeTime ...

  9. proxyspace_examples Doc

    ... 2.ar(u, pan)) }) ); // create a task to repeatedly send grains ( t = Task.new({ loop({ // starts a synth with the current synthdef at index 0 ~out.spawn([\pmf, [1, 20, 300].choose, \pan, [0, -1, 1].choose]); [0.1, 0.01, 0.25].choose.wait; } ...

  10. MFunc Doc

    ... as an MFunc as its action, it can have functions that record control values for looping, log control values in a file, send control values to any number of destinations, in parallel or exclusively send control values by network or whatever ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow