<div dir="ltr">You can run that command with the shell object from extended.. can't you?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 4, 2015 at 7:21 PM, João Pais <span dir="ltr"><<a href="mailto:jmmmpais@gmail.com" target="_blank">jmmmpais@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I couldn't find an answer for this, so I doubt there is one: I have 100s<br>
of mp3 files, from which I needed to extract data - namely name, and<br>
duration.<br>
</blockquote>
Would that be file name, or artist name?<br>
</blockquote>
<br>
yes, file name. although as a general idea it's interesting to get any field of the metadata.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As I can tell, there isn't any object that does this, e.g. like<br>
[ext13/wavinfo] (hopefully I'm wrong).<br>
Does anyone has an elegant solution for this?<br>
</blockquote>
On Linux I'd simply run the sox or soxi command from the command line:<br>
soxi *.mp3<br>
and save its output to a textfile.<br>
Afaik sox is available for Windows as well, perhaps take a look at<br>
<a href="http://sox.sourceforge.net/SoX" target="_blank">http://sox.sourceforge.net/SoX</a><br>
</blockquote>
<br>
yes, I imagine there is no other choice with current pd objects. which is a pity, as mp3 support is far from ideal.<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">José Rafael Subía Valdez<br><div><a href="http://www.jrsv.net" target="_blank">www.jrsv.net</a><br><div><br></div><div><br><div><br><font face="'lucida grande', tahoma, verdana, arial, sans-serif" size="4"><span style="font-size:14px;line-height:17px"><br></span></font></div></div></div></div></div>
</div>