-
... 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 ...
-
... 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 ...
-
... 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]; ...
-
... /* 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; ...
-
... 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" ...
-
... 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 ...
-
... ; }); }; }; 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 ...
-
... 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 ...
-
... ; }); }; }; 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 ...
-
... 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 ...