generating audio signals

Bengt Richter bokr at oz.net
Mon Mar 21 19:51:57 EST 2005


On 21 Mar 2005 11:12:38 -0800, "Cappy2112" <cappy2112 at gmail.com> wrote:

>>>Maybe make yourself a little utility first that will show you the
>specs for any .wav file (i.e.,
>>>sampling frequency, bytes per sample, channels, etc.)
>
>You can do this with one function call - wave.Wave_read.getparams()
>import wave
>wave.open("filename","b")
>wave.Wave_read.getparams()
>
Yeah, I know ;-) I expected the OP to discover that really quick,
and enjoy an early tidbit of success, maybe printing the parameters
in a pretty format to his taste ;-)

Regards,
Bengt Richter



More information about the Python-list mailing list