Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Pierre-Philippe Coupard <pcoupard@easyconnect.fr>
To: Andrea Borgia <borgia@cs.unibo.it>
Cc: linux-hams@vger.kernel.org
Subject: Re: Usermode Soundmodem
Date: Tue, 27 Jul 2004 17:36:53 +0200	[thread overview]
Message-ID: <41067695.3000101@easyconnect.fr> (raw)
In-Reply-To: <41066CFF.4070809@cs.unibo.it>

Andrea Borgia wrote:
> What it your software? I might try it just to see how it fares.

It's CWirc (http://webperso.easyconnect.fr/om.the/web/cwirc/). The 
reason it tends to reveal problems with sound devices is because it 
requires very low latency from them, because latency is quite an issue 
with fast CW'ers, and also because it derives its timing from the 
sound card. As a result, bad sound devices that are okay, or at least 
passable with less demanding programs, may create a number of problems 
with CWirc, most notably sound scratchiness, and strange sync issues 
with gMFSK when the latter is used in CWirc-slave mode. Those problems 
never happen with sound devices other than the ones I cited.

> By the way, gMFSK works flawlessly on this same laptop using Alsa's OSS emulation.

gMFSK has lesser sound buffer size and fragment size requirements than 
CWirc.

> I would like to solve this problem just because I like fixing things, 
> not because I really need the soundmodem to work: I can reach my own 
> dxcluster node by telnet much more conveniently and reliably than over 
> the air.

The problem is in the sound hardware that puts too much burden on the 
driver side to compensate for the chip's cheesiness. It's a typical 
"winmodem" approach to hardware engineering: make the cheapest 
hardware possible and let the driver compensate, at the expense of CPU 
usage and performance.

CWirc already has provisions to alleviate the problem somewhat, by 
installing it suid root so it can renice itself, and if you really 
have to, you can recompile it with a larger sound buffer size, but it 
makes the audio latency unacceptable for high-speed operators. Already 
  as it is, there's a 30ms delay between the moment you press the 
paddle and the moment you hear the beep, and that's enough to make 
keying over 25 wpm significantly harder than with a real transceiver.

73 QRO, Pierre F8EJF

  reply	other threads:[~2004-07-27 15:36 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-25 18:33 Announcing Portable PREDICT Plus! John Magliacane
2004-07-25 20:02 ` Tapio Sokura
2004-07-25 21:22   ` John Magliacane
2004-07-26 15:58 ` Usermode Soundmodem Dave Stubbs
2004-07-26 17:14   ` Andrea Borgia
2004-07-26 19:33     ` Pierre-Philippe Coupard
2004-07-26 20:10       ` pa3gcu
2004-07-26 20:23         ` Pierre-Philippe Coupard
2004-07-26 20:42           ` pa3gcu
2004-07-27 14:55       ` Andrea Borgia
2004-07-27 15:36         ` Pierre-Philippe Coupard [this message]
2004-07-26 17:34   ` Dave Platt
2004-07-26 17:47     ` Luc Langehegermann
  -- strict thread matches above, loose matches on Subject: below --
2004-07-26 20:20 John Mock
2004-07-27 15:04 ` Andrea Borgia
2004-07-27 17:29   ` Tomi Manninen
2004-07-27 17:54     ` Dave Platt
2004-07-27 18:21       ` Tomi Manninen
2004-07-27 18:24         ` Dave Platt
2004-07-28 15:24     ` Luc Langehegermann
2005-07-24 11:10 usermode soundmodem Alexander Werner
2005-07-25  8:14 ` Thomas Sailer
     [not found]   ` <20050725094450.GK32031@router.lan>
2005-07-25 13:13     ` Thomas Sailer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41067695.3000101@easyconnect.fr \
    --to=pcoupard@easyconnect.fr \
    --cc=borgia@cs.unibo.it \
    --cc=linux-hams@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox