Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to play audio in python

# import required module
from playsound import playsound

# for playing note.wav file
playsound('/path/note.wav')
print('playing sound using playsound')
Source by linuxhint.com #
 
PREVIOUS NEXT
Tagged: #play #audio #python
ADD COMMENT
Topic
Name
6+8 =