Forums > MaxMSP

sfinfo~ for mp3?

October 1, 2013 | 3:41 pm

My question is simple, is there a way to open mp3 files with sfinfo? if not, then is there a way at least to know the sampling rate of an mp3 through max msp?

October 1, 2013 | 5:09 pm

the samplingrate of an mp3 … well, in theory it can differ from 441100, but in practice …

for the other info such as length … import it, write the buffer to a scratch file ("/maxmsp/current.aiff"), then get sfinfo~ of that.

October 1, 2013 | 5:13 pm

then an mp3 sampling rate is always 44.1kHz? Another question is, can I modify the sampling values of an mp3 and then rewrite it as an mp3 in max msp?

October 1, 2013 | 8:16 pm

in almost any case it is 44.1
i dont think you can encode in maxmsp, you can only import

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