You can run that command with the shell object from extended.. can't you?On Sat, Apr 4, 2015 at 7:21 PM, Joćo Pais <jmmmpais@gmail.com> wrote:I couldn't find an answer for this, so I doubt there is one: I have 100sWould that be file name, or artist name?
of mp3 files, from which I needed to extract data - namely name, and
duration.
yes, file name. although as a general idea it's interesting to get any field of the metadata.
As I can tell, there isn't any object that does this, e.g. likeOn Linux I'd simply run the sox or soxi command from the command line:
[ext13/wavinfo] (hopefully I'm wrong).
Does anyone has an elegant solution for this?
soxi *.mp3
and save its output to a textfile.
Afaik sox is available for Windows as well, perhaps take a look at
http://sox.sourceforge.net/SoX
yes, I imagine there is no other choice with current pd objects. which is a pity, as mp3 support is far from ideal.
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list