Answers for "python beep linux"

0

python beep linux

import os
duration = 1  # seconds
freq = 440  # Hz
os.system('play -nq -t alsa synth {} sine {}'.format(duration, freq))
Posted by: Guest on July-31-2021

Python Answers by Framework

Browse Popular Code Answers by Language