Josepho Posted February 23, 2014 Share Posted February 23, 2014 I am coding the sound part of my game, and It is being very painfull, I have tried two different audio APIs that worked in the Ipad perfect in their websites but when I add them to my game, it works only on PC but on IPad Im not getting any sound effect! The two audio apis that I have tried arehttp://buzz.jaysalvat.com/ andhttp://goldfirestudios.com/blog/104/howler.js-Modern-Web-Audio-Javascript-Library I have read something about that the web audio is disabled in ios, anybody can help me to solve this problem by using some of this apis? Many thanks! Quote Link to comment Share on other sites More sharing options...
Josepho Posted February 23, 2014 Author Share Posted February 23, 2014 I finally got it using howler and this tutorialhttp://paulbakaus.com/tutorials/html5/web-audio-on-ios/ Quote Link to comment Share on other sites More sharing options...
venam Posted March 23, 2014 Share Posted March 23, 2014 I finally got it using howler and this tutorialhttp://paulbakaus.com/tutorials/html5/web-audio-on-ios/Care to explain how you did it.I've also been struggling with howler.js the last few days and I almost gave up.There are too many sources online from different dates with different ways of doing it.The audio sprite in howler.js didn't work correctly, even on my desktop browser. Quote Link to comment Share on other sites More sharing options...
kuuuurija Posted March 23, 2014 Share Posted March 23, 2014 Care to explain how you did it.I've also been struggling with howler.js the last few days and I almost gave up.There are too many sources online from different dates with different ways of doing it.The audio sprite in howler.js didn't work correctly, even on my desktop browser. just make sure the second value in array is "duration" not the end time on the audio sprite. Quote Link to comment Share on other sites More sharing options...
venam Posted March 23, 2014 Share Posted March 23, 2014 just make sure the second value in array is "duration" not the end time on the audio sprite. Oh! How did you know that's what I did wrong... I should have read the README file another time.Well, thanks a lot for the tip. Quote Link to comment Share on other sites More sharing options...
kuuuurija Posted March 23, 2014 Share Posted March 23, 2014 Oh! How did you know that's what I did wrong... I should have read the README file another time.Well, thanks a lot for the tip. hahaha even I did the same mistake, when I used it for the first time 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.