[QUOTE=Ashley] Playing random sounds: have you tried 'Play sound by name'? E.g. play sound:
"player" & floor(random(5))
will play one of player0, player1, player2, player3 or player4 randomly. No need for extra events.
Wow, I did not think about that, thank you!
About the tag system: what would you propose instead? Previously Classic had a 'channels' system where you play a sound on say channel 5, then you could modify channel 5's parameters. However, some people found that confusing or limiting as well since you can only play one sound on one channel so there's no grouping. With the tag system if you play all gunfire sounds with the tag "gun", you can manipulate all the currently playing gun sounds at once using the tag "gun", whereas using the channel system it's extremely difficult to do that. So do you have any ideas what would be better than the tag system or how it could be improved?
No good ideas momentarily, but I think having a similar system to the layer system could help alot. That way you could have one layer for SFX and one for Background music, and possibly have tags inside each layer. something along having a main-tag or the possibility to have more than one "tag" on each sound. The ideal in my mind would be able to have groups of sounds and something similar to tags inside each group. But since I do know as much as you do on the subjects of what is do-able, and what is accepted where in what license I really do not have any more ideas on the subject.
As for muting, which browser are you using? Different browsers have different levels of audio implementation at the moment, for example Firefox until very recently (FF11) didn't support looping. So maybe try different browsers and see if it works better. There's not much we can do about that, the browsers have audio limitations, and you'll run in to them in HTML5 regardless of what tool you're using. We've done our best to work around some of the browser limitations but unfortunately there's still some trial and error involved.[/QUOTE]
I have tried Firefox, chrome, opera and IE8. I tried setting the sound to -40 dB which worked on the last sound played, after it played the sound. Even with tags. Muting would only mute without any tags set, and just the last sound. But the thing I find most frustrating is "toggle mute", where in the lack of an actual "toggle mute". And a "mute all sound" instead of this and that tag function is a function I think should be added.
Thank you so much Ashley for you response, and I apolegize for my idiotic rant from before, I appreciate your work on this software!