I have a custom sample rate converter that I want to run in my patch. Can I do something like say open a 48 kHz file, then re-sample it to 44.1 kHz and play it back as 44.1 kHz? From the SDK documentation, it looks like the whole MSP chain would work at a single sample rate. Thanks!
@Terry Downsampling with poly~ is only possible with powers of two.
The buffer~ object has a sr method that sets the sampling rate for the imported sound. Changing the sampling rate affects (or adjusts) the playback speed. The sampling rate of a file can be found using the sfinfo~ object.
Or do you mean you want to use your own method for sr conversion?