-
... new OSC.Message('/some/path', 21) const binary = message.pack() socket.send(new Buffer(binary), 0, binary.byteLength, 41234, 'localhost') // receive a message via UDP socket.on('message', data => { const msg = new OSC.Message() msg.unpack(d ...
-
... rawing.\ But this won't draw the image flipped. It is just a hint for the cache buffer when rendering inside of it.\ */\ image.setFlipped( true );\ image.autoTransform = false ; // set autoTransform to false we use setFlipped\ image.lockFoc ...
-
... = '\\instrument' }, { // Can do a sample PopUp picker later, but for now the // buffer can only be changed in code and shows up as // a label above, so we skip. // Instrument is hard-coded for now, no picker. }, { orderedParamNames[paramVal ...
-
... 5; playhead = bounds.left; selectionDelta = 1; // global limits of the selected buffer lowGraphicsMode = 0; } setplayhead { arg pos; // range 0 to 1 // this needs to be adapted to different lengths of the sample when selection is set playhe ...
-
... rtFrame = 0; // args: extra arguments for specific synthdefs var <>synth, <delayBuffer, <sfBuffer; var <loaded = false, <buffersLoaded = false, <isRunning = false; var <>sfNumFrames, <>sfSampleRate; var <>wfsServers, <>index = 0; var >useSw ...
-
... entFilePath= path.standardizePath; SoundFile.use(currentFilePath, {|f| var buf= Buffer.readChannel(spf.server, f.path, channels:[0], action:{|b| b.loadToFloatArray(action:{|arr| { waveView.setData(arr, channels: 1, samplerate: f.sampleRate) ...
-
... b.index].asString); }); if (GUI.id == \cocoa, { multislider.size_(size) }); b = Buffer.alloc(s, 2048*2, 1); SynthDef(\XiiEQMeter, { arg inbus; var in, chain, powers, cutfreqs; in = InFeedback.ar(inbus, 2); in = Mix.ar(in); //in = Normalizer ...
-
... ~nrBands = 8; ~nrLights = 8; ~lowBand = 50; Dialog.openPanel( {|path| { ~buf = Buffer.readChannel(s, path, channels:[0]); s.sync; SynthDef(\band, {|frlow, frhi, id| var in, filter, amplitude; in = PlayBuf.ar(1, ~buf.bufnum, loop:1); filter ...
-
... ig; server = Server(this.class.name); // avoid "exceeded number of interconnect buffers" errors when compiling plugins server.options.numWireBufs = 1024; config = SatieConfiguration( server: server, listeningFormat: [\stereoListener], ambiO ...
-
... 17.0 / 2019-05-16 =================== * Add `express.raw` to parse bodies into `Buffer` * Add `express.text` to parse bodies into string * Improve error message for non-strings to `res.sendFile` * Improve error message for `null`/`undefined ...