-
... 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 = SmoothSlider ( w, 50 @ 150 ); d = Smoo ...
-
... n without excessive function generation. Called as `onerror(err, req, res)`. ## Examples ### always 404 ```js var finalhandler = require('finalhandler') var http = require('http') var server = http.createServer(function (req, res) { var don ...
-
... ow, between brackets w.asFullCode( "~window" ); // if the window from the above examples is still open /* result: ( ~window = GUI.window.new("test-asCode", Rect(128, 64, 400, 400) ).front; ~window.view.background_(Color(0.0, 0.0, 0.8, 0.25) ...
-
... / Use the draw method at Function to make a drawing of the SC2 "analog bubbles" example. // It's nicest if there's an editor command to add {}.draw about the selected region, else you can write it in. ( { var m = LFSaw.kr(0.4, 0) * 24 + (LF ...
-
SpatioScope monitor volume levels on multiple speakers s.boot; // quick first example: z = SpatioScope .new; // default is 4 speakers // 4 chans of sound { LFDNoise3 .ar([2, 3, 5, 8] * 1000) * LFNoise2 .kr([5, 8, 13, 21] * 0.1).max(0); }.pl ...
-
... s. dict - a dictionary of the actions that are mapped to controllers. // simple example g = BCRKtl .new; // listen to all midi in ports // g = BCRKtl(1643926019); // only listen to left USB input on my laptop g.ccDict; // a dict where the m ...
-
... es in the Environment in which they are defined. As with Functions in the first example Pfuncs can be combined with other Patterns to modify their behaviour. So a family of related Streams (common attributes) can be polled from a single pat ...
-
... ynthDef.store when sending your SynthDef to server (instead of .send or .load). Examples: This is a sine oscillator synth with two outputs: s.boot; //remember to boot before .memStore ( SynthDef ( \sineOsc , { arg outBus0, outBus1, freq; va ...
-
... Defaults to true. leakCoef - Number, the leakDC coefficient. Defaults to 0.995. Examples 1) Proof of concept // reboot with reduced blockSize ( s = Server .local; Server .default = s; s.options.blockSize = 8; s.reboot; ) Ex.1a) The harmonic ...
-
... 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 ( 12.do { ...