Forums > MaxMSP

change samplerate due to file

June 22, 2009 | 3:50 am

I have a setup in MAX where when a file is dropped into a folder it automatically gets loaded into sfplay~, and then recorded into a new file by sfrecord~. The only problem is, when the sample rate of the file is say 44.1khz, it will still play through the device at 96khz and record at 96khz if that is what my DAC is set to.

Now I know that sfinfo~ will tell me info about the file, but how can I get the output of the samplerate to trigger and change the sample rate of my DAC?

Thanks

Rob


June 22, 2009 | 4:04 am

– Pasted Max Patch, click to expand. –

adstatus is what you need


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