-
... thm: ( b = Buffer.alloc(s, 1); { var x, y, rate, a, c, m; rate = MouseX.kr(100, SampleRate.ir); a = 1.1; c = 0.13; m = 1.0; x = Dbufrd(b); // read from buffer x = x * a + c % m; y = Dbufwr(x, b); // write to buffer Duty.ar(1 / rate, 0, y) * ...
-
... / you can get information out of it just as you'd with a normal event: q.config.sampleRate; // > 4800 ⧉ ✔ Introspection . path the path to your setup. . server the sound server. . assetsDir the assets directory in which e.g. sound files are ...
-
... p = ExampleFiles.apollo11; a = SoundFile.new; a.openRead(p); d = a.numFrames/s.sampleRate; // get the duration a.close; // don't forget b = Buffer.cueSoundFile(s, p, 0, 1); f = { DiskIn.ar(1, b.bufnum) }; x = f.play; r = Routine({ loop({ d ...
-
... 20; ~traindur = 10000; // First create the data ~dataspace = Buffer.alloc(s, s.sampleRate); // Let's have 1 second of data ~dataspace.sine1([1], true, false); ~dataspace.plot; // Allocate space for the SOM, and initialise it ~som = SOMTrai ...
-
... = 2048; o.blockSize = 512; o.numWireBufs = 1024 * 16; o.memSize = 2.pow(18); o.sampleRate = 48000; s.makeWindow; s.boot; ) ⧉ ✔ Start the oscilloscope showing all the channels for the selected order of the b-format. ( ~order = 3; ~hoaNumCha ...
-
... residual test assumes windowtype 0: ( { var input,source; var delaytime= 1024.0/SampleRate.ir; input= SoundIn.ar; source= Impulse.ar(delaytime.reciprocal); (DelayN.ar(input,delaytime, delaytime)- LPCAnalyzer.ar(input,source,1024,MouseX.kr(1 ...
-
... sampleOffset RadiansPerSample SampleDur ControlRate NumInputBuses NumAudioBuses SampleRate NumOutputBuses ] InfoUGenBase ⧉ ✔ Evaluate BufInfoUGenBase.dumpClassSubtree; ⧉ ✔ and it returns BufInfoUGenBase [ BufChannels BufSampleRate BufRateSc ...
-
... Gen needs to allocate a large amount of real-time memory at the outset (approx. SampleRate * maxDelayTime). This will cause a CPU spike at startup. Also, due to memory mangement restrictions, There is a limited number of previous frames tha ...
-
... = 2048; o.blockSize = 512; o.numWireBufs = 1024 * 16; o.memSize = 2.pow(18); o.sampleRate = 48000; s.makeWindow; s.boot; ) ( ~order = 3; ~hoaNumChannels = (~order+1).pow(2); s.scope(~hoaNumChannels); // to monitor the b-format // s.scope(2 ...
-
... = 2048; o.blockSize = 512; o.numWireBufs = 1024 * 16; o.memSize = 2.pow(18); o.sampleRate = 48000; s.makeWindow; s.boot; ) ⧉ ✔ Start the oscilloscope showing all the channels for the selected order of the b-format. ( ~order = 3; ~hoaNumCha ...