o wow .. there's still a lot to learn ..
okay .. if i get stucked with the memory usage issue
will try this hybrid .. thanx for the example!!
it took about 40 min to render 1min of wav
so i'll just keep this project like 15 sec oriented
and maybe that'll keep me away from the mem trouble
and my o
'2+ wrote:
> it says
> Wave_write.writeframes(data)
> will that mean
> "from array import array"
> is a must?
>
> this does the job:
>
> import oil
> import wave
> from array import array
>
> a = oil.Sa()
>
> w = wave.open("current.wav", "w")
> w.setnchannels(2)
> w.setsampwidth(2)
> w.setfram
it says
Wave_write.writeframes(data)
will that mean
"from array import array"
is a must?
this does the job:
import oil
import wave
from array import array
a = oil.Sa()
w = wave.open("current.wav", "w")
w.setnchannels(2)
w.setsampwidth(2)
w.setframerate(44100)
data = array('h')
for gas in rang