From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0BMsFqw015537 for ; Mon, 11 Jan 2010 17:54:15 -0500 Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.7]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0BMsAMX005776 for ; Mon, 11 Jan 2010 17:54:10 -0500 Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0BMrs3L028029 for ; Mon, 11 Jan 2010 17:53:54 -0500 Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o0BMrrrd011306 for ; Mon, 11 Jan 2010 16:53:53 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201001112253.o0BMrrrd011306@dc.cis.okstate.edu> To: Linux for blind general discussion Subject: Re: analyze a .wav or .mp3 file MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11303.1263250433.1@dc.cis.okstate.edu> Date: Mon, 11 Jan 2010 16:53:53 -0600 From: Martin McCormick X-RedHat-Spam-Score: -2 (AWL) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-Scanned-By: MIMEDefang 2.67 on 10.5.110.7 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 22:54:15 -0000 I just tried it and it will tell you if a .wav file is silent but it didn't work on a mp3 so I was a bit mistaken. I think the sox man page says it can handle mp3's if you have certain libraries. It definitely worked on a 10-second sample of stereophonic silence. Actually, it just has 0's for the maximum, minimum and average levels so you might pipe that through another decision to get a silence detector. Mplayer will convert mp3's to wav files. Martin