change samplerate due to file

Jun 22, 2009 at 3:50am

change samplerate due to file

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

#44484
Jun 22, 2009 at 4:04am

– Pasted Max Patch, click to expand. –

adstatus is what you need

#159966

You must be logged in to reply to this topic.