Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. Demo of Model-View-Controller design by 0-cM (jamshark70) Code

    ... internally (which is why I'm using it for this example!). - View: The GUI display -- a Slider, in this case. The view knows who its model is, and should respond to user action by updating the model. - Controller: An object that receiv ...

  2. 260-oscillators Doc

    ... elta.abs*10+0.25).min(1), 0.8); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); ~world= world; ) ~world.objects.do{|o| o.coupling= 0.005}; ~world.objects.do{|o| o.phase= 2pi.rand}; //random phases ~world.o ...

  3. 260-oscillators Quark

    ... elta.abs*10+0.25).min(1), 0.8); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); ~world= world; ) ~world.objects.do{|o| o.coupling= 0.005}; ~world.objects.do{|o| o.phase= 2pi.rand}; //random phases ~world.o ...

  4. Pitch Doc

    ... llpassN.ar(sound, 0.040, [0.040.rand, 0.040.rand], 2) }; Out.ar(out, sound); }).play ) ⧉ ✔ ( SynthDef("pitchFollow2", { |out| var in, amp, freq, hasFreq, sound; in = Mix.new(SoundIn.ar([0, 1])); amp = Amplitude.kr(in, 0.05, 0.05); # freq, h ...

  5. korg-nanokontrol2.desc Quark

    ... (key: \stop, \midiNum: 42, \label: \stop, \style: (row: 3, column: 2)), (key: \play, \midiNum: 41, \label: \play, \style: (row: 3, column: 3)), (key: \rec, \midiNum: 45, \label: \rec, \style: (row: 3, column: 4)), (key: \cycle, \midiNum: 4 ...

  6. AlgaPatternInterpStreams Quark

    ... vidual AlgaPattern. It's used on the pattern loop to retrieve //which synths to play, and their current state. AlgaPatternInterpStreams { var <algaPattern; var <server; //The time entries var <>dur, <>durAlgaPseg; var <>sustain, <>sustainAl ...

  7. CVCenter Doc

    ... 22, 227, 238], ampLeft=0.3, ampRight=0.3| var son = SinOsc.ar(freq); Out.ar(0, Splay.ar(son) * [ampLeft, ampRight]); }).add ) ( #[lo, hi].do({ |slot| CVCenter.use(\amp, slot: slot) }); // a 2D-widget for 'amp' 4.do({ |i| CVCenter.use("freq" ...

  8. SubsampleOffset Help

    ... \Help_Subsample_Grain , -1, 1, 1, \freq , 1000]); rrand(0.001, 0.002).wait; } }.play; )

  9. instrSupport Quark

    ... tToPatchIn {} prepareToBundle { arg group,bundle; this.makePatchOut } prepareForPlay { arg group,private,bus; var bundle; bundle = AbstractPlayer.bundleClass.new; group = group.asGroup; this.prepareToBundle(group,bundle); bundle.send(group. ...

  10. Interface Quark

    Interface : AbstractPlayerProxy { var <interfaceDef,<args,environment; var <>onPrepareToBundle, <>onPlay, <>onStop, // also on command-. <>onFree, // not on command-. <>onNoteOn, <>onNoteOff, //<>onPitchBend, <>onCC, <guiFunction, <guiBodyF ...

prev 461 462 463 464 465 466 467 468 469 470 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow