mirror of
https://github.com/maglore9900/max_headroom.git
synced 2025-06-06 03:25:34 +00:00

major transcode update, modularized the transcoders to work with various noise cancellation options
19 lines
477 B
Python
19 lines
477 B
Python
import time
|
|
import argparse
|
|
import agent
|
|
|
|
spk = agent.Agent().spk
|
|
|
|
def timer(seconds):
|
|
print(f"Timer started for {seconds} seconds.")
|
|
time.sleep(seconds)
|
|
print("Time's up!")
|
|
spk.glitch_stream_output("Time's up!")
|
|
|
|
if __name__ == "__main__":
|
|
parser = argparse.ArgumentParser(description="Simple Timer Script")
|
|
parser.add_argument("seconds", type=int, help="Number of seconds to set the timer for")
|
|
args = parser.parse_args()
|
|
|
|
timer(args.seconds)
|