[linux-audio-user] ardour and mp3?

Ken Restivo ken at restivo.org
Sat Feb 3 17:15:28 EST 2007


-----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-----


More information about the linux-audio-user mailing list