vgmrips

The forum about vgm files
It is currently 2017-10-18, 22:25:50

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: VGM in JavaScript
PostPosted: 2012-04-26, 22:42:21 

Staff Staff
Programmers Programmers
Offline
User avatar

Joined: 2012-04-22, 4:03:45
Posts: 203
Location: New York, NY, USA
For those JavaScripters who want to experiment with the VGM format, there are a few resources available to you now to study!

Existing:
  • A YM2612 emulator ported by me from that found in Genesis Plus GX; updated sample usage to follow.
  • A SN76489 emulator ported by me from that originally written by Maxim and found in Genesis Plus GX; updated sample usage to follow.
  • A (PSG only for now) VGM player written in JavaScript that works on Firefox 4+ and Chrome; should work in Safari. Written by SMS Power forum user BlackAura and contains a custom audio sink.
  • XAudioJS by Grant Galitz; a cross-platform audio sink that can be used to play raw audio in a browser.
  • A Gzip uncompressor by the folks behind JSXgraph; use this to decompress Gzipped VGMs in JavaScript.

Needs an update:
  • A VGM-to-MIDI converter in JavaScript by me; only works in the Sphere engine and is rather limited in its functionality. The next update will put it on Github and make it platform-agnostic.

Soon to come:
  • A VGM parser in JavaScript by me, with the ability to hook custom functionality into VGM commands; example usage will include VGM-to-text functionality.

Future plans (anyone can pick up any of these at their leisure):
  • Implementing the rest of VGM version 1.50 in JavaScript; YM2413 and YM2151 are the remaining cores.
  • Possible JavaScript implementation of chips introduced in later VGM versions.
  • A web version of VGMTool; I have layout already done if anyone wants to pick this project up themselves, but I'm fairly certain I'll be doing this one myself.


VGM in JavaScript can be done!


Last edited by neologix on 2012-04-26, 22:46:55, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: 2012-12-26, 17:34:30 
Offline

Joined: 2012-12-26, 17:17:02
Posts: 1
Location: Netherlands
This looks pretty neat. I'm just starting the basics with JavaScript. Still a long way to go before I could even dare to try this.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: 2012-12-27, 6:15:50 

Musicians Musicians
Contributors Contributors
Offline

Joined: 2012-09-29, 11:45:48
Posts: 212
Location: Australia
Takashi Toyoshima, creator of the TSS (T'SoundSystem) MML sound engine, is doing a complete rewrite and seems to intend to support VGM playback.

http://code.google.com/p/tss/

A while back there was a javascript VGM player test but it seems it's removed now. Not sure on the progress of this.

_________________
-dj.tuBIG/MaliceX


Top
 Profile  
 
 Post subject:
PostPosted: 2012-12-27, 6:32:58 

Staff Staff
Programmers Programmers
Offline
User avatar

Joined: 2012-04-22, 4:03:45
Posts: 203
Location: New York, NY, USA
@MaliceX - it seems that if you do a clone of the repo it still has all the JS work he put into it, some of it updated as recently as November of this year.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Linkdex [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group