[comp.lang.pascal] Procedure request for Turbo Pascal 5.5

HCM100@psuvm.psu.edu (Hans C. Masing) (02/01/91)

Hi all-

     I am writing a program to run a Ham radio repeater in Pascal.
Nothing fancy, just something to convert text to morse code and
vice-versa.

     The problem I have run into is sending the dots and dashes to
the speaker.  I haven't the foggiest how to go about creating the
sound.  If anyone has a procedure or any type of code that they
know works, PLEASE send it if it's alright with you.  :-)

     Thanks.
     Hans

     PS-Please send it e-mail.  Ideas are also encouraged...

*------------------------------------*
| INTERNET:  HCM100 @ PSUVM.PSU.EDU *----------------------------------*
| BITNET:    HCM100 @ PSUVM         | "In all things it is a good idea |
*-----------------------------------| to hang a question mark now and  |
    | Hans Christopher Masing       | then on the things we have taken |
    | 3732 Beech Avenue             | for granted."  -Bertrand Russel  |
    | Erie, Pennsylvania  16508     *----------------------------------*
    *----------------------------------*

ebergman@isis.cs.du.edu (Eric Bergman-Terrell) (02/05/91)

For your morse code to speaker problem:

use the "sound" and "delay" procedures (described in the reference manual).
What you want to do should be relatively easy.

Terrell