Playing sounds in Python Quickly without any extra libs?
13,830
It's possible to play wav files in pure Python. This stackoverflow question provides an example. It's pretty low-level and not cross-platform though (unless extra code is added). Also, it only plays wav files. If you want more, you really need a library.
Related videos on Youtube
Comments
-
Rami Dabain over 1 year
I was wondering is it possible to play sounds in Ubuntu using Quickly and Python without including any libs like pygame or pymedia or anything ?
Just the stock packages that come with Python ?
Thank you
-
hytromo over 11 yearswhat type of audio files are you interested in?
-
Gertjan over 11 yearsThis link suggests you can for just .wav files.
-