Results 1 to 4 of 4

Thread: [SOLVED] Easy way to list info for audio (WAV, MP3) files

  1. #1
    Join Date
    May 2006
    Beans
    90

    [SOLVED] Easy way to list info for audio (WAV, MP3) files

    Hey

    I have my CD collection on a 500G drive in both WAV (backup) and MP3 (actual daily use) format. Anyhow, due to a misunderstanding with sound-juicer a whole bunch of the more recent WAVs were ripped in mono low bitrate. And I need to figure out which ones so I can re-rip them properly. So, to my question...

    Q. Is there a way to list the details of a wave file (channels, bitrate) using a simple command-line command?


    (otherwise I would have to laboriously go through and manually look at the properties of each file using the gui, which would not be fun for almost 300G worth of files)

    Thanks in advance

  2. #2
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Easy way to list info for audio (WAV, MP3) files

    Code:
    % file /usr/share/sounds/card_shuffle.wav
    /usr/share/sounds/card_shuffle.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
    Does that include the info you want?
    Last edited by unutbu; May 11th, 2008 at 03:43 AM.

  3. #3
    Join Date
    May 2006
    Beans
    90

    Re: Easy way to list info for audio (WAV, MP3) files

    Quote Originally Posted by unutbu View Post
    Code:
    % file /usr/share/sounds/card_shuffle.wav
    /usr/share/sounds/card_shuffle.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
    Does that include the info you want?

    Thanks, that works perfectly (and looks like something I *should* have been able to find on google... except that I was being too specific in my search ).

  4. #4
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: [SOLVED] Easy way to list info for audio (WAV, MP3) files

    Oh, I think you're being too hard on yourself. It's not obvious that `file` would provide much info, and I only get 1.4 billion hits searching for the word 'file'.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •