Commit 6a15c8d2 by serpucga

Added beep at program termination to alert the distracted user

parent 49f13f4a
...@@ -133,4 +133,7 @@ if globals.timing: ...@@ -133,4 +133,7 @@ if globals.timing:
"Total execution time: {}s" "Total execution time: {}s"
.format(time.time() - time0)) .format(time.time() - time0))
duration = 1
freq = 440
os.system("play -nq -t alsa synth {} sine {}".format(duration, freq))
logger.info("Conversion completed successfully!!") logger.info("Conversion completed successfully!!")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment