Jump to content

Audio Quality degrades on HTML5 & Phaser


Maethalion
 Share

Recommended Posts

We're using `AudioSprite`s for our character's dialog in a Phaser Game.  We're loading both `.mp3` and `.ogg` files to support the various browsers.  After loading the files on our state's `preload()` we decode them before playing.

We've got an issue on Safari where after about 20 minutes of gameplay, the audio begins to slow down and cut-off.  The cut-off makes sense as the audio sprite is only set to play for a certain amount of time, but I've no idea why the audio would slow down.

The issue on Chrome is similar, except the audio becomes filled with static.

The audio sprites are not very big, the VO is 18MB, the SFX is 209kB, and the background music is 2.1MB.

Thoughts on what is wrong and/or how to go about debugging this?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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