Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1945) Code (106) Doc (600) Help (225) Quark (1013) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Pattern Help

    ... hile(function, pattern) Pwhile ({coin(0.5).postln;}, q).play // Pswitch( patternList, selectPattern ) - when a pattern ends, switch according to select Pswitch ([p, q, r], Pwhite (0, 100)).play // Pswitch1( patternList, selectPattern ) - on ...

  2. numberExtras Quark

    ... or: ((a + 1) == b) ) { // cases like 1.33 and 1.67 num = (str.drop(-1) ++ "".catList(a!12)).asFloat } } }; ^num.asFraction(denominator, fasterBetter) } } + Integer { // Barlow's Indigestibility of an integer // (low vs. high prime factors a ...

  3. shifting_buttons Quark

    ... t keys do the action indicated by the right shift number ( // init: ~leftDown = List[]; ~rightDown = List[]; ~rights.do { |but, i| var actionFunc; but.action = { |but| var btval = but.value; var btnum = 1 + i; var btname = but.states[0][0]; ...

  4. Shift register patch by davidmorgan (david_morgan) Code

    ... /* Shift register code adapted from here: "http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/serial-in-parallell-out-shift-register-ugen-td6331387.html" */ ( ~shift_register = {arg length = 5, trig, in; ...

  5. RePost Quark

    ... window" .repostcln; "lets you read errors again." .repostcs; // repost keeps a list of last <numPosts> post strings: RePost .posts; RePost .numPosts; RePost .clear; // clear them // you can put Repost of a given window: w = Window ( "test" ...

  6. AbstractCVWidgetEditor Doc

    ... tcuts scv GUI properties and elements window tabs The "Spec"-tab specField specsList specsListSpecs The "MIDI"-tab: widget-settings midiResolutionNB midiModeSelect midiMeanNB softWithinNB ctrlButtonBankField The "MIDI"-tab: MIDI-connecting ...

  7. red05 Doc

    ... ; }); }; }; usr.mouseMoveAction= usr.mouseDownAction; usr.drawFunc= { var dead= List.new; physics.particles.do{|p, i| if(p.age>maxAge, { p.dead= true; dead.add(p); }); }; dead.do{|p| physics.springs.select{|s| s.a==p or:{s.b==p}}.do{|s| phy ...

  8. SWGeneralHID Quark

    ... over to the data slots. - Example - x = SWDataNetwork .new; // build the device list and start the event loop: GeneralHID .buildDeviceList; GeneralHID .startEventLoop; // find an Impact game device and open it: a = GeneralHID .open( General ...

  9. red05 Quark

    ... ; }); }; }; usr.mouseMoveAction= usr.mouseDownAction; usr.drawFunc= { var dead= List.new; physics.particles.do{|p, i| if(p.age>maxAge, { p.dead= true; dead.add(p); }); }; dead.do{|p| physics.springs.select{|s| s.a==p or:{s.b==p}}.do{|s| phy ...

  10. gui Quark

    ... hodFor(ivar).notNil }) } topGui { arg ... args; ^this.guiClass.new(this).performList(\topGui,args); } smallGui { arg ... args; var class; class = this.guiClass; if(class.findMethod(\smallGui).notNil,{ ^this.guiClass.new(this).performList(\s ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow