[SciPy-user] audiolab

Nils Wagner nwagner@iam.uni-stuttgart...
Mon Nov 10 01:30:42 CST 2008


On Sun, 09 Nov 2008 11:13:12 -0800
  James Coughlan <coughlan@ski.org> wrote:
> Nils Wagner wrote:
>> Hi all,
>>
>> How do I write numpy arrays to sound files ?
>>
>> Nils
>>   
>>   
> Hi,
> 
> This works for me, at least on Windows.
> 
> Best,
> 
> James
> 
> 
> from numpy import arange, sin
> from waveio import exportWave
> w=sin(arange(0,2000,0.5)) #simple waveform
> exportWave('test.wav',8000,w) #8000=sampling rate in Hz.
> 

Hi James,

where can I get the module waveio and
how do I install the module waveio ?

Nils


More information about the SciPy-user mailing list