-
Notifications
You must be signed in to change notification settings - Fork 5
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
Loop sound feature doesn't work #20
Comments
Hi, |
I would love to provide whatever information you need, but I don't know what is useful. I'm on a Windows host, the play event looks like this https://i.imgur.com/kYwdb9i.png (Stolen assets only as a placeholder). It's a 256kb/s MP3. It has about a second of silence at the end. The file name is not identical to the name in the project browser. The file name is missing "MUSIC " at the start. It's 9 minutes 52 seconds long. |
So it looks like the loop feature does indeed work correctly in Firefox and Edge. It does not however in the included preview browser and in Chrome |
Thanks for the details, they were helpful. So i tried looping a MP3 on Windows 7 and it worked on the latest versions of Firefox, Chrome and Internet Explorer 9. However i could confirm that it didn't work in the preview browser for some reason. What's more strange is that on Linux it works fine in the preview browser, as well as other browsers. Therefore there's definitely something going on with the preview browser because someone else also experienced abnormal low volume with it. So i'm counting on updating it to a newer version (it comes in the Qt framework, i use for the editor) in Belle's next version, which hopefully will fix these strange issues. |
"Version 64.0.3282.186 (Official Build) (64-bit)" Windows 10. I quickly tested on two other computers as well. Another Win 10 and a Ubuntu. On the Windows computer, I get identical behavior. Works correctly in Edge and Firefox, but not Chrome. The Ubuntu computer has the bug present in Chrome where the sound plays, but does not loop, and strangely, no sound at all with Firefox. |
Are those Windows 10 machines some sort of tablets like the Microsoft Surface Book? To solve this problem (which isn't exactly a bug in Belle) i'm planning to use a different library for playing sounds, that will use Web Audio instead of HTML5 audio, but i'm still researching it. As far as i know, Web audio shouldn't have these (silly) limitations. Regarding Firefox on Ubuntu, that doesn't surprise me because Firefox on Ubuntu relies on codecs you have installed on the system to play some audio formats, like MP3. Thus in order to play them you need to install the codecs on the system. |
Both of the Win 10 machines were desktops running Win 10 Pro on amd64. You're probably right on the Ubuntu, it's the first time I try playing sound from that install. I tested it with YouTube just to make sure audio playback works, but of course YouTube isn't just an MP3 file. |
Ok, thanks. Then i don't know. But, like i said, probably by switching to Web audio the problem will go away. |
There's a tick, but it currently doesn't seem to loop correctly.
The text was updated successfully, but these errors were encountered: