Implemented audio play
This commit is contained in:
parent
6fccadf8fa
commit
4b6ce3e7e1
@ -1 +1,12 @@
|
||||
import alsaaudio
|
||||
from playsound import playsound
|
||||
|
||||
|
||||
class BirbnetesIoTPlatformPlaybackDriver:
|
||||
|
||||
@classmethod
|
||||
def init(cls):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def play_audio(cls, audiofile: str):
|
||||
playsound(audiofile)
|
||||
|
@ -1,2 +1,3 @@
|
||||
RPi.GPIO
|
||||
pyalsaaudio
|
||||
playsound
|
Loading…
Reference in New Issue
Block a user