diff options
Diffstat (limited to 'plugins/devices/audio-dummy')
| -rw-r--r-- | plugins/devices/audio-dummy/README.md | 41 | ||||
| -rw-r--r-- | plugins/devices/audio-dummy/plugin.yaml | 26 |
2 files changed, 67 insertions, 0 deletions
diff --git a/plugins/devices/audio-dummy/README.md b/plugins/devices/audio-dummy/README.md new file mode 100644 index 0000000..4903d60 --- /dev/null +++ b/plugins/devices/audio-dummy/README.md @@ -0,0 +1,41 @@ +# Device: audio-dummy (acoustic bench) + +**Status:** `active` — development/test device for on-host acoustic signal evaluation. + +## Purpose + +Main **dummy device** for Bell 202 AFSK without RF: + +- **loopback** — full DSP encode/decode in process (CI default) +- **alsa** — capture from sound card, sniff/decode live +- **host** — TCP to `audio-dummyd` (M25 KISS host protocol, ports 8520/8521) + +## Tools + +```bash +# Internal loopback (no hardware): +stacks/crdop/tools/max25-signal-sniffer --loopback + +# ALSA capture sniff: +stacks/crdop/tools/max25-signal-sniffer -D plughw:1,0 -t 3 + +# Calibration tones (mark 1200 Hz / space 2200 Hz): +stacks/crdop/tools/max25-signal-sniffer -D plughw:1,0 --mark -t 1 +stacks/crdop/tools/max25-signal-sniffer -D plughw:1,0 --space -t 1 +``` + +## max25d + +```ini +[devices] +audio-dummy = audio:loopback + +[device.audio-dummy] +mode = loopback ; loopback | alsa | host +; capture = plughw:1,0 +; playback = plughw:1,0 +; sample_rate = 48000 +; host_port = 8520 +``` + +Docs: [docs/CRDOP.md](../../../docs/CRDOP.md) diff --git a/plugins/devices/audio-dummy/plugin.yaml b/plugins/devices/audio-dummy/plugin.yaml new file mode 100644 index 0000000..789c92b --- /dev/null +++ b/plugins/devices/audio-dummy/plugin.yaml @@ -0,0 +1,26 @@ +id: audio-dummy +type: device +parent_stack: MainAX25-Stack (MAX25-Stack) +hardware: acoustic-bench +label: Audio Dummy (acoustic bench) +status: active + +product: + name: MAX25-Audio-Dummy + purpose: sniff_test_evaluate_acoustic_signals_on_host + protocol: m25-kiss-host + license: GPL-3.0-or-later + +note: | + Main dummy device for Bell 202 AFSK bench — loopback, ALSA sniff, or host TCP. + No RF required. Used before field tests against TNC2C/BayCom. + +runtime: + modes: [loopback, alsa, host] + sniffer: stacks/crdop/tools/max25-signal-sniffer + daemon: stacks/crdop/tools/audio-dummyd + default_spec: audio:loopback + +docs: + - docs/CRDOP.md + - stacks/crdop/docs/AUDIO-ARCHITECTURE.md |
