Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    // maainstage clock and gui /////// Clock display shows how long something has been running /* Tdef(\clocK).gui; Tdef(\clocK).set(\isRunning, true); // jumps back to zero when stopped Tdef(\clocK).set(\isRunning, false); // watch some Tdef ...

  2. sawSynth-demo-extras Quark

    ... \rel, Pwrand([0.1, 0.01], [0.9, 0.1], inf), \hifreq, Pwhite(2000, 9000, inf) ).play; ) ( // Made by Diya Menon // Demo Pbindef(\dmsawSynth, \instrument, "sawSynth", \midinote, Pseq([ [52, 67, 71], 66, 67, 71, [40, 67, 71], 66, 67, 71, [76, ...

  3. InfluxKtlGui Quark

    ... { |a, b, c, d| SinOsc.ar( 440 * (2 ** [a, b, c, d])).sum * 0.1 }); Ndef(\four).play; // test attachDirect g.object.attachDirect(Ndef(\four), \four); // test attachMapped Ndef(\four).addSpec(\a, [0, 2]); Ndef(\four).addSpec(\b, [0, 2]); Nde ...

  4. TempoClick Quark

    TempoClick { // takes a tempoclock, plays impulses on a kr bus based on the clock classvar <>latencyFudge = 0; var <server, <clock, <bus, <subdiv, <nodeID, nodeIDBounce; var aliveThread, serverWatcher; *new { arg server, clock, bus, subdiv ...

  5. Pmsyn Quark

    ... s])); .put(\argPairs, msgFunc.valueWithEnvir(event)); inevent = event.yield; // play it syns = event[\syn]; // last played event ids = event[\id]; server = event[\server]; } { \monoSet } { event.put(\type, \synSet) .put(\syn, syns) .put(\id ...

  6. TempoClick Quark

    TempoClick { // takes a tempoclock, plays impulses on a kr bus based on the clock classvar <>latencyFudge = 0; var <server, <clock, <bus, <subdiv, <nodeID, nodeIDBounce; var aliveThread, serverWatcher; *new { arg server, clock, bus, subdiv ...

  7. 01_Basics Quark

    ... //Wait for definition to be sent to server s.sync; //Create an AlgaPattern and play it. //Unlike Pbind, AlgaPatterns use an Event to describe the parameter -> value mapping. a = AlgaPattern(( def: \sine, dur: 0.5 )).play(chans: 2, scale: 0 ...

  8. InstrGateSpawner Quark

    ... instr.specs.size, deltaSpec) ); conn = if(instr.outSpec.rate === 'control', {MxPlaysOnKrBus}, {MxPlaysOnBus}).new({igs.bus}, {igs.server}, {igs.group}); if(instr.outSpec.notNil, { outlets = [MxOutlet( (instr.outSpec.findKey ? instr.outSpec ...

  9. _SynthLib Quark

    ... .ar(out, Pan2.ar(x,pan, amp)); }).add; ); /****** test: (instrument: \ana_kick).play; (instrument: \ana_snare).play; (instrument: \ana_hat).play; (instrument: \kick_electro1).play; ******/ SynthDef(\pandeiro1, { |out, amp = 0.1, pan, drumfr ...

  10. JInT_PocketControl Quark

    ... {|jint| p.clock.tempo = spec.map(jint.value(0)); } ~y = {Impulse.ar(~tempo)} ~y.play ~y.clear ~y.fadeTime = 10 ( ~y = { Pan2 .ar( Mix .ar( LFPulse .ar( k[ \c1 ].kr.round(0.1).exprange(10, 400)!2 * [1, 1.4, 1.25, 1.246], [0, 0.5], k[ \c9 ].k ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow