Hi Ivo.

 > Hi Riley, thank you and others for so fast feedback. It shoud
 > keep me going.

 >> Personally, I'd like to see the following options from such
 >> a driver:

 >> 1. With or without sidetone. In other words, the user can
 >>    choose whether they can hear the morse through the PC's
 >>    speaker or not.

 > Sound can be disabled by using 0 as tone frequency (e.g.
 > cwkeyset 0 100)

I have to admit that there are times when I'm using the PC to record
something, with the recording software playing what it's recording
over the PC's speaker so I can monitor it for anything odd, and I'm
using morse separately with my transceiver providing the sidetone. Is
this compatible with doing the above ???

 >> 2. Output either straight keying or tone encoded. Whilst HF
 >>    tends to use direct keying of the transmitter, VHF and
 >>    above tends to use a tone that is modulated by the keying
 >>    signal, being 0 Hz for off and anywhere between 600-1500
 >>    Hz when on. The PTT is thus keyed for the entire message.

 > I can make an option for PTT but from where should come the
 > sound? From PC speaker - requires hardware intervention (read:
 > soldering wires inside PC) or from sound blaster - requires some
 > more learning :-))

To give an example of my preferred option using the parallel port, I
would designate D0 as PTT and D1 as Audio In. Presumably something
similar could be done with the serial port ???

 >>  3. Choice of port to use. From the description, you've used
 >>     a specific serial port for the morse output, but that is
 >>     probably less than optimal.

 > At the moment you can (or you should be able to) use COM1 or
 > COM2 for keying. It is done by "make cwup1" for COM1 and "make
 > cwup2" for COM2.

So if I need to change the port, I have to recompile? I would much
prefer a command-line option. In fact, the attachen manpage describes
the interface I would like to see...

 > Of course that you can use supplied commands inside Makefile
 > somewhere else. I will add support for LPT keying also.

Nodz.

Best wishes from Riley GM7GOD / KB8PPG

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux  |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch.   |
+----------------------------------------------------------------------+
 * ftp://ftp.MemAlpha.cx/pub/rhw/Linux
 * http://www.MemAlpha.cx/kernel.versions.html
.TH CW 1 "CW Keyer" "Author" \" -*- nroff -*-
..
.SH NAME
cw \- Morse code (cw) keyer
..
.SH SYNOPSIS
.B cw
.B [ -a ]
.B [ -p port ]
.B [ -s port ]
.B hz
.B wpm
..
.SH DESCRIPTION
This program accepts standard ASCII text as input, and produces the
equivalent morse code as output on the specified port, and optionally
on the PC's speaker as well.
..
.SH OPTIONS
.TP
.I \-a
Enable output to the PC's speaker.
..
.TP
.I \-p port
Use the specified
.B parallel
port for keying.
..
.TP
.I \-s port
Use the specified
.B serial
port for keying.
..
.TP
.I hz
Produce a tone corresponding to the specified number of Hertz.
..
.TP
.I wpm
Produce output such that the word "PARIS " (inclusive of the trailing
space) sent continuously would occur the specified number of times
each minute.
..
.SH EXAMPLES
.TP
.I cw -a -s /dev/ttyS0 880 30
Produce sidetone on the PC's speaker and using the first serial port,
the tone to be musical A5, which is the second A above middle C, and
do so at 30 words per minute.
..

Reply via email to