Question about Tracker format music support

Make games! Discuss those games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
Foxley
Metal Slime
Posts: 832
Joined: Sat Nov 09, 2013 5:54 pm

Question about Tracker format music support

Post by Foxley »

Hey, so I've got a bunch of old unfinished Impulse Tracker songs I made over 10 years ago but I've noticed a lot of them sound off when I import them into CUSTOM, like it's just using samples by themselves instead of instruments (which are samples with bells & whistles). I'm guessing that whatever the OHRRPGCE uses for MOD, S3M, IT etc. doesn't support things like instruments, volume and panning envelopes and sample interpolation.

So my question is, what formats are fully supported? My hunch is that it's MOD and S3M only, then XM and IT formats are downgraded to the features of those older and less featuresome (is that even a word) formats. But if anyone knows for sure, I'd appreciate it.

I'm thinking of taking parts that I like out of those old tracks and reusing them.
User avatar
Bob the Hamster
Liquid Metal King Slime
Posts: 7460
Joined: Tue Oct 16, 2007 2:34 pm
Location: Hamster Republic (Ontario Enclave)
Contact:

Post by Bob the Hamster »

All those formats are supposed to be supported, but any problems with them sounding wrong when playing back is the fault of the music backend.

music_sdl uses MikMod for tracker format support, so it is subject to whatever flaws and bugs are present in that library.

music_native uses Audiere for tracker format support, so it is subject to whatever flaws and bugs are present in that library.

Which music_ backend are you using?
User avatar
Foxley
Metal Slime
Posts: 832
Joined: Sat Nov 09, 2013 5:54 pm

Post by Foxley »

Bob the Hamster wrote: Which music_ backend are you using?
Good question; I'm just running custom.exe in Windows 7 and didn't change any config or command line settings. Not sure if that's SDL or native.
User avatar
Bob the Hamster
Liquid Metal King Slime
Posts: 7460
Joined: Tue Oct 16, 2007 2:34 pm
Location: Hamster Republic (Ontario Enclave)
Contact:

Post by Bob the Hamster »

When you run custom, it shows you the backends at the bottom of the screen. It is near the bottom of the screen, just to the right of the build date.

You are probably using music_sdl if I recall correctly that is the default on Windows
User avatar
Foxley
Metal Slime
Posts: 832
Joined: Sat Nov 09, 2013 5:54 pm

Post by Foxley »

Ohhhh. Yeah. There it is right there, derp.

It's music_sdl. Should I try music_native?
User avatar
Bob the Hamster
Liquid Metal King Slime
Posts: 7460
Joined: Tue Oct 16, 2007 2:34 pm
Location: Hamster Republic (Ontario Enclave)
Contact:

Post by Bob the Hamster »

It is worth a try, just to see if the music sounds different.

Audiere is an old library, abandoned since 2008, but it might have been a higher quality library in the first place than MikMod
Last edited by Bob the Hamster on Thu Jan 15, 2015 8:04 pm, edited 1 time in total.
TMC
Metal King Slime
Posts: 4101
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

Could you provide a file that doesn't work?

SDL_mixer includes an old version of libmikmod for playing module files. Audiere also uses libmikmod. Do try music_native. My local copy of the SDL_mixer source includes libmikmod 3.1.12 (current is 3.3.7), but I last recompiled SDL_mixer.dll for Windows years ago, probably before 3.1.12 was released. And libmikmod 3.1.11 was released in 2003!

So recompiling SDL_mixer might fix this, but with some test cases I will be able to confirm.
Last edited by TMC on Sun Jan 18, 2015 3:00 am, edited 2 times in total.
Post Reply