-
Notifications
You must be signed in to change notification settings - Fork 10
Doesn't work with SoundLoader (kivy) #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Comments
Hello. Only MP3 (not ogg) is supported. Try to save just the same in this format. And play in the same format. And if you fail, first convert to another format with ffmpeg or sox. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I already tried to save the file as .mp3, .wav, .ogg, doesn't matter, kivy isn't able to load properly.
b'Unrecognized audio format'
from kivy.app import App
from kivy.core.audio import SoundLoader
class MusicPlayerApp(App):
def build(self):
# load the mp3 file using SoundLoader
sound = SoundLoader.load(R"D:\Documents\aaaa.ogg")
# play the audio file
sound.play()
return
if name == 'main':
MusicPlayerApp().run()
The text was updated successfully, but these errors were encountered: