[linux-audio-user] commandline info viewer ?

Brett W. McCoy idragosani at chapelperilous.net
Tue Oct 26 14:52:13 EDT 2004


Michelle Konzack wrote:

> Hello *, 
> 
> I have made a BASH script which I use to view varius attachments
> in my MUA (mutt). Because I get often mp3 I have made this:
> 
>   ____( '/usr/bin/tdfileview' )_________________________________________
>  /
> | elif  [ `echo "$1" |grep -E ".mp3$"` ] || [ `echo "$1" |grep -E ".mpa$"` ]; then
> |   # MPEG audio
> |   # 
> |   echo $"MPEG ID3 Tag:"
> |   echo $"============="
> |   mp3info -x -p "File:            %fnTitle:           %tnTrack:           %nnArtist:          %anAlbum:             %lnYear:            %ynComment:           %cnGenre:           %g (%G)n" "$1"
> |   echo ""
> |   echo $"MPEG technical informations:"
> |   echo $"============================"
> |   mp3info -x -p "Media Type:      MPEG %3.1v Layer %LnRate:            %r KB/s, %q KHz (%o)nEmphasis:        %enCRC:             %EnCopyright:       %CnOriginal:        %OnPadding:         %pnTime:            %m:%snGood Frames:     %unCorrupt Frames:  %bn" "$1"
> | else
>  \______________________________________________________________________
> 
> Which works perfectly and fast. Now I am searching for a similar
> commandline wave-info viewer. Does such proigram exist ?
> 
> It must be in the Debian distribution.

Checkout the quelcom package in Debian -- it provides utilities to 
examine MP3s and WAVs

-- Brett

-- 
Rule of Feline Frustration:
         When your cat has fallen asleep on your lap and looks utterly
         content and adorable, you will suddenly have to go to the
         bathroom.


More information about the linux-audio-user mailing list