Page 2 of 3
Posted: Sat May 29, 2010 3:47 pm
by p1xl
Thanks! Feel free to use it on your site, chipmusic.org already has. I am constantly expanding tho. I suppose it will reach a "stable release" at some point, probably when I finally get around to documenting the config options. For now, you need to "view source" on the demo page.
New Update. There's now a volume control and it remembers your preferred volume level between visits.
http://p1xl.com/fun/flashnsf/
Posted: Sat May 29, 2010 4:22 pm
by Gil-Galad
A great feature would be if you could switch tunes in the player.
Posted: Sat May 29, 2010 7:15 pm
by p1xl
This has either been done, or is planned, depending on what you mean.

You currently can switch between the different tracks in a single NSF/NSFE, and automatically moving to the next track is supported.
However, if you mean having a playlist of several NSF's that you can switch between, that's on the todo list. Watch for updates

Posted: Sat May 29, 2010 10:38 pm
by Gil-Galad
Actually, I think I was tired when I was messing around with it before. Yes, you can switch the tunes. My mistake.
Posted: Sun May 30, 2010 4:45 pm
by kode54
Doesn't even open my sound output device under Linux, using the 64-bit beta Flash plug-in, version 10.0.45.2. The track skip controls do update the track title display, but the play and pause buttons don't seem to do anything.
Posted: Sun May 30, 2010 5:00 pm
by p1xl
That's strange. I supposedly don't have to do any initializations since Flash does it for you. Do any other dynamic sound projects work for you? Like this one:
http://www.adobe.com/devnet/flash/artic ... index.html
Posted: Sun May 30, 2010 5:07 pm
by kode54
Yes, as does the dynamic sound segment on this page:
http://www.adobe.com/products/flashplayer/features/
EDIT: Okay, now that I've installed the latest Flash plug-in 10.1 RC6 using nspluginwrapper, it works. Although I had problems with nspluginwrapper failing after a while under Ubuntu, I'm using Fedora now, and I'll see how it goes.
Posted: Thu Jun 24, 2010 9:16 pm
by Dwedit
Thanks so much for the flash based NSF player. I've put 4 of my Famitracker covers on my site using the player.
Posted: Thu Jun 24, 2010 9:29 pm
by p1xl
Cool

Glad to hear it's being used, and I really like your cover of Hymn To Aurora. Very nice!
Posted: Fri Jun 25, 2010 8:29 am
by Dwedit
I just hate that Firefox makes things hard to test. It disables javascript running from file:// urls.
Posted: Fri Jun 25, 2010 2:26 pm
by kode54
Toss the whole lot of files into the same directory and use relative paths? It shouldn't disable that.
Posted: Fri Jun 25, 2010 2:30 pm
by p1xl
Is setting security.fileuri.strict_origin_policy to false in about:config enough?
Posted: Thu Jul 15, 2010 8:26 am
by juef
First of all, let me thank you (and blargg) for this. I was so desperate of having a Flash NSF player that I was about to try and make myself, but I certainly wouldn't have done as well as you have. So, thanks, and congrats!
Now, I have just a quick question - apparently, the player doesn't like ampersands (&) in NSF filenames. Is there any way around this other than just renaming the file?
Posted: Thu Jul 15, 2010 8:48 am
by p1xl
Seems this is a long standing issue with swfobject. See here:
http://code.google.com/p/swfobject/issues/detail?id=66
I'm not sure how you're using FlashNSF, but if you are just typing in filenames, you can work around this by using %26 instead of &. For instance, say you have this&that.nsf, use this%26that.nsf in your file param. Or, if you are using dynamic code like PHP you could do a urlencode() on the filename: echo urlencode('this&that.nsf')
This is the kind of thing you'd need to do anyways if you choose not to use swfobject, and it's up to the swfobject maintainers to fix it, and it looks like they are being a bit stubborn about it.
I tested FlashNSF with the above recommendation and it works fine on files with &'s in them.
Hope that helps
Posted: Thu Jul 15, 2010 10:45 am
by juef
I am using PHP, and yes, your recommendation works magnificiently! Sorry for asking, I should have thought about this.
Thank you very much!
