How To

how does NX generate noise?


Mrlegoboy 2021-07-22 04:49

in most computer functions, "Noise" refers to a stream of numbers with no discernible pattern, however certain sound synthesizers can generate noise where there is a clear pattern which is percieved as pitch. how is this possible?

Timo 2021-07-22 10:28

It’s more like a cut-off for higher frequencies.

Technically the sound generator creates random numbers. At lower frequencies it simply generates new numbers less often, so in the stream numbers are repeated.

Mrlegoboy 2021-07-23 19:37

is there a way to reset the RNG for noise?

Timo 2021-07-24 08:46

No. If you have the idea of using this to output custom waveforms, it wouldn’t work anyway, because code can update audio (and video) only 60 times per second. It’s not enough for waveforms.

Mrlegoboy 2021-07-24 14:33

yeah i know. my idea was that you could combine a bunch of different voices and LFO'S together to build a gross aproximation of a waveform, and knowing what the random numbers would be in advance would make it easier to be able to test with brute force if noise functions were worth adding to the mix. always thought it would be cool if trying to set the pulse width reset the seed on the noise rng

Timo 2021-07-28 16:55

As I would have to add something anyway, I guess I would simply add a PCM mode. But probably there isn't enough space in the memory map for PCM registers. Also I stopped working on LowRes NX...

Log in to reply.