5 releases
Uses new Rust 2024
| 0.0.5 | Jun 18, 2025 |
|---|---|
| 0.0.4 | Mar 10, 2025 |
| 0.0.3 | Feb 24, 2025 |
| 0.0.2 | Feb 1, 2025 |
| 0.0.1 | Feb 1, 2025 |
#874 in Audio
278 downloads per month
47KB
864 lines
Sonar
Sonar is a Rust project exploring data transmission using audio signals. It aims to enable communication across air-gapped systems or in environments where traditional networking is not an option, using only standard microphones and speakers.
We're building a modular system with different sound encoding techniques (like FSK and BPSK) and a layered approach to structure the data for reliable transfer. The project includes a command-line tool to easily send and listen for these audio-based messages.
This project is currently in an active prototyping and development phase. Many features are experimental and APIs are subject to change.
Installation
cargo install sonar
Examples
You can find more detailed examples in the examples/ directory:
main_tester.rs: Demonstrates the conceptual data structures for organizing information (Frames, Packets, Segments).cargo run --example main_testertest.rs: Includes various smaller tests for different components like FSK configurations.cargo run --example test
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~6–38MB
~515K SLoC