atest(1) Decode AX.25 frames from an audio file.


atest [ options ] wav-file-in

wav-file-in is a WAV format audio file.


atest is a test application which decodes AX.25 frames from an audio recording. This provides an easy way to test Dire Wolf decoding performance much quicker than normal real-time.


-B n
Bits / second for data. Proper modem selected for 300, 1200, 9600. 300 baud uses 1600/1800 Hz AFSK. 1200 (default) baud uses 1200/2200 Hz AFSK. 9600 baud uses K9NG/G2RUH standard.

-D n
Divide audio sample rate by n.

-F n
Amount of effort to try fixing frames with an invalid CRC. 0 (default) = consider only correct frames. 1 = Try to fix only a single bit. more = Try modifying more bits to get a good CRC.

-P m
Select the demodulator type such as A, B, C, D (default for 300 baud), E (default for 1200 baud), F, A+, B+, C+, D+, E+, F+.


gen_packets -o test1.wav

atest test1.wav

gen_packets -B 300 -o test3.wav

atest -B 300 test3.wav

gen_packets -B 9600 -o test9.wav

atest -B 9600 test9.wav

This generates and decodes 3 test files with 1200, 300, and 9600 bits per second.

atest 02_Track_2.wav

atest -P C+ 02_Track_2.wav

atest -F 1 02_Track_2.wav

atest -P C+ -F 1 02_Track_2.wav

Try different combinations of options to find the best decoding performance.