Raiper34 Posted July 31, 2015 Share Posted July 31, 2015 Hi, can I ask you, what music format do you use in your games? Mp3 has got best support of browsers, but Do I need buy licnece for mp3? I do not know, it is for html5 games too... Quote Link to comment Share on other sites More sharing options...
b10b Posted August 12, 2015 Share Posted August 12, 2015 http://mp3licensing.com/royalty/games.html Your game will soon reach 5,000 "copies" in a distributed environment such as the web. The license could be read that you'd need to spend $2,500 at that point, so there is legal jeopardy of releasing a game using mp3. However I am not aware of any legal cases involving HTML5 games, and it is doubtful we'd be the first. Some might argue being the first would be a good thing because it would probably be on the back of a breakout success story Avoiding .mp3 by using .m4a instead is easy and has some practical benefits (better compression, less significant head and tail fades for loops). Just remember to keep things 16 bit and longer than a second to avoid some browser issues. .ogg is the unrivalled counterpart, you'll need to couple this with .m4a to achieve across-the-board modern browser audio. Use a test for the valid format at runtime (most audio frameworks do this for you). Less sounds is best sounds for mobile browsers: loading is expensive, memory is expensive, playback is expensive, caching is often unavailable for audio. 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.