[SqueakAudio] Generating "Soothing Sounds"
John.Maloney@disney.com
John.Maloney@disney.com
Tue, 22 Feb 2000 10:59:49 -0800 (PST)
Mark,
I don't know how these gadgets work, but I suspect you could make
a "pink" noise generator in Squeak fairly easily. The plan would
be to use a cheap random generator to create "white" noise, then
filter it to create "pink" noise with the desired spectrum. The
design problem reduces to coming up with a pleasing spectrum.
The next level of sophistication would be to use a tunable
filter whose center frequency wanders about over a certain range.
Mind you, I don't know enough about digital filter design to
do this myself. But if you know a EE, they've may have a basic
DSP textbook that would tell you how. This is the kind of thing
that would be a snap to prototype in CSound or Kyma...
-- John
At 1:18 PM -0500 2/21/00, Mark Guzdial wrote:
>I was wondering something this weekend, and thought that maybe this
>list might have the folk who can point me toward my answer -- though
>the question is not exactly the main focus of this list.
>
>During a particularly child-noisy point this weekend, I got to
>thinking about those "pleasant sound" generating gadgets that I see
>in the stores these days: The ones that generate the sound of falling
>rain, or whatever.
>
>- How do these work? Are they just playing samples over and over
>(perhaps in different orders)? Or are they actually synthesizing the
>sounds?
>
>- If the latter, does anyone have any sample code that can do this
>kind of synthesis? My preference is for Squeak code, please, but
>understandable pseudo-code, MATLAB/MATHEMATICA, or even C code would
>be interesting.
>
>Thanks!
> Mark