Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (211) Code (33) Doc (65) Help (25) Quark (88) SCDoc ↗ Forum ↗ Google ↗
  1. more-score Quark

    // test //-- INIT SynthDef(\sinmore, { OffsetOut.ar(0, Env.perc(0.001, 0.1, \amp.kr(0.1)).ar(doneAction: 2) * SinOsc.ar(\freq.kr * [1, 1.1])) }).add; s.sync; //-- PLAY ( ~xmore.stop; // for live coding, stop any old one. ~xmore = Task { var ...

  2. BeaconClock test Quark

    ... lick, { var click; click = Impulse.ar(0); DetectSilence.ar(click,doneAction:2); OffsetOut.ar(0, click * 0.5); }).add; ) Pbind(\instrument, \click, \freq, Pfunc({"beats: % tempo: %\n".postf(~clock.beats, ~clock.tempo); rrand(440, 1200) })).p ...

  3. Impulse Help

    ... play; an Impulse with frequency 0 returns a single impulse: SynthDef ( \imp , { OffsetOut .ar(0, Impulse .ar(0)); FreeSelf .kr( Impulse .kr(0)); }).add; fork { (1 / (1..60).scramble).do { |dt| Synth .grain( \imp ); dt.wait } };

  4. OffsetOutBug Quark

    ... n, bus.busArg], addAction:\addToTail); } }); ) ( s.waitForBoot({ SynthDef(\1, { OffsetOut.ar(\out.ir(0), DC.ar([1, 1])) }).add; SynthDef(\2, { \in.ar([0, 0]).poll }).add; s.sync; s.bind { var bus, s1, s2; bus = Bus.audio(s, 2); s1 = Synth(\ ...

  5. 01_test Quark

    ... sine(sustain, amp), doneAction:2);\ u = Pan2 .ar( SinOsc .ar(freq), pan, env);\ OffsetOut .ar(out, u)\ \).store;\ );\ \ \ g.addResponder( \ , \ |t,r,m| Synth .grain( \ , m[1..]) \);\ f.sendToAll( \ );\ f.sendToAll( \ , \ , 8000 + 4000.rand) ...

  6. hommage à l'impressionnisme by pyoungryangko (prko) Code

    ... se.ar(1!2)); env = EnvGen.kr(Env([0,1,0], [atk, rls], -5), doneAction:2); OffsetOut.ar(0, snd * env); }).add; s.sync; { var numDo, ptchs, frqs, rngs, amps; numDo = 200; ptchs = (21, 23..135); frqs = { (ptchs.wcho ...

  7. Epic Sax Guy (cheap version) by rukano (rukano) Code

    ... .5); snd = snd * EnvGen.ar(Env.asr(0.01,1,0.01), gate, doneAction:2); OffsetOut.ar(out, snd * amp); }).add; // yep, an organ with a sub bass tone :D SynthDef(\organ, { |out, freq=440, amp=0.1, gate=1| var snd; snd = ...

  8. Cars by dsastre (DSastre) Code

    ... 0) * [fm1,fm1,fm2,fm1])/1000) ); OffsetOut.ar(11, e1b + overtone[1]); e2b = e2b + overtone[2]; OffsetOut.ar(13, e2b); e2a = e2a + overtone[0]; Offset ...

  9. sync looper by ovo (ovo) Code

    ... uf)*rate,0, BufFrames.kr(buf)); SendReply.kr(t_stop, '/loopStopRec', dur); OffsetOut.ar(sync,phs); }).send(s); SynthDef(\syncPlay, {|out=0, sync=8, buf, rate=1, amp=1, stop, atk=0.003, rel=100| var snd, phs, env, gate; phs = In ...

  10. InFeedback Help

    ... ssigning it to an argument in a SynthDef. When the various output ugens ( Out , OffsetOut , XOut ) write data to a bus, they mix it with any data from the current cycle, but overwrite any data from the previous cycle. ( ReplaceOut overwrite ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow