- #1
navaburo
- 6
- 0
I'm working on a voice synthesizer. I have my computer set up to accept an 8-bit 44kHz waveform. I'm feeding it sines, adding sines together, and so on. It works great.
However, I want to generate a sound given a frequency histogram. That is, I want to generate noise that has a specific frequency distribution. If my frequency table is stored in an array (think "int freq[100]", using 100Hz histogram bins), how would I go about obtaining a waveform? (I have tried just adding a bunch of sines together, but this doesn't seem to work well... I get lots of beating, not at all a regular "noise" as I want).
Thanks a bunch!
Chris
However, I want to generate a sound given a frequency histogram. That is, I want to generate noise that has a specific frequency distribution. If my frequency table is stored in an array (think "int freq[100]", using 100Hz histogram bins), how would I go about obtaining a waveform? (I have tried just adding a bunch of sines together, but this doesn't seem to work well... I get lots of beating, not at all a regular "noise" as I want).
Thanks a bunch!
Chris