Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. red05 Quark

    ... erEnd.position.y)); }; Pen.stroke; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...

  2. MarkovPatterns Quark

    ... e) asStream { if(markovset.order > 1, { "not yet implemented".postln; ^nil }); ^Routine.new({ arg inval; var items, bag; items = [markovset.seeds.choose, 1, 1]; length.do({ if(items.notNil, { bag = markovset.dict.at(items.at(0)) }); items = ...

  3. GanglionSerial Quark

    ... 00DRM0", argBaudrate, crtscts:true); CmdPeriod.add(this); this.softReset; task= Routine({this.prTask}).play(SystemClock); } close { "%: stopping and closing serial port".format(this.class.name).postln; task.stop; port.close; CmdPeriod.remov ...

  4. Actant Quark

    ... for RT sequencing: because of this aspect, it can be thought as a wrapper for a Routine . The task simply navigates the graph. From the starting vertex, it chooses randomly among the edges departing from it, sets the ending vertex as the ne ...

  5. EntityRepresentation Quark

    ... )} ); } addEntityAndRepresentation{ arg delay; entity.queuedForAddition_(true); Routine{ if(delay.notNil) {delay.wait}; if (entity.active.not){entity.add}; this.addRepresentation; }.play; } addRepresentation{ repManager.add(this); } storeEn ...

  6. ndef-menu-choice Quark

    ... def.key ) }; ##### */ q.choiceNewNdefFunc = {|env, slotIndex, choiceIndex, key| Routine{ // var a = q.allSoundNames[slotIndex]; var path = q.allSoundPaths.detect{|path| path.contains(key) }; var choiceNdef = Ndef(key.asSymbol); var choiceOl ...

  7. step3-source Quark

    ... de(\radpostcont); }); }; }, check: { Ndef('track1').get('volume') == -6 } ); // Routines started inside withSource keep the source; ~variables written // inside it land in the surrounding environment; outside, there is no source. ~radTest.( ...

  8. HrSimpleModulator Quark

    ... lator : HadronPlugin { var synthInstance, prOutBus, postOpText, postOpFunc, pollRoutine, modControl, startButton; *new {|argParentApp, argIdent, argUniqueID, argExtraArgs, argCanvasXY| var numIns = 1; var numOuts = 0; var bounds = Rect((Win ...

  9. ServerPatternTriggering2 Quark

    ... on: Done.freeSelf); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]).add; ) ( Routine.run({ ~numSynths = 10; ~freqBuffers = Buffer.alloc(s, ~numSynths, 1); s.sync; ~synths = ~numSynths.collect({ | index | Synth.newPaused(\defaultP, [\freq ...

  10. Controller.help Quark

    ... earWarp), 0.1); c[4].setup("Scale", ControlSpec.new(0, 1, LinearWarp), 0.0, 3); Routine.new({ var d; d = [[0, 2, 4, 5, 7, 9, 11], [0, 2, 3, 5, 6, 8, 9, 11], [0, 2, 4, 6, 8, 10]]; inf.do({ arg n; var f; f = (d[c[4].state].choose + 48 + [-12, ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow