Skip to content

Instantly share code, notes, and snippets.

@skylerberg
Created May 27, 2018 19:25
Show Gist options
  • Save skylerberg/531dbb4dc8e503f7a1f2a8ac35dea38e to your computer and use it in GitHub Desktop.
Save skylerberg/531dbb4dc8e503f7a1f2a8ac35dea38e to your computer and use it in GitHub Desktop.
Beep
duration = 1 # second
freq = 440 # Hz
for _ in range(15):
os.system('play --no-show-progress --null --channels 1 synth %s sine %f' % (duration, freq))
time.sleep(29)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment