home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!lll-winken!telecom-request
- From: hpa@casbah.acns.nwu.edu (H. Peter Anvin N9ITP)
- Newsgroups: comp.dcom.telecom
- Subject: Re: Help Needed With DTMF Tones
- Message-ID: <telecom12.854.5@eecs.nwu.edu>
- Date: 16 Nov 92 07:24:53 GMT
- Sender: Telecom@eecs.nwu.edu
- Reply-To: hpa@nwu.edu (H. Peter Anvin)
- Organization: TELECOM Digest
- Lines: 40
- Approved: Telecom@eecs.nwu.edu
- X-Submissions-To: telecom@eecs.nwu.edu
- X-Administrivia-To: telecom-request@eecs.nwu.edu
- X-Telecom-Digest: Volume 12, Issue 854, Message 5 of 12
-
- In article <telecom12.847.2@eecs.nwu.edu> of comp.dcom.telecom,
- Alistair Grant <100032.525@CompuServe.COM> writes:
-
- > The response about DTMF tones was great. Every one says I need
- > both tones, not the average -- ok -- but my physics book says that
- > when two pure frequencies are emitted then the resultant frequency and
- > frequency only is the average.
-
- > Anyway with just one speaker how do I emulate two tones so as to
- > fool the phone? I have seen watches that dial telephone number; how do
- > they do it?
-
- They do it by feeding the sum of two sinusoids to their single
- speaker. It is just that the phony square wave generator of the PC
- only can generate 0's and 1's, which is not good enough.
-
- Your physics book is correct, with a reservation. It all is due to
- the equation:
-
- cos(f1) + cos(f2) = 2 * cos((f1+f2)/2) * cos((f1-f2)/2)
- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
- Average freq. Difference freq.
-
- If the difference between the two frequencies is significantly smaller
- than the average, the waveform looks like the average frequency
- *modulated by the difference frequency*. These two frequencies are
- called _carrier_frequency_ and _beat_frequency_, respectively.
-
- I'd suggest putting this equation in a spreadsheet model and plot out
- the graph. It will be very clear, but do it over enough periods so
- the pattern is clear. Then go out and get a synthesizer board,
- preferrably one which handles digitized sound. Then all you need to
- do is compute the equation above and feed it to the DAC.
-
-
- hpa
- INTERNET: hpa@nwu.edu TALK: hpa@casbah.acns.nwu.edu
- BITNET: HPA@NUACC IBMNET: 16331@IBMX400
- HAM RADIO: N9ITP NeXTMAIL: hpa@lenny.acns.nwu.edu
-