Weaver demodulation
AM demodulation
Add AM
Implementations of different types of radio signal modulation with FutureSDR.
The binaries generate a wave file. It does not contain audio but the IQ data generated by the modulation. It can be viewed/demodulated using a sofware defined radio application like SDR++.
cargo run --bin dsb
Basically DSB but with a carrier added.
cargo run --bin am_enc
cargo run --bin am_dec
Basically DSB but with a band pass filter used to suppress one side band.
cargo run --bin bandpass
cargo run --bin weaver_enc
cargo run --bin weaver_dec
Uses a hilbert transformation to phase shift I or Q by 90°.
cargo run --bin hilbert
cargo build --release
hyperfine --warmup 3 --export-markdown bench.md target/release/bandpass target/release/hilbert target/release/weaver_enc
Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
---|---|---|---|---|
bandpass |
870.3 ± 12.1 | 862.6 | 903.8 | 1.22 ± 0.02 |
hilbert |
710.8 ± 8.0 | 704.1 | 732.1 | 1.00 |
weaver |
914.6 ± 3.0 | 911.1 | 921.3 | 1.29 ± 0.02 |