1GEN_PACKETS(1) General Commands Manual GEN_PACKETS(1)
2
3
4
6 gen_packets - Generate audio file for AX.25 frames.
7
8
9
11 gen_packets -o wav-file-out [ options ] [ text-file | - ]
12
13 wav-file-out is the result. The -o option is required.
14
15 text-file may contain AX.25 packets in the standard monitoring
16 format. Use "-" to read from stdin. If not specified, a
17 default builtin message will be used.
18
19
21 gen_packets is a test application which converts text to AX.25 audio
22 for testing packet decoders.
23
24 It is very flexible allowing a wide range of audio sample rates, data
25 speeds, and AFSK tones. It will even generate the scrambled signals
26 commonly used for 9600 baud operation.
27
28
29
31 -a n Signal amplitude in range of 0-200%. Default 50. Note that
32 100% is corresponds to signal peaks of +/- 16383 so we have
33 plenty of headroom to avoid saturation.
34
35
36 -b n Bits / second for data. Default is 1200.
37
38
39 -B n Bits / second for data. Proper modem selected for 300, 1200,
40 9600.
41
42
43 -g Scrambled baseband rather than AFSK.
44
45
46 -m n Mark frequency. Default is 1200.
47
48
49 -s n Space frequency. Default is 2200.
50
51
52 -r n Audio sample Rate. Default is 44100.
53
54
55 -n n Generate specified number of frames with increasing noise. (For
56 built-in message only.)
57
58
59 -o file
60 Send output to .wav file.
61
62
63 -8 8 bit audio rather than 16.
64
65
66 -2 2 channels of audio rather than 1.
67
68
69
71 gen_packets -o x.wav
72
73 With all defaults, a built-in test message is generated with
74 standard Bell 202 tones used for packet radio on ordinary VHF FM
75 transceivers.
76
77 gen_packets -o x.wav -g -b 9600
78 gen_packets -o x.wav -B 9600
79
80 Both of these are equivalent. "-B 9600" automatically selects
81 scrambled baseband rather than AFSK.
82
83 gen_packets -o x.wav -m 1600 -s 1800 -b 300
84 gen_packets -o x.wav -B 300
85
86 Both of these generate 200 Hz shift, 300 baud, suitable for HF
87 SSB transceiver.
88
89 echo -n 'WB2OSZ>WORLD:Hello, world!' | gen_packets -a 25 -o x.wav -
90 atest x.wav
91
92 Read message from stdin and put quarter volume sound into the
93 file x.wav. Decode the sound file.
94
96 More detailed information is in the pdf files in
97 /usr/local/share/doc/direwolf, or possibly /usr/share/doc/direwolf,
98 depending on installation location.
99
100 Applications in this package: aclients, atest, decode_aprs, direwolf,
101 gen_packets, ll2utm, log2gpx, text2tt, tt2text, utm2ll
102
103
104
105
106 GEN_PACKETS(1)