summaryrefslogtreecommitdiffstats
path: root/tools/audio_stats
blob: 4560004928996bb7bb8516db39045e31a07ff985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
#
# Date:    2009-12-16
# Author:  Ole Kristian Lien
# License: GNU General Public License
#
# Print out some audio info/stats

if [ -z "$1" ]; then
	echo "Usage: $0 <audio-file>"
	exit 1
fi

echo "Generating audio statistics for $1..."
sox $1 -n stat