Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pydub play audio

# credit to the Stack Overflow user in the source link

from pydub import AudioSegment
from pydub.playback import play

song = AudioSegment.from_wav("explosion.wav")
play(song)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pydub #play #audio
ADD COMMENT
Topic
Name
7+5 =