Author Topic: Modular music support  (Read 461 times)

Let's face it, music files are big.  If you choose to download everything from a server, music loops can take far longer than anything else, and with a filesize cap at 1 megabyte, they can't really be any longer than about two minutes.  Obviously this has its share of drawbacks.

As a partial solution, why not add support for music modules?  These include .MOD, .XM, and .IT formats.  They're widely supported by advanced media players like WinAMP and VLC, and they have a tendency to be very small files.  I'm talking in the ballpark of 100 kb, and filesize only depends on the instrument samples used; length is practically indefinite.  Basically, they are perfect for quick sharing.  There is a drawback, in that they can't be simply converted from WAV or MP3; they have to be arranged or composed from scratch, or converted from another sequenced music format like MIDI.  Still, it would be a nice alternative to OGG Vorbis for cases where you might want a long piece of high-quality music in a small filesize.
« Last Edit: May 23, 2015, 06:56:52 AM by Plastiware »

Ah, what the heck, I'll give this a nudge.

I'd love if this was a thing. I mean heck dynamic music would be more than possible, too.

port was doing something similar to this (of course)

port was doing something similar to this (of course)

That was just an ABC player.  It read note data, but played it back with huge wav samples of instrument notes, and its rhythm would be inconsistent if there was any lag whatsoever.  What I'm asking for is something that could play actual, complete module files, probably client-side, but controlled by the game server-side.