Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (243) Code (19) Doc (75) Help (19) Quark (129) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 01_GuidedTour Quark

    ... def(\sins, { Splay.ar( SinOsc.ar({ exprand(50, 2000) }!12) ) * 0.1 }).play; ) ( Tdef(\sins, { loop { Ndef(\sins).rebuild; exprand(5, 20).wait; } }).play; ) Tdef(\sins).stop; Ndef(\sins).end; // on macOS, the examples folder is in the same f ...

  2. 5b_RandomOrbit_switcher Quark

    ... ng = true; defer { NTMI.ro.uv.refresh }; }; NTMI.ro.bits[index] = value; // use Tdef to unschedule if already NTMI.ro.endTask.stop.play; }; NTMI.ro.endTask = TaskProxy({ NTMI.ro.chordTime.wait; NTMI.bin.randOrb(NTMI.ro.num); NTMI.ro.lastval ...

  3. TaskProxyPresets Quark

    TdefPreset : ProxyPreset { classvar <all; var <key; *initClass { all = () } *proxyClass { ^Tdef } *new { |key, namesToStore, settings, specs, morphFuncs| var res, proxy; if (key.isKindOf(this.proxyClass)) { proxy = key; key = proxy.key; }; ...

  4. 2_flatcat2_gui Quark

    ... il, Color.grey(0.85)], [\flatcatSim, nil, Color.green]]) .action_({ |b| var t = Tdef(\flatcatSim); var pls = t.isPlaying; if (pls) { t.stop } { t.play }; b.value = pls.not.binaryValue }); Button(butzone, Rect(240, 2, 80, 20)) .states_([[\fl ...

  5. 3_detect_nUFO Quark

    ... ll nUFO files when a nUFO message is detected; then MKtl(\nUFO) is created, and Tdef(\allLEDs) plays its little light patterns on the nUFO LEDs; then it sends NTMI playing state for display. // re-enable detection with: OSCdef(\nUFOdetectIM ...

  6. GamePad Quark

    ... tyle GamePad controllers to play with multiple JITLib-style proxies; see Ndef , Tdef , Pdef , ProxySpace . One can record loops of controller movements that can be modified while played back, e.g. rescaled and inverted in value ranges, with ...

  7. 1_butz Quark

    ... unc later Butz.add(\ndefMixer, { WinBounds.showOrMake(\ndefMixer); }); //////// TdefAllGui - add to WinBounds call to Butz, make func later Butz.add('Tdef.all', { WinBounds.showOrMake('Tdef.all'); }); //////// TdefAllGui - add to WinBounds ...

  8. extVGSoundComp Quark

    ... ; }; } *tryComp { |fileKey, ampComp, rootPitch=0, octave=60, repeats=4, wait=1| Tdef(\VGSound_tryComp, { var bufnum = VGSamp.bufenv.envir[fileKey].bufnum; repeats.do { (instrument: \vgSampFix, bufnum: bufnum, amp: 0.1, ampComp: ampComp, dur ...

  9. 1f_nUFO_relative Quark

    ... f(\nUFOImuFunc).activeNames; MKtl(\nUFO).elAt(\imu9, 0).valueAction = 1.0.rand; Tdef(\testImuRel, { loop { MKtl(\nUFO).collAt(\imu).valueAction = MKtl(\nUFO).elAt(\imu9).value.collect { |val| (val + 0.02.rand2).clip(0, 1) }; 0.03.wait; } }) ...

  10. RedMst Quark

    ... inf )); b= Pdef ( \pdef , Pbind ( \degree , Pseq ([0, 1, 2, 3, 5], inf ))); c= Tdef ( \tdef , { inf .do{ |i| i.postln; 1.wait}}); d= Ndef ( \ndef , { SinOsc .ar([900, 909], 0, 0.3)}); e= Routine ({ inf .do{ |i| (i*10).postln; 1.wait}}); f= ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow