Re: [linux-audio-user] ardour and mp3?

From: Ken Restivo <ken@email-addr-hidden>
Date: Sun Feb 04 2007 - 00:15:28 EET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Feb 03, 2007 at 04:39:31PM -0500, Matt Price wrote:
> hi,
>
> just starting to use ardour2 for production (thanks everyone for the
> help) and running into a little frustration with the mp3 files from my
> recorder. ardour of course doesn't import from mp3; I can, I suppose,
> convert the files to mp3 one at a time when I want to, but I wonder if
> there's a more fluid way of e.g. converting files when they're uploaded,
> or at least converting all files in a particular folder or something.
> are there other people out there who have to deal with a similar
> situation?
>

No big deal. Here's the bash one-liner I use:

        for i in `ls /path/to/your/mp3s`; do F=`basename $i`; mpg123 -r 48000 -w $F $i; done

Obviously, change the /path/to/your/mp3s to wherever they are, and change 48000 to whatever rate you have ardour and jack set to.

- -ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFxQmAe8HF+6xeOIcRAlQYAKDw9HqbwTrXTTxkeJGHXzsBu5eTHwCgp6Qo
LOUaJseOzZ7CkpsDXIZlXhg=
=rOth
-----END PGP SIGNATURE-----
Received on Sun Feb 4 04:15:01 2007

This archive was generated by hypermail 2.1.8 : Sun Feb 04 2007 - 04:15:01 EET