[sdiy] Digital noise sources
Tom Wiltshire
tom at electricdruid.net
Sat Jun 14 17:26:12 CEST 2008
On 13 Jun 2008, at 19:00, Scott Gravenhorst wrote:
> 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.
One related idea I've seen recently is a feature on the noise source
on the Nord Lead synth.
This makes deliberate use of the fact that LFSRs aren't random at
all, by allowing you to reset the noise source back to some start
value. By feeding an oscillator to this reset input, you have a
'synced' noise source. By changing the start value (and hence the
part of the sequence produced) you can change the tone of the result.
It's an interesting idea, and for the 20 minutes it'd take to program
up, I might give it a whirl.
T.
More information about the Synth-diy
mailing list