JAVASCRIPT YM2612!!!

Talk about anything and everything about Sega's 16 Bit console and its addons here - hardware, games, memories. You name it.
Post Reply
User avatar
neologix
Posts: 60
Joined: Tue Apr 24, 2007 11:32 am
Location: New York, NY, USA
Contact:

JAVASCRIPT YM2612!!!

Post by neologix »

STEP 1 OF MY MASTER PLAN IS COMPLETE!!!!!!!!!!

Ladies and gentlemen, I present to you as a proof of concept: the JS2612.

http://www.luxatom.com/vst-2612.php

Not only did I FINALLY get graphable output, I also succeeded in mocking up the connection between a YM2612 (based on genplus-gx) and some implementation (albeit reduced) of the VST SDK. The output is from a constant fnum, but now I can actually put a frequency-to-fnum conversion to take a given MIDI note and generate.

One day I will update my supporting VST.js to actually output sound instead of the raw numbers, but not today! Today is for celebrating the BIRTH of the JS2612!

ym2612-js on github

(cross-posted to smspower, spritesmind, project2612)
stalepie
Been Here for a Bit
Posts: 80
Joined: Sun Jul 30, 2006 1:33 pm
Location: GA, USA

Re: JAVASCRIPT YM2612!!!

Post by stalepie »

Totally rad! great job!!
User avatar
neologix
Posts: 60
Joined: Tue Apr 24, 2007 11:32 am
Location: New York, NY, USA
Contact:

Re: JAVASCRIPT YM2612!!!

Post by neologix »

audio preview now works in firefox >= 4, safari 5, AND chrome! many thanks to the XAudioJS library by grantgalitz for making this possible.
User avatar
neologix
Posts: 60
Joined: Tue Apr 24, 2007 11:32 am
Location: New York, NY, USA
Contact:

Re: JAVASCRIPT YM2612!!!

Post by neologix »

ym2612 now updated w/eke's latest (beginning of august) optimizations and a speed-up (hopefully) for converting floats to ints!

https://github.com/apollolux/ym2612-js
User avatar
neologix
Posts: 60
Joined: Tue Apr 24, 2007 11:32 am
Location: New York, NY, USA
Contact:

JAVASCRIPT YM2612!!!

Post by neologix »

IT FINALLY WORKS PROPERLY!!!! Get it at GitHub :)
User avatar
dissident93
Been Here for a Bit
Posts: 41
Joined: Mon Feb 21, 2011 2:06 pm

JAVASCRIPT YM2612!!!

Post by dissident93 »

good work.
Post Reply