Tuesday, 15 April 2014

Playing sounds in Python without external module? -


I searched for it, and in every answer the external Python library is included, sounds To run such a Pygame , snack , etc,

play a .wav file without the use of external modules Is there a simple pure dragon way built into the module? I know that Python did not originally support .mp3 files.

In that respect, I have found the most I have nothing to set up; Simply import it However, as you can guess, it only works on Windows when I want the sound, then I use PagMem, its support is limited to MP3 files, and it requires an installation (Unless you package your app), but it is the simplest of third-party audio modules.


No comments:

Post a Comment