Searching \ for '[PIC]: A metronome project' 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/microchip/devices.htm?key=pic
Search entire site for: 'A metronome project'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: A metronome project'
2003\04\07@175521 by William Chops Westfield

face picon face
I've often wondered (ok, not THAT often) how to get a microcontoller to
generate a convincing "tick" or "tock" sound out of a speaker.  Little
beeps are just ... inelegant, and simply driving the cone with DC seems
like it would be too short...

BillW

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

2003\04\07@180113 by Jack Smith

picon face
Try 5 mSec or so of a 1000 Hz square wave. It gives a decent "tick" sound.

Jack



-----Original Message-----
From: pic microcontroller discussion list
[spam_OUTPICLISTTakeThisOuTspamMITVMA.MIT.EDU]On Behalf Of William Chops Westfield
Sent: Monday, April 07, 2003 5:55 PM
To: .....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU
Subject: Re: [PIC]: A metronome project


I've often wondered (ok, not THAT often) how to get a microcontoller to
generate a convincing "tick" or "tock" sound out of a speaker.  Little
beeps are just ... inelegant, and simply driving the cone with DC seems
like it would be too short...

BillW

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.467 / Virus Database: 266 - Release Date: 4/1/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.467 / Virus Database: 266 - Release Date: 4/1/2003

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

2003\04\07@180314 by Ned Konz

flavicon
face
On Monday 07 April 2003 02:54 pm, William Chops Westfield wrote:
> I've often wondered (ok, not THAT often) how to get a
> microcontoller to generate a convincing "tick" or "tock" sound out
> of a speaker.  Little beeps are just ... inelegant, and simply
> driving the cone with DC seems like it would be too short...

Make a drum out of it: make a high-Q analog filter and feed it a
pulse.

--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE

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

2003\04\07@185614 by Dave Tweed

face
flavicon
face
William Chops Westfield <billwspamKILLspamCISCO.COM> wrote:
> I've often wondered (ok, not THAT often) how to get a microcontoller to
> generate a convincing "tick" or "tock" sound out of a speaker.  Little
> beeps are just ... inelegant, and simply driving the cone with DC seems
> like it would be too short...

The tick that WWV/WWVH broadcasts every second is actually 10 cycles of
a 1 kHz tone, lasting 10 ms.

-- Dave Tweed

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

2003\04\07@194107 by Jinx

face picon face
part 1 1252 bytes content-type:text/plain; (decoded 7bit)

> I've often wondered (ok, not THAT often) how to get a
> microcontoller to generate a convincing "tick" or "tock" sound
> out of a speaker.  Little beeps are just ... inelegant, and simply
> driving the cone with DC seems like it would be too short...
>
> BillW

Bill, I've used this damped oscillator circuit in various forms for
keyboard feedback, sound effects like clocks tick-tocking and
on one occassion (Re:A metronome project), a headphone/LED
metronome for a learner drummer. Input is a trigger pulse from
the PIC and the output is sinusoidal rather than square and quite
a pleasant sound. Changing components to alter the pitch and
decay time will get you sounds that range from a wood block
(or claves/skulls as they called them) to a bass drum. The current
consumption is low, so the 4011 can be powered from a PIC
pin and turned off if needed

It was originally part of a late 70s Practical Electronics rhythm
generator (when RGs and percussion synths were all the rage
and part of that wretched disco thing)

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




part 2 2719 bytes content-type:image/gif; (decode)


part 3 2 bytes
-

2003\04\07@201539 by Jinx

face picon face
> BillW

There's also this

http://home.clear.net.nz/pages/joecolquitt/davedong.html

It's more of a s/w solution, and looked promising, although
I didn't have a lot of time to experiment

(DD, apology for title still stands)

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

2003\04\08@082052 by Olin Lathrop

face picon face
> I've often wondered (ok, not THAT often) how to get a microcontoller to
> generate a convincing "tick" or "tock" sound out of a speaker.  Little
> beeps are just ... inelegant, and simply driving the cone with DC seems
> like it would be too short...

I did this once by running a 5V pulse into a speaker.  I sortof remember
it was in the 1 to 10mS range, but this was a long time ago.  If the pulse
is too long, you hear both edges.  If it's too short, the volume is
reduced.  The pitch largely depends on the characteristics of the speaker.


*****************************************************************
Embed Inc, embedded system specialists in Littleton Massachusetts
(978) 742-9014, http://www.embedinc.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2003\04\08@083339 by hael Rigby-Jones

picon face
> -----Original Message-----
> From: Olin Lathrop [SMTP:.....olin_piclistKILLspamspam.....EMBEDINC.COM]
> Sent: Tuesday, April 08, 2003 1:20 PM
> To:   EraseMEPICLISTspam_OUTspamTakeThisOuTMITVMA.MIT.EDU
> Subject:      Re: [PIC]: A metronome project
>
> > I've often wondered (ok, not THAT often) how to get a microcontoller to
> > generate a convincing "tick" or "tock" sound out of a speaker.  Little
> > beeps are just ... inelegant, and simply driving the cone with DC seems
> > like it would be too short...
>
> I did this once by running a 5V pulse into a speaker.  I sortof remember
> it was in the 1 to 10mS range, but this was a long time ago.  If the pulse
> is too long, you hear both edges.  If it's too short, the volume is
> reduced.  The pitch largely depends on the characteristics of the speaker.
>
>
A capacitvely coupled square wave works ok.  You get a loud tick on every
edge and don't keep DC current running through the speaker.  for the
ultimate you could sample the tick and tock from a classic metronome and pay
them back via a DAC or PWM.

Mike


=======================================================================
This e-mail is intended for the person it is addressed to only. The
information contained in it may be confidential and/or protected by
law. If you are not the intended recipient of this message, you must
not make any use of this information, or copy or show it to any
person. Please contact us immediately to tell us that you have
received this e-mail, and return the original to us. Any use,
forwarding, printing or copying of this message is strictly prohibited.
No part of this message can be considered a request for goods or
services.
=======================================================================
Any questions about Bookham's E-Mail service should be directed to postmasterspamspam_OUTbookham.com.

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2003\04\08@162251 by Dwayne Reid
flavicon
face
At 02:54 PM 4/7/03 -0700, William Chops Westfield wrote:
>I've often wondered (ok, not THAT often) how to get a microcontoller to
>generate a convincing "tick" or "tock" sound out of a speaker.  Little
>beeps are just ... inelegant, and simply driving the cone with DC seems
>like it would be too short...

The little 'BANG' simulator I built for some pyro FX guys several years
back used a simple capacitive discharge scheme.  Charge a small cap (1 uF?
10 uF?) to a relatively high voltage (several 9V batteries in series), then
dump that charge into a little 4" speaker via MOSFET.  Makes a *very* loud
tick that can be heard over a large area.  Batteries last for a long time -
not quite shelf life but close.  The gear comes back every couple of years
for a checkup - I change the batteries just on spec.

dwayne

--
Dwayne Reid   <@spam@dwaynerKILLspamspamplanet.eon.net>
Trinity Electronics Systems Ltd    Edmonton, AB, CANADA
(780) 489-3199 voice          (780) 487-6397 fax

Celebrating 19 years of Engineering Innovation (1984 - 2003)
 .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-
    `-'   `-'   `-'   `-'   `-'   `-'   `-'   `-'   `-'
Do NOT send unsolicited commercial email to this email address.
This message neither grants consent to receive unsolicited
commercial email nor is intended to solicit commercial email.

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

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