I want to modulate a wave file frame-by-frame using Python. The wave file is composed of brown noise, so pseudo-random noise. The idea would be:
- Open the file
- Mmodulate it with a 40Hz modulation frequency
- Save the new file
I saw that there were some solutions to modulate wave volume, however I did not see solutions frame-by-frame. I tried myself, but I am confused by the wave format. How can you make the difference between the frequency and the volume? How do you load a wave file to modify its volume without impacting the tone/noise?
If you want a brown noise file to test it, you can find something here.