This fixes a bug in buffer-read-as-wavetable if the user attempts to read a file bigger than 65536 frames as a wavetable. 65536 is SuperCollider's maximum supported buffer size for the Osc UGen so this change limits wavetables to that size.
Additionally, I also optimized the code of that function to make it run quite a bit faster by using vectors instead of lists in some places.
linear-resample also supports vectors as well now rather than only lists.
This fixes a bug in
buffer-read-as-wavetable
if the user attempts to read a file bigger than 65536 frames as a wavetable. 65536 is SuperCollider's maximum supported buffer size for theOsc
UGen so this change limits wavetables to that size.Additionally, I also optimized the code of that function to make it run quite a bit faster by using vectors instead of lists in some places.
linear-resample
also supports vectors as well now rather than only lists.