Re: Please, White Noise app
Re: Please, White Noise app
- Subject: Re: Please, White Noise app
- From: "R.A. Hettinga" <email@hidden>
- Date: Sun, 21 May 2006 16:51:54 -0400
At 4:36 PM -0400 5/21/06, Bobby B wrote:
> Isn't white noise just the inverse of the sounds?
I'll take a stab at this...
White noise is random sound. Use a random number generator, bound the
output between the frequencies of the human ear in hertz, and pump it
through CoreAudio, or whatever.
If your code is small enough and oscillates through random frequencies fast
enough, you should have something that sounds like white noise. (It won't
*really* be random, as all "random number" generators are really
*pseudo*-random number generators, but should pass an audio "Turing"
test...)
Finally, if it's generating tones too slowly, just store the numbers first,
let them pile up, and then play them all at once. At some point, loop the
output longer than a typical human attention span, and only a cryptographer
could tell the difference.
Cheers,
RAH
Who's hung with entirely too many crypto people, it appears...
--
-----------------
R. A. Hettinga <mailto: email@hidden>
The Internet Bearer Underwriting Corporation <http://www.ibuc.com/>
44 Farquhar Street, Boston, MA 02131 USA
"... however it may deserve respect for its usefulness and antiquity,
[predicting the end of the world] has not been found agreeable to
experience." -- Edward Gibbon, 'Decline and Fall of the Roman Empire'
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden