Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. zkarpluck0 Quark

    ... }; /* t.stop; a.free; // for test of "prop" and "event" messages { a=~function.play; s.sync; a.set(\outputDB, 0 ); a.set(\note, #[60, 1]); t = Task({ { a.set(\t_gate, 1); 1.wait;}.loop }); t.start; }.fork; // make DEBUGGING SLIDER window w ...

  2. startup01-events Quark

    // check SynthDescLib behavior for polySynthPlayer // polysynthplayer / trigger support for array args // voicer note must either have delta, length, gate specified or a single note as input - trying to get parms from array notes breaks // ...

  3. UScore example Quark

    ... , 0, { "done".postln } ); z.start( s, 0, true ); z.pause; // looped events keep playing z.resume; z.stop; z.start( s, 0, false ); // takes extra wait time for preparing events (depends on content) z.pos; // returns current position (keeps i ...

  4. NPVoicerSwitcher_realWorld_tests Quark

    ... current + saved(0..2) + released(0..2) q.sw.prime(\sine); // assign synth q.sw.play q.sw.current.put(48, [\freq, 48.midicps]); // a second note at 51 q.sw.current.put(51, [\freq, 51.midicps]); q.sw.current.release(51, 10); q.sw.swapCurrent ...

  5. 001-single Quark

    ... ithin world borders //--render Pen.strokeRect(Rect.aboutRedObject2D(o)); } }; w.play; CmdPeriod.doOnce({w.close}); )

  6. 042-pendulum3 Quark

    ... c); Pen.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )

  7. zzzzz-core-modules-that-come-last Quark

    ... dal parameters // "to" is an internal superdirt audio routing bus index. So you play audio to this bus. */ ~dirt.addModule('out_to', { |dirtEvent| var busses = ~dirt.audioRoutingBusses; var bus = busses.wrapAt(~to.asInteger); dirtEvent.send ...

  8. UScore example Quark

    ... , 0, { "done".postln } ); z.start( s, 0, true ); z.pause; // looped events keep playing z.resume; z.stop; z.start( s, 0, false ); // takes extra wait time for preparing events (depends on content) z.pos; // returns current position (keeps i ...

  9. 05_Interp_2 Quark

    ... Alga Alga.boot; //Sine a = AlgaNode({ SinOsc.ar(\freq.kr(440)) }, interpTime:3).play(chans:2) //LFO b = AlgaNode({ SinOsc.kr(2) }) //Connect. Notice the interpolation from 440 to the LFO over 3 seconds a.from(b, \freq, scale:[330, 550]) //R ...

  10. ClearDragSink Quark

    ... background = this.color.copy.alpha_( i.linlin(0,n-1,0.33,0) ); 0.2.wait; }); }).play( AppClock ); } stopTask { this.task.stop; this.task = nil; view.background = Color.clear; } doesNotUnderstand { |what ...args| var res; res = view.perform( ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow