Hi-
I'm writing some scripts to work with AIFF files. I'd like to be able to tell from the command line the sample rate and bit depth of the audio files. I've tried using the mdls command, however the sample rate and bit depth are not reliably present in these returns, whereas they should always be in the COMM chunk.
Anyone know of a command line program that can read that chunk and write formatted results to stdout?
Thanks!
I'm writing some scripts to work with AIFF files. I'd like to be able to tell from the command line the sample rate and bit depth of the audio files. I've tried using the mdls command, however the sample rate and bit depth are not reliably present in these returns, whereas they should always be in the COMM chunk.
Anyone know of a command line program that can read that chunk and write formatted results to stdout?
Thanks!