Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - deskjet

Pages: [1]
1
Software Showcase / Re: Javascript Module Player
« on: September 04, 2013, 17:16:48 »
OK. I just did some internet research on libopenmpt. Turns out that it is not the same thing as libmodplug, which is great. When starting with chiptune.js I first wanted to do it with libmodplug and failed because the code was a mess. It was much easier with libxmp.
I also found out that there is no release of libopenmpt yet and it's in developmet for quite a long time. To me  an emscripten port of libopenmpt sounds like a good idea but it's hard to do, when there is no stable release of the library, that is known to work.
I found nothing an an emscripten version of libopenmpt, so if I missed something just tell me.

2
Software Showcase / Re: Javascript Module Player
« on: September 04, 2013, 15:54:44 »
That kind of playback errors seem to be related to libxmp, what I use for decoding.
Chiptune.js just takes the raw audio data and passes it to the browser for playback. So that is a problem, that might get fixed in a future version of libxmp, that I can adopt. libxmp is still under active development, so it's not to late to fix errors.

In terms of performace it's alerady pretty good. I'm not doing benchmarks but it still plays smoothly on slow systems. However I have not tried it on Smartphones, yet.

I'm waiting for Web Audio to be finally officially supported in Firefox. It is currently in developmet and also somewhat working, but the timing of audio buffers seems to be inaccurate. So I hope this will get fixed.
I don't know anything about Internet Explorer. Maybe I'll find some kind of flash fallback as a replacement for Web Audio. We'll see.

3
Software Showcase / Javascript Module Player
« on: September 03, 2013, 18:18:50 »
Hi,
I am the creator of chiptune.js, a javascript module player for the browser.
It is based libxmp, so it should play pretty much any format (mod, s3m, it, xm etc) just fine.
I used emscripten to compile the libraries C code into Javascript and built a JS Wrapper around it, so it can be used quite easily.
It uses the Web Audio API for sound output via the browser, which ist currently only supported in Google Chrome, but Firefox support ist about to come in Version 25.

I saw modarchive only has a Java based player, so my project could be an option.
Just have a look if you're interested.

You can try the player on the Demo page. You can drop any module files on the page and hit the play button, when it's loaded. I hope you like it, let me know. :D

Or visit my Repository over at Github, to see the code. If you guys have ideas for improvement I would be happy to know. You can send me patches, too. Any help is appreciated.

I almost forgot: It is really pure Javascript, no browser plugins needed!

Pages: [1]