Hello,
I was wondering if someone (an Audacity developer preferably) could tell me what sort of random number generator / seed is being used to generate the White, Pink and Brownian noises within Audacity?
Also, my sincerest condolences to the passing of Gale Andrews.
What Gale and the rest of the Audacity team have been able to do with Audacity is simply amazing, and an inspiration to other FOSS software developers / community members.
Note: Apologies if this post was posted in the wrong sub-forum, as I didn't know which sub-forum to post this in. If a moderator could move this to the correct sub-forum (assuming it's not this one), that would be much appreciated.
Thank you,
Nelson
How random are the generated White, Pink and Brownian noises
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Re: How random are the generated White, Pink and Brownian no
std::randnelsona wrote:I was wondering if someone (an Audacity developer preferably) could tell me what sort of random number generator / seed is being used to generate the White, Pink and Brownian noises within Audacity?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: How random are the generated White, Pink and Brownian no
Hello Steve,
So just to be certain, Audacity's developers are simply using C++'s rand function, correct?
If so, thank you.
Nelson
So just to be certain, Audacity's developers are simply using C++'s rand function, correct?
If so, thank you.
Nelson
Re: How random are the generated White, Pink and Brownian no
If by "C++'s rand function" you mean "std::rand", then yes.nelsona wrote:So just to be certain, Audacity's developers are simply using C++'s rand function, correct?
You can see the code in EffectNoise::ProcessBlock here: https://github.com/audacity/audacity/bl ... /Noise.cpp
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)