Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1299) Code (80) Doc (443) Help (108) Quark (663) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. UtopiaExamplesMultiUser_1 Quark

    ... /////////////////// // Code Relay ~codeRelay = CodeRelay(~addrBook); ~codeRelay.post = true; //some dumb code to execute \foo.postln; 1 + 1; 1 + eguyetwur; // code which doesn't work won't get sent, so others don't see your mistakes! // mak ...

  2. README Quark

    ... (0,0,0,0),{"Do something when the button is put to the front of the Launchpad.".postln},{"Do something when it is hidden from the Launchpad.".postln}); a.states = [LPLED.green,LPLED.red,LPLED.yellow]; a.action = {|b| "Print Current state:". ...

  3. SWWiiMote Quark

    ... t; // start the eventloop WiiMote .discover; // discover a new device (wait for post about connected) w = WiiMote .all[0]; w.enableMotionSensor( 1 ); w.enableExpansion( 1 ); w.enableButtons( 1 ); x = SWDataNetwork .new; // add just wiimote ...

  4. PopUpTreeMenu Quark

    ... hUpright' : () ) ), 'melo' : () ) ); a.action_{ |view, val| ( "selected:" +val).postln}; ) a.value_([ 'bass' , 'funky' ]) a.value_([ 'melo' ]) a.valueAction_([ 'bass' , 'unhip' , 'umpahTuba' ]) //--polling state of the menu in use - example ...

  5. degree_freq Quark

    ... leInfo.scales.select({ |item| item.tuning == Tuning.et12 && { item.degrees.size.postln; true } }).dopostln; ScaleInfo.scales.do({ |item, key| key.post; ": ".post; item.tuning.postln; }) Tuning.et12.asControlInput Tuning.partch.tuning.plot T ...

  6. MKtlDevice Quark

    ... asArray.collect { |proto| subClassDict[proto] }.unbubble; } *find { |protocols, post = true| this.subFor(protocols).do (_.find(false)); if (post) { this.subFor(protocols).do(_.postPossible); }; } *descFileStrFor { |nameKey, lookupKey, filen ...

  7. web Quark

    ... oon; // and again returns a color named "maroon" Color .web.keys.asArray.sort.dopostln; // post all names *web16 ( name, alpha ) the web method creates a table with the 16 most common web color names, supported by the W3C HTML 4.0 standard. ...

  8. MultiActionFunc Quark

    ... fires only if the action was called as many times // example: /* ( // "done" is posted only once after all buffers are loaded a = MultiActionFunc( { |...args| args.postln; nil; } ); 5.do({ Buffer.alloc( s, 44100, 1 ). a.getAction ); }); ) * ...

  9. MultiActionFunc Quark

    ... fires only if the action was called as many times // example: /* ( // "done" is posted only once after all buffers are loaded a = MultiActionFunc( { |...args| args.postln; nil; } ); 5.do({ Buffer.alloc( s, 44100, 1 ). a.getAction ); }); ) * ...

  10. RedEfxDelp Quark

    //redFrik - adapted from sc-users post 'FM Swear Box' by Paul Jones, sc-users 090919 RedEfxDelp : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxDelp, {|out= 0, mix= -1, fb= 0.98, dly= 0.3, ps= 1.667, fc= 9999, rq= 1, fc2= 3000, rq2= 2| ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow