home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / rec / radio / shortwav / 8889 < prev    next >
Encoding:
Text File  |  1992-12-22  |  3.5 KB  |  92 lines

  1. Newsgroups: rec.radio.shortwave
  2. Path: sparky!uunet!uunet.ca!canrem!dosgate!dosgate![sander.schimmelpenninck@canrem.com]
  3. From: "sander schimmelpenninck" <sander.schimmelpenninck@canrem.com>
  4. Subject: computer as tone gen
  5. Message-ID: <1992Dec22.4230.11523@dosgate>
  6. Reply-To: "sander schimmelpenninck" <sander.schimmelpenninck@canrem.com>
  7. Organization: Canada Remote Systems
  8. Distribution: rec
  9. Date: 22 Dec 92 14:54:11 EST
  10. Lines: 80
  11.  
  12. This note describes how you can use your computer as an accurate
  13. audio-tone sweep generator to tune musical instruments and check
  14. the frequency of a digital shortwave receiver.
  15.     BACKGROUND
  16. With BASIC you can generate an audio tone as follows:
  17. SOUND,1000,50. That will give a 1,000-Hz tone lasting a few
  18. seconds.
  19.     Marc Cormier wrote the following BASIC program:
  20. 10 cls
  21. 20 KEY(11) ON: KEY(14) ON: KEY(1) ON
  22. 30 INPUT "Frequency in Hz";X
  23. 40 INPUT "Increments in Hz";Y
  24. 50 PRINT "To end press F1"
  25. 60 IF X<37 OR X>30000 THEN PRINT "Frequency limit": END
  26. 70 SOUND X,1 : LOCATE 10,1 : PRINT X
  27. 80 ON KEY(11) GOSUB 120
  28. 90 ON KEY(14) GOSUB 140
  29. 100 ON KEY(1) GOSUB 160
  30. 110 GOTO 60
  31. 120 X=X+Y
  32. 130 RETURN 60
  33. 140 X=X-Y
  34. 150 RETURN 60
  35. 160 END
  36.     To invoke this program from the DOS prompt, enter BASIC
  37. C:\UTIL\TONEGEN. For BASIC substitute the name of your BASIC
  38. version. For UTIL substitute the subdirectory where you keep
  39. utilities.
  40.     Enter the starting frequencies as prompted. Then use the up
  41. and down keys to sweep up and down by the increment you
  42. specified.
  43.     Hit F1 when done, F2 to run the program again, or enter
  44. SYSTEM to exit to DOS.
  45. ACCURACY
  46.     National Institute of Technology station WWV broadcasts tones
  47. of 500, 600, and occasionally 440 Hz (middle A). Its frequencies are
  48. 2.5, 5, 10, 15, and 20 MHz. This allows to verify your tone
  49. generator.
  50. CHECKING A SHORTWAVE SET
  51.     Here is how I check the frequency of my receiver, which tunes
  52. in 100-Hz steps:
  53.     Go to upper sideband.
  54.     Tune 300 Hz below a WWV signal when the station is sending
  55. second ticks only. If my receiver were perfect, I would get a 300-
  56. Hz tone.
  57.     Produce a 300-Hz tone on the computer. Sweep up and down
  58. until the radio and the computer produce the same tone.
  59.     With my radio the tones are the same when my computer
  60. produces a 260-Hz tone. That means the frequency readout on my
  61. radio is 40 Hz high.
  62. CHECKING A TRANSMITTER
  63.     I measured the frequency of my CB as follows:
  64.     Select Channel 13, which is 27,115 MHz.
  65.     Tune shortwave set to 27,114.7 MHz.
  66.     Desensitize shortwave set by removing external antenna and
  67. cranking RF gain down.
  68.     Depress microphone button.
  69.     Sweep generator until the two tones are identical.
  70.     With my CB that happens when the tones are both 290 Hz. That
  71. would suggest my CB is 10 Hz high. But my shortwave set is 40 Hz
  72. high. Thus my CB is actually 30 Hz low.
  73. TUNING A STRING INSTRUMENT
  74.     To tune a string instrument, you need to know the nominal
  75. frequencies.
  76. BRACKETING
  77.     The methods described use zero-beating. When two slightly
  78. tones are present, they produce a third one called a heterodyne.
  79. One easy way to determine zero beat is to tune the generator to
  80. one side of the signal until a wobble of, say, five Hz results, and
  81. then to the other side for the same wobble. You then take the
  82. average of the two tones.
  83. CREDIT
  84.     Marc Cormier deserves 99% of the credit for this utility. He
  85. wrote the program in response to my query on a bulletin board.
  86. ...
  87.     Comments invited.
  88.     Sander Schimmelpenninck
  89. --
  90. Canada Remote Systems  - Toronto, Ontario
  91. World's Largest PCBOARD System - 416-629-7000/629-7044
  92.