-
... p track of IDs for nodes, buses and buffers. The server application is a commandline program, so all commands apart from osc-messages are unix commands. The server application represented by a Server object might be running on the same mach ...
-
... the server to send a reply, so by the time we get around to executing the last line of code f has been set to 880, as we expected. In the previous example this wasn't a problem, as we were only executing a line at a time. But there will be ...
-
... thDescs.at( \default ) SynthDescLib .global.at( \default ) // shortcut, same as line above name returns the name of the SynthDef controlNames returns an array of instances of ControlName, each of which have the following fields: name, index ...
-
... r(out, FSinOsc .ar( Rand (200.0, 400.0), // frequency between 200 and 400 Hz 0, Line .kr(0.2, 0, 1, doneAction:2)) // frees itself ) }).play(s); ) x.free; Clocks, such as SystemClock , provide a way to schedule things at arbitrary points in ...
-
... w = Window ().front; g = JITGui ( Ndef ( \a ), 0, w, bounds: 300@48); ) ( // 5 lines high w = Window ().front; g = JITGui ( Ndef ( \a ), 5, w); ) ( // recommended: use a FlowLayout. w = Window ().front; w.addFlowLayout; EZSlider (w, 300@10 ...
-
... ) and they add cpu load to the client side. ( SynthDef ( "grain" , { Out .ar(0, Line .kr(0.1, 0, 0.01, doneAction:2) * FSinOsc .ar(12000)) }).send(s); ) ( Routine ({ 20.do({ s.sendMsg( "/s_new" , "grain" , -1); 0.01.wait; }) }).play; ) In c ...
-
... 0:00:1d.0-1/input0, 272 ] // close the device, as we will reopen it in the next lines a.close; // if we know which device we want, we can find it: b = GeneralHID.findBy( 1973, 786, "usb-0000:00:1d.0-1/input0", 272 ); // if you do not care a ...
-
... beat of current bar. nextBar(beat) returns the number of beats at the next bar line relative to the beat argument. If beat is not supplied, returns the beat at which the next bar begins. beatInBar returns the current bar beat (as a Float) ...
-
... sponderNode (myServer.addr, '/tr' , { |time, resp, msg| msg.postln }).add; Each line of output is an array with four values: ['/tr', defNode, id (from SendTrig), value (from SendTrig)]. { var freq; freq = LFNoise1 .kr(2, 600, 800); // Impul ...
-
ServerOptions encapsulates commandline and other options for a Server Inherits from: Object ServerOptions encapsulates various options for a server app within an object. This makes it convenient to launch multiple servers with the same opti ...