Max Mtg wrote:I think you may proceed as you did for the next few days until beta, but be ready to change (or to discover how your code has changed) when someone (probably me) makes that bus implementation (after beta of course)
Yep, I see your point, and like I said, I'd rather not jump into that especially since there's already a prospect of how it should work in the future and I don't know the details of it and have little experience with it. That being said, I'm flexible and I'll certainly adapt to the new implementation when you transform the code - feel free to change my calls into whatever form would be appropriate to transmit them properly via your event bus implementation, and I'll be sure to utilize that form from that point on when adding new sounds to the sound system.
RumbleBBU wrote:Would it be possible to make the sound system eat MP3s? Non-lossy wav files are largely a waste of disk space and memory for non-hifi use like this.
Sadly, JDK itself doesn't support MP3 out of the box, potentially because it's a proprietary format, it only supports WAV and AU. If we decide to try to go for the MP3 format (or OGG, or some other compressed format), it's probably not a big problem to use some third party library for that, but that might increase the size of the Forge jar file as well as create potential issues with cross-platform compatibility (if that library is going to make any native calls, it might be difficult to ascertain that it's universally available on all platforms, plus, it might turn into an end-user problem). So, we definitely need to decide on the following: 1) is MP3 support really mandatory, or is maybe .WAV actually enough? (yes, I know it's typically much larger in size, but our sounds are short enough, and all things considered, collectively all the WAV files together are unlikely to exceed 20-25 MB, probably maybe even twice less than that amount - Shandalar has a ton of duel sounds in WAV format and they all combined together have the total size of about 16 MB - that doesn't include music and other stuff like that of course; two sounds submitted by Chris are under 50 kb in size together); 2) if it is mandatory, how OK would it be to utilize a third party library for the playback, and are there any criteria as to what to look for when looking for a third party library?
Chris H. wrote:I found the original tap sound from several years ago. I raised the pitch, shortened the sound somewhat and converted to wav format.
Thanks a lot for the sounds so far! I tried them out and liked them very much! How do we go about putting them on cardforge.org and stuff? Maybe it's worth collecting them somewhere in one place at first and then, when we have a more or less complete set, I'm going to add a downloader to Forge that will be able to fetch those from cardforge.org?
P.S. I think we should decide on something for the file format too before we actually put the collection up and link it to Forge.
- Agetian