Sound Card Setup

Sound Card Configuration

A few words about sound I/O on the PC.  "You are in a maze of twisty little passages, all alike".

PortAudio, PulseAudio and OSS are different ways in which fldigi can access your sound card through the various sound systems.

OSS was the first audio backend in fldigi. It works with the Linux sound system of the same name, which has now been replaced by ALSA but is still supported via an emulation layer.  Its only advantage, as an audio backend, is that it's simple and doesn't require any external libraries.

The PortAudio backend was written subsequently to support OSS on Linux and FreeBSD, ALSA and JACK on Linux, CoreAudio on OS X, and also the various sound APIs on Windows -- all through the same PortAudio library.

PulseAudio is more than an audio hardware access layer; refer to its website for a summary of what it does. Fldigi supports it mainly because many Linux distributions are now integrating it with their desktops, but also because it has a few interesting features: 

In the future it might be possible to replace all of these with a single backend, without any loss of functionality, performance, sound system or platform support. That'll be the day! Until then:

On Linux:

On Windows:


Select the SndCrd tab on the configuration dialog.

On Linux Fldigi can interface to the sound card using either the OSS, the Portaudio, or the PulseAudio.  Each of the appropriate libraries must be present on the computer to use that particular sound i/o.

On Windows Fldigi uses the Portaudio sound driver only.

It is also possible to configure Fldigi with File I/O only, which is useful for testing the application without an interface to the sound card.  In the File I/O only configuration you can record and playback audio files in a number of different formats including the "wav" format associated with the Windows operating system.

The program will find all active sound cards and the associated drivers for both.  Select the sound card and driver type that will be used with the program.  I recommend using the PortAudio device driver if that is available on your Linux distribution.  



If PortAudio is selected then you can either allow the program to use the auto detect to determine the best sound card sampling rate, or you can pick from the drop down list.  If you know your RX and TX sound card oscillator correction factors you can enter them now.  If not you can determine the RX rate correction using a special WWV modem built into Fldigi.  The decoder and encoder logic for each of the various modems require a specific sound card sample rate which may not be the the actual sound card sample rate.  The conversion between the modem sample rate and the sound card sample rate is accomplished by one of a set of sample rate converters.  



Next select whether you will be using Line-In or Mic-In for the audio connection from the receiver output.  Fldigi ALWAYS expects to use the Line-Out for driving the transmitter audio.  Set the PCM level for your soundcard.  If you check "Manage mixer" then the Tx and Rx "volume" controls on the main fldigi dialog will be active.  "Manage mixer" is not available on the Windows platforms.