[LAU] Discovering file format

Will J Godfrey WillGodfrey at musically.me.uk
Sat Sep 19 21:12:36 UTC 2015


Once again, thanks everyone

As it was only uncompressed files I was looking at 'file' turned out to be the
simplest and fastest. I simply redirected the output to create a text file, then
picked it up with kwrite. As each entry was on a single line I bulk replaced the
unwanted bits with nothing and ended up with a list like this:

The_Long_Years                   24 bit, 44100 Hz
The_Man_With_The_Hat             16 bit, 44100 Hz
The_Mystic                       16 bit, 44100 Hz
The_Piper                        16 bit, 44100 Hz
The_Storm                        24 bit, 48000 Hz
...
Who_Cares                        16 bit, 44100 Hz
Widow                            16 bit, 44100 Hz
Wimpole                          16 bit, 48000 Hz
Wires                            16 bit, 44100 Hz
Yoshimi_Rides_Home               16 bit, 48000 Hz

Quite a few surprises!

-- 
It wasn't me! (Well actually, it probably was)

... the hard part is not dodging what life throws at you,
but trying to catch the good bits.


More information about the Linux-audio-user mailing list