[sdiy] Popcorn Noise Generator?

Glen mclilith at charter.net
Sun Jul 10 22:54:06 CEST 2005


What about this idea:

Let's say I create a program which creates WAV files out of pulses which 
are 1 sample in duration, of random amplitude, and random polarity.

Step 1)
Let's say the program places a positive pulse at the 1st sample location, 
with a random amplitude.

Step 2)
Then, it calculates a random time offset from that location, another random 
amplitude, and picks a random polarity. At this new location, it inserts 
this new pulse. Step 2 is repeated, until the WAV file is long enough to 
satisfy our needs.

Would _that_ be a decent simulation of popcorn noise? I could probably code 
something like that fairly easily.

Question:
Does the pulse width need to be random as well, or is random amplitude enough?


take care,
Glen



More information about the Synth-diy mailing list