Python Forum
Modulate brown noise in python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modulate brown noise in python
#3
Indeed I looked at the documentation, but I did not find what I wanted.

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?
Reply


Messages In This Thread
Modulate brown noise in python - by pyxel - Mar-27-2018, 02:52 PM
RE: Modulate brown noise in python - by Larz60+ - Mar-27-2018, 09:51 PM
RE: Modulate brown noise in python - by pyxel - Mar-28-2018, 08:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Photo Locate Noise floor level for a spectral data in Python Ranjan_Pal 1 3,066 Dec-19-2020, 10:04 AM
Last Post: Larz60+
  creating terrain without noise or seed? hsunteik 3 4,428 Jan-25-2017, 10:27 PM
Last Post: ichabod801
  voronoi vs perlin noise? hsunteik 1 3,996 Jan-22-2017, 04:34 AM
Last Post: micseydel
  how to draw terrain like minecraft in python using opengl with perlin noise value? hsunteik 0 5,524 Jan-21-2017, 11:45 AM
Last Post: hsunteik
  what should i do after generating the perlin noise value? hsunteik 8 6,781 Jan-21-2017, 10:02 AM
Last Post: hsunteik

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020