initial sox
This commit is contained in:
parent
6a117ac998
commit
bd9e4dedc8
@ -1,7 +1,7 @@
|
||||
|
||||
[sound]
|
||||
enabled=True
|
||||
driver=gstreamer
|
||||
driver=sox
|
||||
theme=default
|
||||
|
||||
[speech]
|
||||
|
@ -1,12 +1,13 @@
|
||||
#!/bin/python
|
||||
import subprocess
|
||||
|
||||
class sound():
|
||||
def __init__(self):
|
||||
pass
|
||||
def playFrequence(self, frequence, duration, adjustVolume):
|
||||
pass
|
||||
def playSoundFile(self, filePath):
|
||||
pass
|
||||
def playSoundFile(self, filePath, interrupt = True):
|
||||
subprocess.call("play " + filePath, shell=True)
|
||||
def cancel(self):
|
||||
pass
|
||||
def setCallback(self, callback):
|
||||
|
Loading…
Reference in New Issue
Block a user