wave: remove unused code.
recv: switch some logs to DEBUG level
amodem: refactor calibration and audio I/O into main script