home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / alt / sb / programm / 291 < prev    next >
Encoding:
Text File  |  1992-07-28  |  2.4 KB  |  55 lines

  1. Newsgroups: alt.sb.programmer
  2. Path: sparky!uunet!decwrl!concert!rock!stanford.edu!ames!data.nas.nasa.gov!mustang.mst6.lanl.gov!nntp-server.caltech.edu!heathh
  3. From: heathh@cco.caltech.edu (Heath Ian Hunnicutt)
  4. Subject: Re: Decoding DTMF tones with sb ? Is it possible ?
  5. Message-ID: <1992Jul28.182436.28976@cco.caltech.edu>
  6. Sender: news@cco.caltech.edu
  7. Nntp-Posting-Host: bartman
  8. Organization: California Institute of Technology, Pasadena
  9. References: <LAHIKAIN.92Jul27154518@mamba.lut.fi> <98=k02aT1b8R01@JUTS.ccc.amdahl.com> <1992Jul28.102614.21751@ugle.unit.no>
  10. Distribution: alt
  11. Date: Tue, 28 Jul 1992 18:24:36 GMT
  12. Lines: 41
  13.  
  14. venaas@siri.unit.no (Stig Venaas) writes:
  15. >I've made a program that plays 0-9,* and #. I've cheated a bit though.
  16. >I'm using vplay and samples of the touch tones.
  17. >But, I'm writing a new one now, where I generate the tones by driving
  18. >the SB directly. I'm also thinking of incorporating decoding.
  19.  
  20. >There are two problems which I hope someone can help with.
  21.  
  22. >1. What are the other 4 DTFMs? I know the freqs for them, but I don't
  23. >   know what they are called. Each consists of two sine waves. There
  24. >   are four choises for each of them. I know all the freqs and I know
  25. >   which pairs 0-9 uses, and I can find out which * and # uses. But
  26. >   not the other 4.
  27.  
  28.     The others are A,B,C,D the are on the right of the keypad, 
  29. A is at the top, making it a 4x4 grid.
  30.     Why does it matter where they are?  Because DTMF stands
  31. for *Dual* tone multi frequency encoding.  Each column on the keypad
  32. is assigned a frequency, and so is each row.  When a button is pressed,
  33. the frequencies for that row and column are mixed and output.
  34. Thus, "Dual" Tone.  The A-B-C-D column adds only one new frequency to
  35. the keypad, using the four previously available row freqs to mix 
  36. with the new column freq.
  37.     Therefore, you should be able to figure out * and # based
  38. on the info you already have.  Also, most modems support the A-D dial
  39. characters, so you could "ear sample" them that way.
  40.  
  41. >2. I need some info on how to program the SB in order to sample. I
  42. >   could look into the code for vrec, but it's not an easy way of
  43. >   getting the info.
  44.     Try anon ftp to tybalt.cco.caltech.edu.  Look at
  45. /pub/heathh/sb/INDEX, and the rest should be straightforward.
  46.  
  47. See ya, Heath
  48.  
  49. P.S> Line noise is bad today, so please forigve my spelling and justification
  50. troubles.
  51.  
  52. -- 
  53. On Saturday, April 18, 1992, this .sig became self-aware.
  54.  
  55.