mirror of
https://github.com/romanz/amodem.git
synced 2026-02-06 00:36:20 +08:00
13 lines
241 B
Bash
Executable File
13 lines
241 B
Bash
Executable File
#!/bin/bash
|
|
killall -q aplay arecord
|
|
|
|
./scripts/calib.py send &
|
|
SENDER_PID=$!
|
|
echo "Playing audio (PID=${SENDER_PID})..."
|
|
|
|
echo "Recording audio (Stop with Ctrl+C)..."
|
|
./scripts/calib.py recv
|
|
|
|
echo "Stopping player..."
|
|
kill -INT $SENDER_PID
|