kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
|
|
||
|---|---|---|
| .. | ||
| AudioFile.cpp | ||
| AudioFile.h | ||
| M10.cpp | ||
| M10Decoder.cpp | ||
| M10Decoder.h | ||
| M10GeneralParser.cpp | ||
| M10GeneralParser.h | ||
| M10GtopParser.cpp | ||
| M10GtopParser.h | ||
| M10TrimbleParser.cpp | ||
| M10TrimbleParser.h | ||
| README.md | ||
README.md
Radiosonde M10
Compile
g++ -O M10.cpp M10Decoder.cpp M10GeneralParser.cpp M10GtopParser.cpp M10TrimbleParser.cpp -o m10
Usage
./m10 [options] filename
- filename needs to be in wav format and blank or - for stdin
options:
-v, --verbose: Display even when CRC is wrong
-R: Show result at the end decoded/total
-b: Try alternative method after main method if it failed, recommended
--ch2: Decode the second channel
Examples
Running from file :
./m10 -b -R 20181227.wav
Running with sox on live audio
sox -t oss /dev/dsp -t wav - 2>/dev/null | ./m10 -b
It can also run on windows, use Cygwin Terminal if you want to use sox.
This software is a C++ adaptation of https://github.com/rs1729/RS/blob/master/m10 with improvement to the decoding performances.