Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Dave Platt <dplatt@radagast.org>
To: Alan Crosswell <alan@columbia.edu>
Cc: "Curt, WE7U" <archer@eskimo.com>,
	linux-hams@vger.kernel.org,
	linux-hams-using-ax25@yahoogroups.com
Subject: Re: Xastir Development Snapshot + Soundmodem/AX.25 HOWTO's
Date: Thu, 21 May 2009 10:47:13 -0700	[thread overview]
Message-ID: <4A1593A1.4000806@radagast.org> (raw)
In-Reply-To: <4A1585AA.5000300@columbia.edu>


> Somewhat OT: but has anyone successfully used a USB sound "card" with
> soundmodem?

I've been able to make a soundmodem 1200-baud connection using a
SignaLink USB (setting the soundmodem PTT to /dev/null, since
the SignaLink USB has its own vox-driven PTT circuit).

Some tricks:

-  If possible, use the direct ALSA "hw:" interface, and set
    the soundmodem's sample rate equal to one of the "native"
    rates supported by your USB sound card.  This ensures that
    no DSP- or CPU-based sample rate conversion needs to be
    done.

-  With some USB sound cards this may not be possible... there
    are those which have *different* sample rate sets for input
    and output, and might not even have a single rate in common
    which works in both directions.  In this case, specify the
    ALSA "plughw:" interface, so that ALSA's sample-rate conversion
    plugin does the necessary rate conversions... it seems to work
    quite well.

-  Do *not* use the OSS compatibility driver for ALSA (e.g.
    the /dev/dsp interface).  Although this driver does
    attempt to perform sample-rate conversion, it doesn't do
    so at all well... I've seen periodic dropouts in the
    incoming data (sequences of sample values of zero) whenever
    the buffer wraps around.  This really mucks up digital
    modes!

-  Make sure you've got the most recent version of the
    soundmodem code (it looks as if it's up to version
    0.13).  There were some important patches to ALSA
    support a few months ago, which eliminate a bunch of
    errors and freezes during TX/RX switching... versions
    0.10 and earlier did not work well with ALSA USB.




      parent reply	other threads:[~2009-05-21 17:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21 16:03 Xastir Development Snapshot + Soundmodem/AX.25 HOWTO's Curt, WE7U
2009-05-21 16:47 ` Alan Crosswell
2009-05-21 17:30   ` Bent
2009-05-21 17:47   ` Dave Platt [this message]

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=4A1593A1.4000806@radagast.org \
    --to=dplatt@radagast.org \
    --cc=alan@columbia.edu \
    --cc=archer@eskimo.com \
    --cc=linux-hams-using-ax25@yahoogroups.com \
    --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