STEP 2 OF MY MASTER PLAN IS COMPLETE!!!!!!!!!!
Ladies and gentlemen, I present to you as a proof of concept: the JS76489.
http://www.luxatom.com/vst-psg.php
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.
psg-js on github
(cross-posted to smspower, spritesmind, project2612)
JAVASCRIPT PSG~!!
Moderator: BigEvilCorporation
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
-
- Very interested
- Posts: 122
- Joined: Mon May 07, 2007 5:19 pm
- Location: New York, NY, USA
- Contact:
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!
If I do it right, the next update to the JS76489 will contain multiple tone channels playing at once!