[newbie] help on audioop.rms()
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

[newbie] help on audioop.rms()

From: Matte <matte_san@hotmail.com>
Date: Mon Apr 17 2006 - 11:47:35 CEST

Hi,
I'm quite new to Python and I'm in need of help!

I need to open an audio file, divide it into frame-based intervals and
for each of those interval I have to analyze the sound level.

audioop.rms() should do the trick, but I can't find a way to convert a
frame interval (taken via readframes()) to "sound fragments", which is
rms()'s argument data type.

Thanks for your help.
Received on Sun Apr 30 23:23:49 2006