Took me a bit of screwing around w/initializing registers until a sound was made, but boy was that sound made! As with the JS2612 test, only one channel is audible (a tone channel, not the noise ), and with this test changing parameters don't affect anything yet. Once again, audio is played back using ggalitz's XAudioJS.
Yea, the process code is the same VST.js boilerplate as the JS2612, and I haven't removed the presets yet. Unfortunately, it is this boilerplate that also generates the wave on program change.
Update! I've cleaned up the boilerplate, so now the "Volume 1" parameter actually affects the velocity of the sample MIDI events, which actually affects attenuation! Also, I've added another MIDI note to prove that VST.js can actually handle a stream (albeit small) of MIDI note events.
If I do it right, the next update to the JS76489 will contain multiple tone channels playing at once!
update - it seems my site has exceeded bandwidth quota for august, so NONE of the VST.js demos (vst-dx10.js, vst-2612.js, vst-psg.js) will be available during this time. my apologies to anyone who wanted to try these out and i hope access to be restored at the beginning of next month.