Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... d= SyntheticData(initAction: {|b| b.start}); //synthetic test data //var board= PlaybackData("~/Desktop/OpenBCI-RAW-2019-04-10_19-04-26.txt", initAction: {|b| b.start}); //file data //var recorder= DataRecord(board).start; //uncomment to re ...

  2. 013-attraction4 Quark

    ... 1, o.mass/12); Pen.fillRect(Rect.aboutPoint(o.loc.asPoint, 0.5, 0.5)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  3. model-view-controller Quark

    ... ~controller = Dependants({ |freq=70| Blip.ar(freq, 16) + Pulse.ar(freq) * 0.1 }.play); ~controller.addDependant(~obj1); ~controller.addDependant(~obj2); ~controller.set(\freq, 34); ~controller.set(\freq, 600); /* ~view = ExtendableObject(EZ ...

  4. 044-pendulum-1d Quark

    ... c); Pen.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); ) /* //manual control a.addForceAngular1D(30) a.addForceAngular1D(5) a.addForceAngular1D(-5) a.pendulumOffset1D a.pendulumLoc ...

  5. TestTimeZeroSchedOne Quark

    ... .perc(releaseTime:\rel.kr(1)), doneAction:2) }, freq: 440, rel: 2, dur: 0.25 )).play; //s.plotTree }); ) //Fix this a.from(100, \freq, time:0, sched:0) a.from(100, \freq, time:0, sched:1) a.from(100, \freq, time:0.5, sched:0) a.from(400, \f ...

  6. PLslide Quark

    ... 62, 70, 71, 72, 80, 81, 82]; ) // run ( x = Pbind ( \midinote , p, \dur , 0.2 ).play; ) // replace list elements ~a[0] = 60.5; ~a[8] = Pseq ([92, 80.5], 1); // len and step can be replaced by Patterns // PLseq defaults to repeats = inf ~len ...

  7. EQSpec1 Quark

    ... Action, synth, <>parent, <>gui; *initClass { var dir; // if the band is already playing, this.play(target) moves the synth // rather than making a new one. This dictionary converts add messages // into move messages. translateMethods = Iden ...

  8. gui_example_userview_fft Quark

    ... edTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ) ~ibva.setFilterCutoff(0.5); ~ibva.setFilterCutoff(0.25); ~ibva.setFilterCutoff(0.75); ~ibva.sr= 200;

  9. oldVersionTeleClock2 Quark

    ... oClock \\ \ var <dt = 0.1, <>verbose = false ;\ var fadeTask, fading= false , isPlaying= true ;\ var <rateOfChange = 1.0;\ \ tempo_ \ arg newTempo;\ newTempo = max(newTempo, 1e-256); // zero not allowed. \ rateOfChange = newTempo / this .te ...

  10. MultiSplineFr Quark

    ... nvir, nil )) }); MxUnit(sfr, inlets, outlets); }, frameRateDevice: { ~source }, play: { arg group, atTime, bus; }, stop: { arg atTime, andFreeResources = true; }, save: { ~source.storeArgs }, load: { arg data; MultiSplineFr(*data) }, spec: ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow