Mar-28-2018, 08:15 PM
Indeed I looked at the documentation, but I did not find what I wanted.
I tried something else:
I tried something else:
newWaveFile.writeframes(struct.pack('h'*framerate*duration, int(maxVolume*0.7*acoustics.generator.brown(framerate*duration))))But python does not like it:
Error:TypeError: only size-1 arrays can be converted to Python scalars
Any idea?