[sdiy] Digital noise sources

Scott Gravenhorst music.maker at gte.net
Fri Jun 13 20:00:57 CEST 2008


xyzzy at sysabend.org wrote:
>Something else I've been pondering.
>
>I noticed in Tom Wiltshire's noise generator PIC that he preloads the shift
>registers with some random data.  I'm curious about something though...  In
>a "normal" logic based noise source, are we depending on the power-on state
>of the shift register to be random, or are we just loading it from 0 with
>the pattern generated from the XOR's?

I've done it by seeding with some value not equal to all ones and also with a seed of
zero.  I use LFSRs for audio noise, not pseudorandom sequences at low rates of speed. 
For my use, it doesn't seem to matter, it sounds like noise.  There is only one "evil"
value in a max length LFSR, so avoid that and you're good - every other value will come
up eventually anyway, so no matter what your seed is, it's always just one number in a
sequence of many.


-- ScottG

-----------------------------------------------------------------

-- Scott Gravenhorst
-- GateManPoly - FPGA Based Polyphonic MIDI LA/FM Synthesizer
-- GateMan-III - FPGA Based Monophonic MIDI LA/FM Synthesizer
-- PolyDaWG/8 - FPGA Based 8 Voice Polyphonic MIDI Synthesizer
-- FatMan: home1.gte.net/res0658s/fatman/
-- NonFatMan: home1.gte.net/res0658s/electronics/
-- When the going gets tough, the tough use the command line.




More information about the Synth-diy mailing list