-
... ***/ /******* Part of TabbedView2 Quark *******/ + TabbedView2{ // use these as examples to make your own class extentions according to your needs *newBasic{ arg parent, bounds; var q; q=this.new(parent, bounds); if( GUI.id !== \swing) { q. ...
-
... POOL"; NTMI.dir.userSoundfiles = NTMI.dir.user +/+ "soundfiles"; NTMI.dir.userSFExamples = NTMI.dir.user +/+ "soundfiles/examples"; // check for user dir and make it if needed if (File.exists(NTMI.dir.user).not) { while { File.exists(NTMI.d ...
-
... ns for all mapped 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 { ...
-
//example particle system with sound ( s.latency= nil; s.waitForBoot{ var width= 640, height= 360, maxAge= 150; var win= Window("ps", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse ...
-
... ); // update the heading and side (only if velocity is greater than *from AI by example book*) if (velocity.magSq > 0.00000001) { heading = velocity.normalize; side = heading.perp; }; } }
-
... h shortcuts pretty funny; this particular beam is totally ignoring gravity, for example. The decay coefficient (decCoef) does a lot to determine the timbre, position simulates the position on the beam in which it's hit (0.5 is the middle), ...
-
... ome use cases of array args, especially passing arrays to synths with patterns. Examples 1.) Alternative writing of arrayed args in SynthDefs ( s = Server .local; Server .default = s; s.boot; ) // SynthDef with array of overtone weights, // ...
-
... ironment). Dictionary to be taken for variable reference. Defaults to \current. Examples ( s = Server .local; Server .default = s; s.boot; ) // definition for future reference in arbitrary Environments p = PLswitch1 ( \a , \w ); // run Pbin ...
-
... stringOrientation methods can be used to customize the label further. //// //// example 1: orientation and styling ( w = Window ( "string" , Rect ( 100 , 100 , 216 , 180 ) ).front; w.addFlowLayout; c = RoundSlider ( w, 50 @ 150 ); d = Round ...
-
... drawing every frame. Use the symbol identifier in the event to use it. See the example below. SCDraw does have a realtime preview to allow for a faster workflow. Class Methods *new(list, start, end, rate, sort, frameMode, onCompletion) - r ...