Jump to content

Problem with audio being distorted.


StephenDunne
 Share

Recommended Posts

So I have different audio samples for each different collision, and I load them into the game as follows:

 

  music = game.add.audio('hurt',1);
   music2 = game.add.audio('boom',1);
   music3 = game.add.audio('bird',1);
   music4 = game.add.audio('landing',1);
   music5 = game.add.audio('fail',1);
 
And then I call the sound at the different parts of the game as follows:
 
music.play();
 
 
This has worked fine up untill the last music5. It comes out distorted. Have I got too many sound files? Each audio sample is only a second or 2 long. Any additional sounds I use past music4 are distorted.
Link to comment
Share on other sites

  • 2 weeks later...
 Share

  • Recently Browsing   0 members

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