TaylorSMarks / playsound

Pure Python, cross platform, single function module with no dependencies for playing sounds.
Other
504 stars 118 forks source link

Pyodide support #141

Open zoeleu opened 1 year ago

zoeleu commented 1 year ago

Supporting WASM environments would be pretty cool. HTML5 Audio is good, but I think that for the purposes of blocking until playback finishes that Web Audio would better.

However, I think there is no way to pass the audio data to JS other than to encode it in Base64 or pass an HTTP URL.