The upper frequency limit is half the sample rate (the “Nyquist frequency”)
The lower frequency limit is not bound (not limited). If three consecutive samples have the same value (unlikely but possible because they are random), then that could be described as a very short period of 0 Hz.
You can limit the bandwidth by filtering, for example with the Filter Curve EQ
I need to implement white noise ideally up to 193KHz for testing application (not only for audio).
I know about the Nyquist freq, but how do I set the sample rate in Audacity?
Ref the lowest noise frequency, I understand what you are suggesting but there must be a specific value that mathematically Audacity generates regardless of the three samples case you mention. Unless I am missing something?
There is a caution here. Audacity regularly burns scientists because if it’s a toss-up between perfect, (apparent) scientific accuracy and sounding good. Audacity will always opt for sounding good.
For good, predictable accuracy, you are advised to say away from the Nyquist sampling limit. Approaching the limit can cause some frequencies to dominate others, or worse, create unpredictable actions.
If you opt for creating a perfect quality WAV file with your work on it, you should know that Audacity, unless you stop it, adds shaped dither noise to the work to keep the conversion from 32-bit floating (Audacity Internal) to 16 bit errors from lining up. If you don’t put the dither signal in, the errors will line up.
Bandpass filters have their own oddities. Everybody loves “brick wall filters” (beyond here you shall not pass!) but severe filters do messy things to the passband and the work in the middle. Look up the difference between Chebyshev (messy, sharp) and Butterworth (gentle, sloppy) filters.
Like most digital white noise generators, Audacity generates white noise by producing audio samples with random values between +/- 1.
See also: White noise - Wikipedia
Ref the lowest noise frequency, I understand what you are suggesting but there must be a specific value that mathematically Audacity generates regardless of the three samples case you mention. Unless I am missing something?
White noise is random (but quantized) so any frequency has an equal probability including DC (zero Hz). And the probability of any single frequency for any period of time is essentially zero…
It should be possible (and probably more useful) to calculate the probability of a range of frequencies (maybe 0-1Hz or 0-10Hz if you’re interested in very-low frequencies).
But there is a fairly high probability of some DC component over any period of time. i.e. The positive & negative samples are unlikely to sum-to exactly zero.
but some modern digital filters can get pretty close to “ideal” brick wall. For example, this is low-pass filtered with Audacity’s “Spectral Delete” effect:
I need to implement white noise ideally up to 193KHz for testing application (not only for audio).
Remember that? There are radio transmitters running at that frequency and we still have to get the work out of the computer and into the test. Further, for good stable digital accuracy, you could need a sampling frequency as high as 500KHz. You can’t depend on limits of human hearing to glide you over errors and inaccuracies. “It sounds fine, don’t worry about it.” doesn’t work at those rates.