wav2text


[ Пред. ] [ Содержание ] [ След. ]

wav2text


Created Суббота 16 Декабрь 2017

wav2text
atest -B 1200 -P E test2400.wav | grep decoded
atest -B 1200 -P PQRS test1200.wav
atest -B 1200 -F 1 -P PQRS test1200.wav
text2wav
gen_packets -B 1200 -n 100 -o test1200.wav
echo -n "R6HABA>APDW44:_10240945c...s...g1t033r...p...P...h094b09786&DireWolf configure IGate & Digipeater" | gen_packets -a 25 -o x.wav -

=======================================================================================================



gen_packets
Usage: gen_packets [options] [file]
Options:
-a <number> Signal amplitude in range of 0 - 200%. Default 50.
-b <number> Bits / second for data. Default is 1200.
-B <number> Bits / second for data. Proper modem selected for 300, 1200, 2400, 4800, 9600.
-g Scrambled baseband rather than AFSK.
-m <number> Mark frequency. Default is 1200.
-s <number> Space frequency. Default is 2200.
-r <number> Audio sample Rate. Default is 44100.
-n <number> Generate specified number of frames with increasing noise.
-o <file> Send output to .wav file.
-8 8 bit audio rather than 16.
-2 2 channels (stereo) audio rather than one channel.
WB2OSZ-1>APDW12,WIDE2-2:!4237.14NS07120.83W#
Example: gen_packets -o x.wav
Все по умолчанию, встроенное тестовое сообщение
в стандарте Bell 202 сигналы, используемые для пакетной радиосвязи на обычные
УКВ трансиверы.
Example: gen_packets -o x.wav -g -b 9600
Shortcut: gen_packets -o x.wav -B 9600
9600 baud mode.
Example: gen_packets -o x.wav -m 1600 -s 1800 -b 300
Shortcut: gen_packets -o x.wav -B 300
200 Hz shift, 300 baud, suitable for HF SSB transceiver.
Example: echo -n "WB2OSZ>WORLD:Hello, world!" | gen_packets -a 25 -o x.wav -

=======================================================================================================



atest [ options ] wav-file-in
-B n Bits/second for data. Proper modem automatically selected for speed. 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+.
-0 Use channel 0 (left) of stereo audio (default).
-1 use channel 1 (right) of stereo audio.
-2 decode both channels of stereo audio.
wav-file-in is a WAV format audio file.
Examples:
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


=======================================================================================================












Содержание