Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (714) Code (40) Doc (222) Help (57) Quark (395) SCDoc ↗ Forum ↗ Google ↗
  1. playInMixerGroup Quark

    ... s.index, i_out: mixer.inbus.index )); this.event = protoEvent; ^this.play(args[\clock], args[\doReset], args[\quant]); } } + Pattern { playInMixerGroup { |mixer, target, patchType, args| args ?? { args = () }; ^this.asEventStreamPlayer(args ...

  2. XMLVoice Quark

    ... ); // create a B-flat major scale in quarter notes // uses XMLVoice's internal 'clock' to keep track of beats [58, 60, 62, 63, 65, 67, 69, 70].do({ arg keynum; y.add( XMLNote (keynum, y.now, \e )); y.now_(y.now.ceil); }); // output the XMLS ...

  3. XMLPart Quark

    ... ); // create a B-flat major scale in quarter notes // uses XMLVoice's internal 'clock' to keep track of beats [58, 60, 62, 63, 65, 67, 69, 70].do({ arg keynum; y.add( XMLNote (keynum, y.now, \e )); y.now_(y.now.ceil); }); // output the XMLS ...

  4. Participation.test Quark

    ... l( '/dont' , "go there!" );\ e.stop; f.stop;\ \ \ ///////////////////////////// clock sync //////////////////////////// \ \ // ClockSync sets the TempoClock.default to a new instance of TempoClock. \ \ e = ClockSync (c).start;\ f = ClockSyn ...

  5. SCLOrkSamples Quark

    ... ff, remove node from currentSynth button.value = 0; currentSynth = nil; }).play(clock: AppClock); // end of routine code }, { [key, "either buffer or numChannels was nil"].postln; }); }, { // if user turns off a button directly, // stop cur ...

  6. RadTest Quark

    ... str.copyToEnd(pos) }.(s); // A timed recording's loop rate is measured from the clock, so it can differ // in any decimal between runs: compare it as "measured", not by value. s = {|str| var out = "", pos = 0, key = "'triggerRate', "; str.f ...

  7. XiiSynthDefs Quark

    ... length=1, rate=1, fps=12, index=0; //, trig=1, resetpos=0; var len, st, offset, clock, env, sound, left, right, phasor; len = length * BufFrames.kr(buffer); // scale from range 0 - 1 to 0 - buflength in frames st = start * BufFrames.kr(buff ...

  8. AlgaNode Quark

    ... ; //Function to use in .play to clip var <playSafety = \none; //Scale time with clock's tempo var <tempoScaling = false; //On replace, use this scaling if possible. var <prevPlayScale = 1.0; //On replace, use this out if possible var <prevP ...

  9. VoicerProcessGroup Quark

    ... 1, 0.75, 1), gate, doneAction:2)) }).send(s); v = Voicer (15, "voicerprocess" ).clock_( TempoClock .default).latency_(0.2); // so you can play with filter v.mapGlobal( \rq , value: 0.15, spec: [0.05, 1]); v.mapGlobal( \ffreq , value: 1300, ...

  10. VoicerProcessGroup Quark

    ... 1, 0.75, 1), gate, doneAction:2)) }).send(s); v = Voicer (15, "voicerprocess" ).clock_( TempoClock .default).latency_(0.2); // so you can play with filter v.mapGlobal( \rq , value: 0.15, spec: [0.05, 1]); v.mapGlobal( \ffreq , value: 1300, ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow