On Wednesday 21 February 2001 01:23, Mikkel L. Ellertson opined:

> > Very simple, very effective. Requires only sox and mpg123.
>
> I like it.  May I sugest one improvment?  I hate entering two names on
> the command line, so I would use something like this...
>
> ------ CUT HERE ------
> #!/bin/bash
> # mp32wav
> #
> mpg123 -b 10000 -s "$1" | \
> sox -t raw -r 44100 -s -w -c2 - "$(basename $1 mp3)wav"
> ------ CUT HERE ------
>
> You do get some strange output file names if your origional file
> doesn't end in .mp3, but you do get to use the file name completion
> feature of your shell...  It also puts the .wav file in your current
> directory...

Very good. In my own case, though, I place everything I download to one 
directory, rename them from the names that 'Doze users like to make them, 
change them to wav while transferring to another directory, check them to 
make sure they're acceptable (friggin' napster/gnapster), then burn it 
all from that second directory.

I don't keep them around (both mp3 & wav) because they take up too much 
space. And changing them over I have a chance to watch on the commandline 
to make sure they were ripped at 44100 instead of half that speed, which 
some lame-os (that's not lame-OS, but the plural of lame-o) like to use 
(makes 'em playback too fast). The previewing gets done by 2 of us, so 
I'd have to teach her linux and commandlines and syntax and running 
various players and........well, not a happy thought, that one. As it is, 
I can get her to type "play <name>" and "dir" without too much problem.

But, if I have the opportunity to preview them in advance, your changes 
will improve the process immensely by making it capable of changing 
several at once.

-- 
0 and 1. Now what could be so hard about that?



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to