make sound nonblocking
This commit is contained in:
@ -7,7 +7,7 @@ class sound():
|
||||
def playFrequence(self, frequence, duration, adjustVolume):
|
||||
pass
|
||||
def playSoundFile(self, filePath, interrupt = True):
|
||||
subprocess.call("play -q " + filePath, shell=True)
|
||||
self.proc = subprocess.Popen("play -q " + filePath, shell=True)
|
||||
def cancel(self):
|
||||
pass
|
||||
def setCallback(self, callback):
|
||||
|
Reference in New Issue
Block a user