mirror of
https://github.com/romanz/amodem.git
synced 2026-03-17 07:05:59 +08:00
fix automatic calibration script.
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
#!/bin/bash
|
||||
killall -q aplay arecord
|
||||
python -m calib send &
|
||||
SENDER_PID=$!
|
||||
python -m calib recv
|
||||
|
||||
./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
|
||||
|
||||
Reference in New Issue
Block a user