Jump to content

Audio Poblem [Windows Phone 8.0 IE 10]


Recommended Posts

I'm working on my game and I created my folder with all audio files. The folder size is 60mb why I created mp3, ogg and wav.
(I created three songs and their weight is very large wav)


Created audio

        this.startAudio = game.add.audio('startAudio');
        this.startAudio.volume = 0.5;

And when I need it I start the sound


So with all audio files.


The problem is that only on Windows Phone 8.0 loading crashes. On android, windows phone 8.1 and iOs works, loading is a bit slow but it works, and sound works.

I can do so as to exclude audio only on windows phone 8.0?


Link to comment
Share on other sites

  • 3 weeks later...

Hi, I have game with audio that plays well on WP. I use .m4u and .ogg formats. I think, that WP will use .m4u from these two.


For converting into .m4u I use AIMP3 and select "AAC m4u (FAAC)" (I think I had to install some codecs too, but I do not remember well). It plays OK on iOS too and there is not so strict licence policy as for .mp3 (+ little bit better compression)

I would remove .wav - it eats really lot space (60mb of audio is overkill). Also convert to mono, 22025Hz, low quality, ... it is usually still good to listen in game.


Only problem I have with desktop IE (11) and IE on Lumia 532 is that it skips short sounds (like clicks)

Link to comment
Share on other sites

My experience shows that it's best to disable audio on Windows Phone, or just leave it to be long background music loop or such if you want to keep something. Audio tags work poorly, eat the precious CPU and memory on those mobile devices.


Similar issues with desktop IE, however as CPU and memory issue is better on desktop you can get away with working but little bit choppy audio.

Link to comment
Share on other sites

  • 9 months later...
  • 4 months later...

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...