Searching \ for 'White noise generator' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=white+noise+generator
Search entire site for: 'White noise generator'.

Truncated match.
PICList Thread
'White noise generator'
1999\05\28@114845 by Craig Lee

flavicon
face
Speaking of pic sound code, does anyone have code/circuitry examples
for generating white noise, etc.

I was thinking of using a 12C509 and direct driving an element from
an I/O pin with PWM.  Then varying the duty cycle register with a
random number generator.  Do I have to vary the frequency too?

I am new to this synthesis stuff.

Thanks,

Craig

1999\05\28@121330 by Philippe

flavicon
face
At 09:43 28/05/99 -0600, you wrote:
>Speaking of pic sound code, does anyone have code/circuitry examples
>for generating white noise, etc.
>
>I was thinking of using a 12C509 and direct driving an element from
>an I/O pin with PWM.  Then varying the duty cycle register with a
>random number generator.  Do I have to vary the frequency too?

You will find a PWM Sound generato example with UMPS, a project
file called 84SNDPWM.PRJ show how it is possible to generate PWM
sound. This can also be used to translate a recorded table directly
as PWM output. UMPS will simulate that, record the waveform, resample
it at 22KHz and resend it to your sound card if you have one. It
will also create .WAV file that can be analysed after if necessary using
a WAV viewer or other WAV tools.

Give it a try:   http://www.vmdesign.com

Regards,
       Philippe.

1999\05\28@162807 by MEDICINTEKNIK KB

picon face
>From time to time various shiftregister-feedback or other electonic randomizers appears.

A quite simple way of generating a quite near white noice (well - pink) is to feed a zener diode with a high value resistor. The zener voltage should be around ¸ Vcc, and R about 1 Meg. Attach a 10 nF capacitor to the Zener, and the other end to an OP Amp - gain 1000 . You will find a rushing noice on the output pin. Depending on your needs, this could possibly be a way of very simply generationg a random noice.

Sven Milton


-----Ursprungligt meddelande-----
FrŒn: Craig Lee <spam_OUTcleeTakeThisOuTspamATTCANADA.NET>
Till: .....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU <PICLISTspamKILLspamMITVMA.MIT.EDU>
Datum: den 28 maj 1999 17:48
€mne: White noise generator


{Quote hidden}

1999\05\28@163540 by Craig Lee

flavicon
face
Thanks.

I was looking more for simulated sounds, and examples of how to generate
white noise, pink noise, buzzing, chirping, sirens, etc with a small
cheapo pic.  Precision isn't necessary, and direct drive with a square
wave is fine.

I am looking for noises that are annoying to animals, but are audible
and tolerable to humans... perhaps a difficult task.

Craig


> {Original Message removed}

1999\05\28@180223 by paulb

flavicon
face
Craig Lee wrote:

> I was looking more for simulated sounds, and examples of how to
> generate white noise, pink noise, buzzing, chirping, sirens, etc with
> a small cheapo pic.  Precision isn't necessary, and direct drive with
> a square wave is fine.

 White noise is the easiest insofar as feeding the bitstream from the
PRBSG clocked at a frequency *much* beyond audio is *already* PWM.  I
have no suggestions on pink noise, and the others require little effort
as far as "PWM" goes.

> I am looking for noises that are annoying to animals, but are audible
> and tolerable to humans... perhaps a difficult task.

 Oooh yes!  I'm sure animals would by and large, ignore large amounts
of white or pink noise entirely, and I cannot think of *any* possible
sound that would annoy an animal that I wouldn't *hate*, inclusive of
mating calls etc...

Sven Milton (MILTON MEDICINTEKNIK KB) wrote:

> A quite simple way of generating a quite near white noice (well -
> pink) is to feed a zener diode with a high value resistor.  The zener
> voltage should be around ¸ Vcc, and R about 1 Meg.

 A popular component to use is the reverse-biassed E-B junction of a
common signal transistor which typically breaks down at 5V (use a 12V
supply).  Note that the reverse-biassed E-C junction has a negative-
resistance breakdown characteristic due to the transistor action.
--
 Cheers,
       Paul B.

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...