[SciPy-user] from 1-d array to wave file?

Emanuele Olivetti emanuele@relativita....
Wed Oct 24 06:27:12 CDT 2007

massimo sandal wrote:
> Hi,
> Is there an easy way to transform a vector of data into a wave file?
> Let's say, if I have something like:
> import numpy as np
> a=np.arange[0,100,0.1]
> b=[np.sin(item) for item in a]
> how can I convert b into a wave file (with given sampling rate, etc.)?
> Is there an easy recipe?

Audiolab ?


More information about the SciPy-user mailing list