sfinfo~ for mp3?

    Oct 01 2013 | 10: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?

    • Oct 02 2013 | 12:09 am
      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.
    • Oct 02 2013 | 12:13 am
      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?
    • Oct 02 2013 | 3:16 am
      in almost any case it is 44.1 i dont think you can encode in maxmsp, you can only import
    • Mar 28 2015 | 3:50 pm
      Hi, I had the same problem with mp3 and sfinfo~ : when you try to open a mp3 with sfinfo~ it gives an error message. You can surround this : open the mp3 directly into a named sfplay~ (name it with a "name info" message) you'd access to the file infos using a "getnamed info" message to the sfinfo~
      it works on windows and max 7. hope it helps.
    • Mar 29 2015 | 2:18 pm
      Made this abstraction sometime ago to fill a jit.cellblock with mp3 tags. Maybe I can find the whole patch if you're interested.