Skip to main content

Bell 202 Audio Frequency Shift Keying encoder and APRS packet audio tools

Project description

Library to generate Bell 202 AFSK audio samples and AFSK encoded APRS/AX.25 packets.

The aprs command line program encodes APRS packets as AFSK audio data.

Installation

Install with pip:

$ pip install afsk
$ pip install pyaudio

PyAudio is optional, so must be installed separately.

If you want to use the CLI program to play APRS packets via your soundcard, install PyAudio. Otherwise, if you just want to generate Wave files of AFSK data, you can skip it.

For development, change to the afsk directory and install with:

$ pip install -r requirements.txt
$ python setup.py develop

Requires Python 2.6 or 2.7.

Command Line Interface

Generate APRS messages with the aprs CLI program:

$ aprs --callsign <your callsign> ":EMAIL    :test@example.com Test email"

Specify your message body with INFO command line argument. Be sure to wrap the message in quotes so it’s passed as one argument, spaces includd.

At the moment, no message formats are implemented in the aprs program; you must construct the body string yourself. For instance, in the example above, the string passed as an argument to aprs follows the email messsage format specified for APRS.

You must specify your amateur radio callsign with the --callsign or -c flags.

Use the --output option to write audio to a Wave file (use ‘-‘ for STDOUT) rather than play over the soundcard.

Get a listing of other options with aprs --help.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for afsk, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size afsk-0.0.2.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page