Ninjadoodle Posted July 22, 2018 Share Posted July 22, 2018 Hi @enpu I've noticed that I have to include both ogg and mp4 sound file in my project, in order for it to function across multiple devices. I've noticed that Construct 3 uses something called webm audio, but I don't know much about it. It seems like it only requires one file for each sound tho. Is this something that would be possible with Panda? PS. My understanding of the format might be completely wrong. Quote Link to comment Share on other sites More sharing options...
enpu Posted July 22, 2018 Share Posted July 22, 2018 Do you have any sample webm audio file? I tried to google but could not find any. Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted July 22, 2018 Author Share Posted July 22, 2018 Hi @enpu My terminology might be wrong, but here is a link to an article ... https://www.construct.net/nz/blogs/construct-official-blog-1/opus-audio-in-construct-3-891 Just wondering what the possibilities are that's all Quote Link to comment Share on other sites More sharing options...
enpu Posted July 22, 2018 Share Posted July 22, 2018 Well if it's possible in Construct, then it is possible in Panda too. They are both HTML5 game engines Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
enpu Posted July 22, 2018 Share Posted July 22, 2018 After reading that article it seems that the solution in Construct 3 to support WebM Opus audio format is not that simple, needs custom decoder to support Safari and Edge. Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted July 22, 2018 Author Share Posted July 22, 2018 Hi @enpu No a big deal at all, just wanted to send you a link, as you're the expert Perfectly fine to use the 2 file formats. Thank you! Quote Link to comment Share on other sites More sharing options...
Wolfsbane Posted July 24, 2018 Share Posted July 24, 2018 Quote I've noticed that I have to include both ogg and mp4 sound file in my project, in order for it to function across multiple devices. Maybe I'm a little behind the game, so this may be more of a question/request for information than a suggestion. But you can't use mp3's? From this table mp3 works on all the browsers. I don't know about the iOS/'droids, but I imagine they would have no issues with mp3. I can remember avoid mp3's whenever I could in the past because of the licensing, but it seems like that isn't an issue anymore. Quote Link to comment Share on other sites More sharing options...
enpu Posted July 24, 2018 Share Posted July 24, 2018 I have just added support for mp3 files. I do also remember that there was some issues with different audio formats, when trying to get seamless looping. So there still might not be a one single format that works for everything. Wolfsbane 1 Quote Link to comment Share on other sites More sharing options...
Wolfsbane Posted July 24, 2018 Share Posted July 24, 2018 Oh, nice. I didn't even realize Panda didn't support them yet. I think you might be right about the looping, that rings a bell. I'll see if/when I run into the issue. It might be worth living with it if it's not too bad, as making the game size x-MB smaller is a nice thing. Quote Link to comment Share on other sites More sharing options...
enpu Posted July 24, 2018 Share Posted July 24, 2018 There are loopStart and loopEnd attributes in Audio class, that you can use to fine tune where looping starts and ends. You can play around with those values to get perfect seamless looping. Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted July 24, 2018 Author Share Posted July 24, 2018 @Wolfsbane @enpu I din't even consider mp3's because of the licensing issues. I didn't realize this has changed. So has mp3 gone open source? If you have any links on the current license status, that would be awesome Quote Link to comment Share on other sites More sharing options...
Wolfsbane Posted July 24, 2018 Share Posted July 24, 2018 Not open-source, but the patents are no longer being enforced. I don't have any particular link. Maybe this one: https://www.technobuffalo.com/2017/05/18/mp3-isnt-dead-just-its-licensing/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.