mirror of
https://github.com/romanz/amodem.git
synced 2026-03-23 02:39:26 +08:00
refactor calibration recv script
This commit is contained in:
@@ -148,7 +148,7 @@ def run_modem(args, func):
|
||||
|
||||
def run_send(args):
|
||||
if args.calibrate:
|
||||
calib.send()
|
||||
calib.send(verbose=args.verbose)
|
||||
elif args.wave:
|
||||
join_process(wave.play(fname=args.input))
|
||||
else:
|
||||
@@ -157,7 +157,7 @@ def run_send(args):
|
||||
|
||||
def run_recv(args):
|
||||
if args.calibrate:
|
||||
calib.recv()
|
||||
calib.recv(verbose=args.verbose)
|
||||
elif args.wave:
|
||||
join_process(wave.record(fname=args.output))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user