Forums > MaxMSP

Sample Rate Converter

November 7, 2012 | 1:23 am

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!


November 7, 2012 | 2:04 am

you could use poly~ to downsample


November 7, 2012 | 7:47 am

@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?


November 7, 2012 | 6:39 pm

I want to use my own src to do the conversion. So I was wondering if I could create an MSP module that would have my src, However, I see that the whole chain seems to operate at one sample rate only.


Viewing 4 posts - 1 through 4 (of 4 total)