python beep linux

Solutions on MaxInterview for python beep linux by the best coders in the world

showing results for - "python beep linux"
Julia
26 Feb 2017
1import os
2duration = 1  # seconds
3freq = 440  # Hz
4os.system('play -nq -t alsa synth {} sine {}'.format(duration, freq))
5
similar questions
queries leading to this page
python beep linux