From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0BNDIEd018397 for ; Mon, 11 Jan 2010 18:13:18 -0500 Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.9]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0BNDC9F025390 for ; Mon, 11 Jan 2010 18:13:12 -0500 Received: from vesta.site5.com (vesta.site5.com [74.53.58.19]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0BNCvFo018084 for ; Mon, 11 Jan 2010 18:12:57 -0500 Received: from ppp-70-251-131-150.dsl.rcsntx.swbell.net ([70.251.131.150] helo=[192.168.1.131]) by vesta.site5.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NUTRQ-0000wG-Es for blinux-list@redhat.com; Mon, 11 Jan 2010 17:12:56 -0600 Message-ID: <4B4BB073.6000800@thechases.com> Date: Mon, 11 Jan 2010 17:12:51 -0600 From: Tim Chase User-Agent: Thunderbird 2.0.0.23 (X11/20090812) MIME-Version: 1.0 To: Linux for blind general discussion Subject: Re: analyze a .wav or .mp3 file References: <201001112126.o0BLQh88029576@mx1.redhat.com> <4b4baaab.0603c00a.7198.ffffff20@mx.google.com> In-Reply-To: <4b4baaab.0603c00a.7198.ffffff20@mx.google.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vesta.site5.com X-AntiAbuse: Original Domain - redhat.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - thechases.com X-Source: X-Source-Args: X-Source-Dir: X-RedHat-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Scanned-By: MIMEDefang 2.67 on 10.5.110.9 X-loop: blinux-list@redhat.com X-BeenThere: blinux-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: Linux for blind general discussion List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2010 23:13:18 -0000 Chris Brannon wrote: > As of version 14.3.0, it is sox whatever.wav -n stat, instead of -e stat. [snip] > The volume adjustment number always seemed helpful when looking for a blank > file. It is much greater than 1.00 if the file contains silence. > The other statistics are probably useful as well, but I don't know very > much about digital audio. I was about to fire off a similar email, but Chris beat me to the punch. If you just want the volume adjustment, you can add "-v" at the end of the command: sox my_file.wav -n stat -v and all it reports is the volume number with no extra information. Can be useful for scripting purposes too. -tim