Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (211) Code (16) Doc (84) Help (31) Quark (80) SCDoc ↗ Forum ↗ Google ↗
  1. NPxdef Quark

    ... s it by using Pdef and the symbol of the nodeproxy's variable name (at least in proxyspace). Since the actual lookup is done in the Pdef's dictionary, you can easily interchange NPdef and NPxdef with one another, to change the event type. S ...

  2. launchcontrolXL_jitlib Quark

    ... // get proxies by name q.pxes = q.names.collect { |key| Ndef(key) }; // ... or ProxySpace variant: p = ProxySpace.push(s.boot); q.pxmix = ProxyMixer(p); q.names.collect { |key| p.put(key, q[\sndFunc]) }; // get proxies by name q.pxes = q.n ...

  3. JInT_Bender Quark

    ... .new k.start k.stop k[0].action = {|me| me.value.postln} k[0].action = nil p = ProxySpace.push(s) ~a = {SinOsc.ar!2} // watch the volume ~a = { Splay.ar((1..5).collect{|i| SinOsc .ar(k[i].kr.exprange(400, 800))}) * k[0].kr.range(0, 1) } ~a ...

  4. UC33Ktl Quark

    ... controllers. See also: UsingMIDI , CCResponder , MIDIIn First example // make a ProxySpace and a mixer for it, map the NanoKtl to it p = ProxySpace .push(s.boot); m = ProxyMixer (p, 16); // put some proxies in it ( 8.do { |i| p[( "test_bla" ...

  5. ProxyMeter Quark

    ... Server.default = s = Server.local; s.makeWindow; s.boot; q = q ? (); p = p ?? { ProxySpace.new }; p.push; m = ProxyMixer(p, 8); ) // make some proxies ( ~a = { Ringz.ar(Dust.ar([1, 1]), [600, 800], 0.05) }; ~b = { Dust.ar([20, 80, 320]) * 0 ...

  6. KeyPlayer Quark

    ... har).release }); }; KeyPlayer.gui.front; ) KeyPlayer(\px); // stop and resume a proxyspace: p = ProxySpace .push; KeyPlayer(\px).put($p, { p.do( _ .pause) }); KeyPlayer(\px).put($r, { p.do( _ .resume) }); // David Cottle example IIRC ~test ...

  7. jitlib-hacks Quark

    ... how to hack core effects and combine them with Ndef. This can also be done with ProxySpace of course. Notice that in general, it is equivalent: Ndef(\x, { PinkNoise.ar }).play with: p = ProxySpace.push(s.boot); // as preparation ~x = { Pink ...

  8. JInT_TriggerFinger Quark

    ... USB Trigger Finger" }.uid ) k.start // get information on device k.info p = p ? ProxySpace .push(s) ( ~x = { SinOsc .ar(k.at([ \c1 , \c2 ]).collect( _ .kr).poll.lag(0.025) * 400 + [400, 800]) // SinOsc.ar(k.at([\c1, 11]).collect(_.kr).lag(0 ...

  9. startup_example_customize Quark

    ... ; // JIT preparation q = q ? (); // make a global dictionary for everything p = ProxySpace.push(s); // make a proxyspace and push it. q.numChans = 8; // number of channels of audio setup //text editor tweaks & Library Menu Platform.case(\os ...

  10. JInT_PocketControl Quark

    ... t.value.postln} k[\c1].action = nil // get information on device k.info p = p ? ProxySpace .push(s.boot) p.makeTempoClock var spec = [1, 4].asSpec; k[\c16].action = {|jint| p.clock.tempo = spec.map(jint.value(0)); } ~y = {Impulse.ar(~tempo) ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow