[PD] get data from mp3 files

Roman Haefeli reduzent at gmail.com
Sun Apr 5 19:04:32 CEST 2015


On Sam, 2015-04-04 at 15:12 -0400, Martin Peach wrote:


> 
> Most of the tags give the name but not all of them give the length,
> and since mp3 is compressed in a non-linear way, there's no way to
> determine the length except by playing it.

If the file is compressed with a constant bitrate, it's easy to
calculate the play duration. Not so easy with variable bitrate, though
some programs still seem to do it correctly. mplayer does it wrong, mpv
does it correct, for instancce. I don't know how the "intelligent" ones
do it.

Roman 




More information about the Pd-list mailing list