main plays audio
parent
0c624b5070
commit
b67f9feb3d
@ -1,12 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os, random, time
|
import subprocess
|
||||||
|
|
||||||
while True:
|
|
||||||
freq = str(random.randint(0,10)*110)
|
|
||||||
print(freq)
|
|
||||||
os.system('echo "'+freq+';" | pdsend 3000')
|
|
||||||
time.sleep(0.25)
|
|
||||||
|
|
||||||
|
|
||||||
|
subprocess.call(["mpv", "inthemood.mp3", "--loop", "inf", "--volume", "25"], cwd="/media/floppy")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue