Answers for "how to play audio with python"

15

play music from python

from playsound import playsound
playsound('audio.mp3')
Posted by: Guest on May-06-2020
-1

play sound directly with pytts

import pyttsx
engine = pyttsx.init()
engine.say('Good morning.')
engine.runAndWait()
Posted by: Guest on April-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language