Searching \ for ' Sound Generation in C or ASSY' 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/io/audio.htm?key=sound
Search entire site for: 'Sound Generation in C or ASSY'.

No exact or substring matches. trying for part
PICList Thread
'[PICLIST] Sound Generation in C or ASSY'
2001\10\17@185850 by Larry G. Nelson Sr.

flavicon
face
I am trying to make a swishing sound by pulsing a pin and feeding it thru
an RC into an amplifier. I want it to be kind of like a hiss with a gentle
rise and fall. Not unlike a car approaching and then leaving but as a hiss
not a roar. Anyone have any solution to keep me from reinventing the wheel?
I think it would be a great effect for a swinging pendulum in a haunted house.

Thanks in advance.
Larry
Larry G. Nelson Sr.
spam_OUTL.NelsonTakeThisOuTspamieee.org
http://www.ultranet.com/~nr

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam@spam@mitvma.mit.edu with SET PICList DIGEST in the body


2001\10\17@192705 by Chris Eddy

flavicon
face
If you go electronics, it sounds complicated. If you use air, (stash the
compressor in the garage) then you would have the sound, as well as a
jet to scare someone.

Chris~

"Larry G. Nelson Sr." wrote:
>
> I am trying to make a swishing sound by pulsing a pin and feeding it thru
> an RC into an amplifier. I want it to be kind of like a hiss with a gentle
> rise and fall. Not unlike a car approaching and then leaving but as a hiss
> not a roar. Anyone have any solution to keep me from reinventing the wheel?
> I think it would be a great effect for a swinging pendulum in a haunted house.
>

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservspamKILLspammitvma.mit.edu with SET PICList DIGEST in the body


2001\10\18@120109 by Larry G. Nelson Sr.

flavicon
face
I am trying to make a swishing sound by pulsing a pin and feeding it thru
an RC into an amplifier. I want it to be kind of like a hiss with a gentle
rise and fall. Not unlike a car approaching and then leaving but as a hiss
not a roar. Anyone have any solution to keep me from reinventing the wheel?
I think it would be a great effect for a swinging pendulum in a haunted house.

Thanks in advance.
Larry

Sorry for the repost but forgot the subject category in the last post.
Larry G. Nelson Sr.
.....L.NelsonKILLspamspam.....ieee.org
http://www.ultranet.com/~nr

--
http://www.piclist.com hint: To leave the PICList
EraseMEpiclist-unsubscribe-requestspam_OUTspamTakeThisOuTmitvma.mit.edu


2001\10\19@132450 by kben

picon face
Larry, you could take a look at Olin's Halloween Example Project.
It generates several spooky sounds.
http://www.embedinc.com/pic/index.htm
http://www.embedinc.com/pic/hal.htm



{Quote hidden}

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\10\22@145452 by Larry G. Nelson Sr.
flavicon
face
I am trying to make a swishing sound by pulsing a pin and feeding it thru
an RC into an amplifier. I want it to be kind of like a hiss with a gentle
rise and fall. Not unlike a car approaching and then leaving but as a hiss
not a roar. Anyone have any solution to keep me from reinventing the wheel?
I think it would be a great effect for a swinging pendulum in a haunted house.

so far I've had a couple of replies.  Unfortunately the best response was a
method of playing back three recorded sounds but what I am looking to do is
to simply generate a sound effect by perhaps varying the parameters on one
of the PWMs.

Thanks again.
Larry


Larry G. Nelson Sr.
L.Nelsonspamspam_OUTieee.org
http://www.ultranet.com/~nr

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email @spam@listservKILLspamspammitvma.mit.edu with SET PICList DIGEST in the body


2001\10\22@171222 by Brent Brown

picon face
Hi Larry,

Just an idea: Take a random number generator routine, send the
result to the PWM register, PWM set to fastest speed. Do this
constantly at a rate of say 2-10kHz. PWM output through RC filter
and AC coupled into audio amplifier. This should give you a kind of
hissing sound, perhaps similar to white noise.

Then all you have to do is modulate the volume to make it rise and
fall like you want. Assuming the random number generator makes
random 8 bit numbers the average should be approx 80h. To reduce
the volume you need to reduce the deviation of the values from 80h.
I would suggest starting with a fixed value of 80h for your PWM
output, treat the 8 bit random number as a signed value (+/-80h),
dvide it by a number depending on the instantaneous volume you
you want, add it to the 80h and that gives you a PWM value.

I don't think I described it very clearly, but if you can decipher the
idea I hope it's useful.

Brent Brown
Electronic Design Solutions
16 English Street
Hamilton, New Zealand
Ph/fax: +64 7 849 0069
Mobile/text: 025 334 069
eMail:  KILLspambrent.brownKILLspamspamclear.net.nz

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email RemoveMElistservTakeThisOuTspammitvma.mit.edu with SET PICList DIGEST in the body


2001\10\22@195635 by Philip Galanter

flavicon
face
At 2:46 PM -0400 10/22/01, Larry G. Nelson Sr. wrote:
>I am trying to make a swishing sound by pulsing a pin and feeding it thru
>an RC into an amplifier. I want it to be kind of like a hiss with a gentle
>rise and fall. Not unlike a car approaching and then leaving but as a hiss
>not a roar. Anyone have any solution to keep me from reinventing the wheel?

Well, I am a PIC beginner but also an old school Moog Synthesizer player.

It might be easier to take the analog white noise circuit posted
recently here, and feed it to a simple low pass filter circuit.  Then
alter the LPF so the cutoff frequency can be controlled by the pulse
output...digital potentiometer substituted for a resistor?  The
filter may need a fair amount of feedback to get a nice peaky
frequency response curve.

Anyway, to get a convincing swish sound you need to modulate both the
loudness and the harmonic content.  Sweeping the LPF cutoff will do
that.

cheers, Philip

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email spamBeGonelistservspamBeGonespammitvma.mit.edu with SET PICList DIGEST in the body


2001\10\23@093529 by Michael Vinson

picon face
Larry G. Nelson Sr. wrote, in part:
>I am trying to make a swishing sound by pulsing a pin and feeding it thru
>an RC into an amplifier. I want it to be kind of like a hiss with a gentle
>rise and fall. Not unlike a car approaching and then leaving but as a hiss
>not a roar. Anyone have any solution to keep me from reinventing the wheel?
>I think it would be a great effect for a swinging pendulum in a haunted
>house.

I have hesitated to reply because my information is probably way
out of date. I am returning to electronics after a 15-year hiatus
(kids, career, that kind of thing), but back in the day there was
a great chip called SN76477N. It was a general-purpose sound
effects chip, used in video games and that kind of thing. As I
recall, it has a bunch of filters and oscillators and noise
generators, and by configuring external resistors and capacitors,
you can make it sound like a train or a gunshot or a machine gun
or, I should think, a swinging pendulum in a haunted house. I don't
know if these things are still available...I think they were made
by Texas Instruments, and there was a time when you could buy them
at your local Radio Shack.

Michael V (I guess I'm showing my age, but I don't *feel* old!)

Thank you for reading my little posting.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

--
http://www.piclist.com hint: To leave the PICList
TakeThisOuTpiclist-unsubscribe-requestEraseMEspamspam_OUTmitvma.mit.edu


2001\10\23@164617 by joan

flavicon
face
>  I am returning to electronics after a 15-year hiatus
>  (kids, career, that kind of thing),

I'm in a similar situation than you. But now I enjoy electronics much more
than
what I did 20 years ago ! Moreover, I have some more money to spend and a
much more
deep insight of what is important and what it is not so I think that I can
take a
much better profit of my (scarce) free time. Microprocessors have evolved a
lot : the
projects I did when I was student or just graduated were most of them
8080-based
(yes, 8080s did once exist !). Do you realize how is it possible to program
a power-
frequency regulator for an electrical company in 16 K of hand made assembler
?
And regulate a power network with it ? and control the electrical energy
exchange
with another country (France in this case) ? Good old times ! ;-)

Now Pics make microprocessor-based projects much more easy to develop and I
like
to take profit of them just for fun and for learning something new.

>  Michael V (I guess I'm showing my age, but I don't *feel* old!)

I am 43 years old. I (sincerely) don't feel old. Of course I would prefer to
be
21 but this is something I cannot change, so I forget it !

I hope you will enjoy your comeback as me. Welcome !

--
http://www.piclist.com hint: To leave the PICList
RemoveMEpiclist-unsubscribe-requestspamTakeThisOuTmitvma.mit.edu


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