-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seems to be a maximum number of different sounds able to be played #37
Comments
Looks like a limitation of
|
No good. Many games use more than 50 sounds, would two separate Sound instances work, if I were to alter the class methods appropriately? |
Try changing number of players per sound. |
Thanks for the help! I found that raising this number actually made the problem worse. The problem is with too many players. Lowering it proportionally raised the amount of different sounds I could have. However I was able to clear the sounds that built up by setting the playersPerSound (even to the same number) because the setter clears out the sounds array. So my solution is to set playersPerSound ever so often (I just do it every time I call stopAllSounds). |
I'm creating a soundboard that has 112 sounds right now, however when I try to play them all one after another they stop working after the 50th sound. No matter what order I play the sounds, after 50 they stop working. Is there a max amount of sounds that can load, and if so how can I increase that limit?
The text was updated successfully, but these errors were encountered: