Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (243) Code (19) Doc (75) Help (19) Quark (129) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Neuromodule-Stream-test Quark

    ... ; sig = SinOsc.ar(freq, 0.5pi) * env * amp; OffsetOut.ar(out, sig); }).add; ) ( Tdef(\x, { loop { var dt = 0.1; ( instrument: \gabor, note: ~module.next * 4, sustain: dt * 1.5, // 50% overlap width: 0.3 ).play; dt.wait; }; }).play ) // play ...

  2. 1_Republic_distributedEvents Quark

    ... ) (instrument: \xxy, freq: 500, server: t).play // make a gui where you see all Tdefs (task proxies): TdefAllGui(12); // put together a little task that combines events, and // plays them on some servers: ( Tdef(\x2, { var servers = r.serve ...

  3. RepublicOneBigGui Quark

    ... q.rg.zone.resize_(1); q.rg.zone.bounds_(q.rg.zone.bounds.height_(500)); q.tg = TdefAllGui(8, parent: w); q.pg = PdefAllGui(8, parent: w); q.pg.zone.bounds_(q.pg.zone.bounds.moveTo(510, 5)); Tdef(\next); Tdef(\stop); Pdef(\ida); Pdef(\knowh ...

  4. AnotherSynth_randMouse Quark

    ... 40) * (1 - env) ).sum; Out.ar(out, son * env * 0.1); }).share; ) // repeat it ( Tdef(\x, { loop { 0.5.wait; (instrument: \xxy, freq: 600, server: r.servers.choose).play } }).play ) // get a mouse value from sending machine, // and use it to ...

  5. 1a_osc_nUFO Quark

    ... sg, time| if (NTMI.nUFO.lastInTime == 0 or: { NTMI.nUFO.timeSinceLast > 10 }) { Tdef(\allLEDs).play; }; NTMI.nUFO.deviceName = \xosc; NTMI.nUFO.lastInTime = time; }, "/imu").permanent_(true); /* // test wakeup ballet: // if first time, or l ...

  6. 9b_nanoKtl_demo Quark

    Butz(\NTMI_DEMO).add(\Demo_nanoKtl, { Tdef(\Demo_nanoKtl).play }); /* Tdef(\Demo_nanoKtl).stop.play; Tdef(\Demo_nanoKtl).stop; */ ( Tdef(\Demo_nanoKtl, { var myname = \Demo_nanoKtl; "\n\n*** Tdef('%') starts!\n\n".postf(myname); Butz(\NTMI) ...

  7. extRepublicShout Quark

    /* ( Tdef(\testShout, { loop { r.shout("hey," + r.nameList.choose + "- watch out!"); rrand(2.0, 5.0).wait }; }).play; ) */ + Republic { shout { |str| str = str ? ""; this.send(\all, '/hist', nickname, Shout.tag + str) } }

  8. xosc_ballet Quark

    ... me| // if (NTMI.nufo.lastInTime == 0 or: { NTMI.nufo.timeSinceLast > 10 }) { // Tdef(\allLEDs).play; // }; // NTMI.nufo.deviceName = \xosc; // NTMI.nufo.lastInTime = time; // }, "/imu").permanent_(true);

  9. 1a_Butz Quark

    ... ('PUBLIC')); Butz.add('ndefmix', { WinBounds.showOrMake(\ndefmix) }); Butz.add('Tdef.all', { WinBounds.showOrMake('Tdef.all') }); Butz.add('Pdef.all', { WinBounds.showOrMake('Pdef.all') }); Butz.add(\DRAW, { WinBounds.showOrMake(\DRAW) }); ...

  10. 1_flatcat_NTMI_advanced Quark

    ... lue; NTMI.flatcat.sendDrift.value; */ // simulate slowly drifting flatcat moves Tdef(\flatcatSim).addSpec(\drift, [0, 0.1]); Tdef(\flatcatSim).set(\drift, 0.03); Tdef(\flatcatSim, { |env| loop { 0.05.wait; NTMI.flatcat.sendDrift(env.drift); ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow