Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (561) Code (137) Doc (157) Help (43) Quark (224) SCDoc ↗ Forum ↗ Google ↗
  1. Late morning by 0-2U (grirgz) Code

    ( ~t = 185/4/60; TempoClock.default.tempo = ~t; SynthDef(\blik, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var sig; sig = LFSaw.ar(freq * XLine.kr(1,4,8) * ( 1 + ( SinOsc.kr(1/21 * (1..8)) * SinOsc.kr(2*~t).range(0,0.1) ))); si ...

  2. README Quark

    ... ~lpf <>> ~eg <>> ~out; // now too quiet ~osc.set(\amp, 0.2); // run some notes TempoClock.tempo = 124/60; ~player = \psSet -> Pbind( \skipArgs, [\amp], \midinote, Pseq([Pn(36, { rrand(3, 8) }), 39], inf), \dur, Pwrand([0.25, 0.5], [0.9, 0. ...

  3. Pbjorklund Doc

    ... nOsc.ar(#[150, 160, 170], 0, e*0.4)); Out.ar(0, Pan2.ar(z, 0)); }).add; }; ) c= TempoClock(114/60); Pdef(\bd).play(c, quant:4) Pdef(\bz).play(c, quant:4) Pdef(\hh).play(c, quant:4) Pdef(\bd, Pbind(\instrument, \bd, \amp, 1)) Pdef(\bz, Pbind ...

  4. randomSeed Doc

    ... will inherit its unique random number generator. ( thisThread.randSeed = 1000; TempoClock.sched(0, { 1000.rand.debug("main RNG"); 1 }); fork { 2.1.wait; thisThread.randSeed = 1000; loop { 1000.rand.debug("routine RNG"); 1.wait } }; ) main ...

  5. Crap jazz by badnumbersmusic (badnumbersmusic) Code

    ... ine with a randomish jazz thing over the top. ( w=1;h=0.5;q=0.25;e=0.125; c = TempoClock.default; c.tempo = 2.3; m = ( scale: Scale.dorian, chord: 0, scaleChord: { |self,voicing| var notes = self.chord + voicing; Scale(se ...

  6. OSCIISlider Quark

    ... value, client code will poll this rather than the slider directly //so safe for TempoClock use etc slider.action_({arg sl; var val; val = spec.map(sl.value); valueText.string_(val.round(0.01)); lastval=val; }); } // end of main func // set ...

  7. BusDriver Quark

    ... dinit { // if values is of spec EventStreamSpec, throw an error (Pbind) sched = TempoClock.default; routine = Routine({ var val,server,beatsTillNext,beatLatency; server = this.server; latency = server.latency ? 0.05; beatLatency = Tempo.sec ...

  8. BusDriver Quark

    ... dinit { // if values is of spec EventStreamSpec, throw an error (Pbind) sched = TempoClock.default; routine = Routine({ var val, server, beatsTillNext, beatLatency; server = this.server; latency = server.latency ? 0.05; beatLatency = Tempo. ...

  9. PG_Cookbook07_Rhythmic_Variations Doc

    ... size); array.do({ |item, i| if(item == 0) { result.add(i) } }); result } ); ) ( TempoClock.default.tempo = 104 / 60; ~kikEnvir = ( parent: ~commonFuncs, // rhythm pattern that is constant in each bar baseAmp: #[1, 0, 0, 0, 0, 0, 0.7, 0, 0, ...

  10. ScGrids Doc

    ... 00)); Out.ar(out, Pan2.ar(sig, \pos.kr(0.0))); }).add; ) ( // setup a clock t = TempoClock.default; t.tempo = 130/60.0; // tdefs to play patterns Tdef(\hh, {|env| inf.do({|i| var level = ScGrids.calculateLevel( instrument: \hihat, curBeat: ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow