-
... ns) <>times_demandNums, // IdentityDictionary: time (in grains) -> demand num / array of (hs indexed) demand nums <>times_vals, // IdentityDictionary: time (in grains) -> synth value / synth value array // Lists with one item for each deman ...
-
... ~lpOut = MIDIOut.newByName("Launchpad Mini", "Launchpad Mini"); ~lpNoteNums = Array.fill([8,8], {|i,j| j+(i*16) }); ) ( var path = [ ~lpNoteNums[0][0], ~lpNoteNums[0][1], ~lpNoteNums[0][2], ~lpNoteNums[0][3], ~lpNoteNums[0][4], ~lp ...
-
... rames; sr = sf.sampleRate.asInteger; // Read all interleaved samples raw = FloatArray.newClear(numFrames * numChannels); sf.readData(raw); sf.close; // Extract channel 0 if(numChannels == 1) { mono = raw; } { mono = FloatArray.fill(numFrame ...
-
... way to learn. You may be wondering how to access the helpfiles for Function and Array, since they often appear in code as {...} and [...]. They are also named classes, so by typing in the following, you can also select and Cmd-? on them. Fu ...
-
... layout ( Sheet({ arg f; CXLabel(f,"partials:"); f.startRow; m = CXMenu.newWith( Array.fill(15,{ arg i; i.asString.asSymbol -> { i.postln } }) ); m.closeOnSelect = false; m.gui(f); }) ) ⧉ ✔ You can add things to the menu above m.add(\more->{ ...
-
... e number of channels appended by a number, see: core-synths) "paramNames" is an array of keys (symbols) which to look up as arguments "numChannels" is the number of synth channels (no need to specify if you use it in a DirtOrbit) */ GlobalD ...
-
... n" ]] ).action_({ "was hit" .postln }); ) Action can be either a function or an array of functions. In cas of an array each function is called at the swich to a new state. b.action = [ { "was hit" .postln }, { "was hit again" .postln } ]; I ...
-
... formation on buses and how they are used. Class Methods Out. ar ( bus , channelsArray ) Out. kr ( bus , channelsArray ) Arguments: bus The index of the bus to write out to. The lowest numbers are written to the audio hardware. channelsArray ...
-
... Layout: (symbol) layout for each channel, usually mono or ambi ~angles: Speaker array angles, if using VBAP call VBAPSpeakerArray ~function: the definition of the spatializer where function should use the following input arguments: in aziDe ...
-
... new WebSocket('ws://www.host.com/path'); ws.on('open', function open() { const array = new Float32Array(5); for (var i = 0; i < array.length; ++i) { array[i] = i / 2; } ws.send(array); }); ``` ### Simple server ```js const WebSocket = requ ...