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.

Pages: [1]   Go Down

Author Topic: About the mod player issue  (Read 10498 times)

0 Members and 3 Guests are viewing this topic.

DragShot

  • New User
  • Offline Offline
  • Posts: 22
    • View Profile
About the mod player issue
« on: June 10, 2014, 22:40:56 »

Hey, look what I found over there: http://mod.haxor.fi/

This thing is fully JavaScript functional, this means: no Java, Flash, nor any other heavy plugin required!

Although this player is kinda messy (normal for an experimental prototype), it does its work pretty well at playback for ProTracker modules. This player is supported by relatively recent browsers (at least the versions released after 2012 should support it).

Looking at its sources, I've found the mechanism used to play the rendered bytes. It can be used in a similar way as in JMod and even my NfmM MOD Player. So, if somebody could port the rendering components of JMod to JavaScript, we would have a chance to get a good replace for the current old Java player being used in ModArchive at the moment.

I'll try to move some logic from the JMod to a JavaScript module to see what I can achieve. I honestly had no idea that webkit would bring stuff for this purposes o.O . I may need to learn more sophisticated JavaScript meanwhile.
Logged

Saga Musix

  • TMA Moderator
  • Top Poster
  • ****
  • Offline Offline
  • Posts: 2571
  • I love OpenMPT! And Modules! And TMA! And Pie! :>
    • View Profile
    • Saga Musix - free module music and more!
Re: About the mod player issue
« Reply #1 on: June 11, 2014, 12:06:23 »

We are well aware that there are several alternatives out there, including JavaScript ports, however the main problem with the player you linked is that it plays MOD only, and that the emscripten ports of good mod players (xmp, libopenmpt) are still rather slow unless you have a beast of a computer.
Logged
» My TMA artist profile
» Visit my music site: https://sagamusix.de/ [de, en]
» Visit my programming website: https://sagagames.de/ [de]
» Open ModPlug Tracker

DragShot

  • New User
  • Offline Offline
  • Posts: 22
    • View Profile
Re: About the mod player issue
« Reply #2 on: June 20, 2015, 00:29:26 »

I found another player (based on the first one tho), this one with better performance. Some of its scripts suggest there is .xm and .it support being developed.

http://cyrilpereira.com/modplayer/

Hopefully the work for those formats should be done in a nearly future. It wouldn't be perfect, but would still be better than a Applet most of people can't get to start.

Yeah, I gave up on Applets. It was just a matter of time.
Logged

Saga Musix

  • TMA Moderator
  • Top Poster
  • ****
  • Offline Offline
  • Posts: 2571
  • I love OpenMPT! And Modules! And TMA! And Pie! :>
    • View Profile
    • Saga Musix - free module music and more!
Re: About the mod player issue
« Reply #3 on: June 20, 2015, 03:44:29 »

Even if it supported IT and XM it would still be a small subset of what libopenmpt and ModArchive support. As said, libopenmpt is already there, it "just" needs to be integrated. Just like that player you linked, it won't magically integrate itself into ModArchive. Hence, I'm still looking for someone who'd like to help out writing the necessary code for integrating libopenmpt into ModArchive's pages.
Logged
» My TMA artist profile
» Visit my music site: https://sagamusix.de/ [de, en]
» Visit my programming website: https://sagagames.de/ [de]
» Open ModPlug Tracker
Pages: [1]   Go Up