Is it possible to play or make music in Python?
Jump to Post
Simplest way to play sound is to import webbrowser and do webbrowser.open for the sound file. It uses the associated player for the file type. Other possibility is to for example to use pyGame's sound feature as above related Code Snippet for MIDI files.
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.