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