blargg wrote:
Uncompressed files work for me. For example, <a href="javascript:gme.playFile('http://example.com/Blaster_Master.nsf','',3)">Blaster Master - Underground</a>. What HTML were you using to link a file?
There aren't any meta functions for playlists or track names embedded in files. My idea was that you'd build the appropriate JavaScript to add all the files from an album, using some database or other program. This gives you complete control over presentation and track length, without the need for a complex interface in the applet for selecting what to play.
I do need to add an addFile() function that doesn't play the track immediately (basically acts like Playlist checkbox is checked, regardless of whether it really is). I also noticed that the automatic next track code is commented out (and of course this doesn't do any automatic end-of-track silence detection, as I assume you specify an appropriate song length already). I had lots of problems with the front-end on my old iMac running a really old version of OS X (which is the newest computer I have, sadly). We need to find a Java programmer to work on the front-end.
It would be cool if someone provided a 7z and/or RAR reader for Java, then this applet could play NSF music from all the archives out there. I cringe at the thought of a RAR reader in Java, allocating 40MB or more just to access a file.
Oddly enough I linked it the same way your example states. It's not a big deal, I mean archiving the NSF files speeds up the playing delay time due to download speed (I'm capped) anyway.
I was wondering if it had RAR support, I never did try..but it's not a big deal.. if it can save space and just have ZIP support, that should work just as well.
Any thoughts on adding a PSF loader to your library? Hehe. Kidding of course. That's probably way too much, and to think some PSFs use libraries, you'd have to definitely load the instrumentation file before anything would play..which I guess wouldn't be too hard, you'd just have to add an extra string.
Anyway great work. I'm hoping for a better GUI in the future, but a lot of people need to get wind of this app before it will probably get the support it needs.. perhaps make an announcement on zophar or something?