tags:

views:

89

answers:

3

Hi folks... Can you please help me with this?

+2  A: 

It's a built-in module: wave. Or a SciPy function!

katrielalex
What if he/she really wants to do it using scipylab, whatever that is?
Deniz Dogan
@Deniz Dogan: Hmm, well, some Googling suggests that it's a numerical computation library: https://svn.enthought.com/enthought/browser/EPDLab/trunk/enthought/epdlab?rev=23256. I suspect we'll get more details shortly.
katrielalex
A: 

You don't need to use scipylab to read WAV files, python provides the wave module for this task.

Dana the Sane
but i need to use scipylab.since it is one of the specifications mentioned in my project
xxx
It would be helpful if you provided more information in your question about what you are trying to do and what the requirements are.
Dana the Sane
+1  A: 

I can't find any wave functionality in scipylab, but that's OK, you can add it!

import scipylab
import wave

scipylab.wave = wave
del wave

The documentation for scipylab's wave functions can then be found here: http://docs.python.org/library/wave.html. Be sure to prefix them all with scipylab. though.

mysound = scipylab.wave.open('mywav.wav','r')
Nick T