home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / dcom / telecom / 11977 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.3 KB

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