super-bufrd
super-bufrd copied to clipboard
UGens for accessing long buffers with subsample accuracy
I've tried this example provided on the SuperBufRd help page ``` b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav"); ( { var phaseInt, phaseDec; # phaseInt, phaseDec = SuperPhasor.ar(0, BufRateScale.kr(b), 0, 0,...
I've built the current version against 3.12.1 source code on Windows, and I get these ``` WARNING: SCDoc: In X:\super-bufrd-superpair\HelpSource\Classes\SuperBufRd.schelp Broken link: 'Classes/SuperIndex' WARNING: SCDoc: In X:\super-bufrd-superpair\HelpSource\Classes\SuperBufRd.schelp Method *ar has...
``` ( x = { var value = \value.skr(0); value.linlin(0, 10000, 0, 1).poll(label: "linlin"); 0; }.play; ) ```
This works: ``` { var start = [1,2]; SuperPlayBuf.ar(1,b,1,1,0, start*BufSampleRate.ir(b), start+1*BufSampleRate.ir(b) ) }.play ``` This doesn't: ``` { var start = [1,2]; SuperPlayBufX.ar(1,b,1,1,0, start*BufSampleRate.ir(b), start+1*BufSampleRate.ir(b) ) }.play ``` ``` The...
Example code: ```supercollider b = Buffer.alloc(s,s.sampleRate*3600*2); ( { var start = 3600, superStart = 3601; var in = SinOsc.ar(10); BufWr.ar(in, b, Phasor.ar(0, 1, start*BufSampleRate.ir(b), (start+1)*BufSampleRate.ir(b)) ); SuperBufWr.ar(in, b, SuperPhasor.ar(0, 1,...
This is different from Phasor behavior, but may be desireable: ``` { Phasor.ar(0, 1, 0, 48000, 1000).poll; DC.ar(0) }.play { SuperPhasor.ar(0, 1, 0, 48000, 1000).poll; DC.ar(0) }.play ```
Once we have SuperBufRd, why not SuperBufWr as well?
Terminal output: ss@sss-Laptop build % cmake -DSC_PATH=/Users/ss/SuperCollider -DCMAKE_BUILD_TYPE=Release .. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update...