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.

Share:
13,830

Related videos on Youtube

Rami Dabain
Author by

Rami Dabain

Wheres my coffee?

Updated on September 18, 2022

Comments

  • Rami Dabain
    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
      hytromo over 11 years
      what type of audio files are you interested in?
    • Gertjan
      Gertjan over 11 years
      This link suggests you can for just .wav files.