Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (101) Code (6) Doc (30) Help (20) Quark (45) SCDoc ↗ Forum ↗ Google ↗
  1. XiiSynthDefs Quark

    ... = AudioIn.ar(2) * volR; ampl = Amplitude.kr(left); ampr = Amplitude.kr(right); SendTrig.kr(Impulse.kr(updateRate), 800, ampl); SendTrig.kr(Impulse.kr(updateRate), 801, ampr); Out.ar(out, Pan2.ar(left, panL)); Out.ar(out, Pan2.ar(right, pan ...

  2. zkarpluck1 Quark

    ... ostln }).add; o.remove; // when done, you need to clean up the OSCresponderNode SendTrig.kr(Impulse.kr(1), 0, freq); // in synthdef */ /* freq amp 0 - 1 gate 0, 1 pos 0 - 1; pluck position c1 ?? Inverse of DC decay time. c3 ?? Hight frequen ...

  3. play Help

    ... etOut Nevertheless, synths can also run without any writing activity: (see e.g. SendTrig ) Some operations provide an out ugen internally : see for example function.play , which plays out to a bus number provided in the argument passed to . ...

  4. SimplePlayerEffect Quark

    ... if freq is bad in = in * good * EnvGen.kr(env,gate,doneAction:0); // phone home SendTrig.kr(1.0-A2K.kr(good),1,in); if(limit,{ in = Limiter.ar(in) }); if(numChannels.notNil,{ in = NumChannels.ar(in,numChannels,true); }); ReplaceOut.ar(i_bus ...

  5. SimplePlayerEffect Quark

    ... freq is bad in = in * good * EnvGen.kr(env, gate, doneAction:0); // phone home SendTrig.kr(1.0-A2K.kr(good), 1, in); if(limit, { in = Limiter.ar(in) }); if(numChannels.notNil, { in = NumChannels.ar(in, numChannels, true); }); ReplaceOut.ar ...

  6. zkarpluck2P Quark

    ... _trigDel = TDelay.kr(t_trig, delTrigSecs); //incidence = incidence.clip(0,1); //SendTrig.kr(Impulse.kr(1), 0, amp); env = Env.perc(0.005,0.01,1,0); // the filter blows up for lower Q values (like 1), some experimenting with smoothing the lp ...

  7. pbell1 Quark

    ... be amp = amp * 0.1; // static gain adjustement -- incidence = abs(incidence); //SendTrig.kr(Impulse.kr(1), 0, incidence); correctionGain = 4- ( (1 - incidence )**0.5); // compensate for more wider pulse energy pulseWidth = 1 + (35 * ( 1 - i ...

  8. spinning doughnut by fredrik-olofsson (Fredrik Olofsson) Code

    ... orBoot{ OSCFunc({|m| amp= m[3].explin(0.01, 1, 0.667, 1)}, \tr, s.addr); {SendTrig.kr(Impulse.kr(60), 0, Amplitude.kr(SoundIn.ar, 0.1, 0.4)); DC.ar(0)}.play; }; CmdPeriod.doOnce({w.close}); )

  9. sndBuffer2 Quark

    ... ostln }).add; z.remove; // when done, you need to clean up the OSCresponderNode SendTrig.kr(Impulse.kr(1), 0, freq); // in synthdef */ // uses a delay of two blocks to avoid transient mangulation by supernova // args: \note, #[ midiPitch60 ...

  10. startup21-clientfft Quark

    ... node.tryPerform(\nodeID) }); buf.notNil.if({ switch(m[2]) // switch is based on SendTrig id arg { -1 } { buf.status = \record; buf.dur = nil; // set flags so we know when all messages buf.peak = nil; // have come in buf.ontimes = List.new; ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow