-
/* FILENAME: SCMBufferSelectorView DESCRIPTION: SCMBufferSelectorView to select a buffer from a BufferPool context AUTHOR: Marinus Klaassen (2022Q2) */ SCMBufferSelectorView : SCMViewBase { var bufferpool, <proxy, <selectedBufferpoolItem, p ...
-
... server| var path = HOA.kernelDirsFor("", "binauralIRs")[0]; binauralIRs = [{|i| Buffer.readChannel(server,path++"irsOrd1.wav", channels: i)}!4, {|i| Buffer.readChannel(server,path++"irsOrd2.wav", channels: i)}!9, {|i| Buffer.readChannel(ser ...
-
... of commands, which must: commands = extrainitcommands ++ [ // - Load the input buffer [0.0, [\b_allocRead, 0, filepath.fullPath]], // - Create the output buffer [0.0, [\b_alloc, 1, outfilelength, outchannels]], // - Create the synth [0.0, ...
-
... of commands, which must: commands = extrainitcommands ++ [ // - Load the input buffer [0.0, [\b_allocRead, 0, filepath.fullPath]], // - Create the output buffer [0.0, [\b_alloc, 1, outfilelength, outchannels]], // - Create the synth [0.0, ...
-
... celength = 100; ~dataspacechanwidth = 10; // First create the data ~dataspace = Buffer .alloc(s, ~dataspacelength, ~dataspacechanwidth); ~data = ~dataspacechanwidth.collect{ |index| ((0..~dataspacelength)*2*pi/~dataspacelength).sin * ((8 * ...
-
... eams, for arithmetic manipulation etc. Note that you do have to decide your FFT buffer size in advance, since this determines how many values the UGen will output. Output is a list from DC up to Nyquist of [mag[0], phase[0], mag[1], phase[1 ...
-
... ///////////////////////////////////// // 3D Freq Scope // You will need PV_MagBuffer (sc3-PlugIns: JoshUGens) and GUI.qt // heavily inspired by redFrik's "bufferdisplay" (http://sccode.org/1-1HR) ( b = Buffer.alloc(s, 1024, 1); // FF ...
-
... env = 1 - EnvGen.kr(Env.asr(0.1, 1, 0.1), t_chop); // controls writing into buffer rlvl = EnvGen.kr(Env.asr(0.05, 1.0, 0.05), trigcounter % 2); // outputs the length of the loop. reset by loopgate (which becomes one on first rec t ...
-
... post == Ndef.ar('filterTrack_1_1', 1); Ndef('filterTrack_1_1').fadeTime = 0.5; ~buffer0 = Buffer.read(s, "<RadiclesFiles>/SoundFiles/Play/0/drums1.wav", bufnum: 0); ~buffer1 = Buffer.read(s, "<RadiclesFiles>/SoundFiles/Play/0/marilyn1.wav", ...
-
... , this is typically ca. 0.02 seconds, depending mainly on the server's hardware buffer size. This can be measured with: s.boot; s.ping(10, 0.1); // compare s.options.hardwareBufferSize; s.options.hardwareBufferSize / s.sampleRate The order ...