The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => General UQM Discussion => Topic started by: tonyx on March 03, 2003, 07:38:32 am



Title: feature request: Please CHANGE the music engine
Post by: tonyx on March 03, 2003, 07:38:32 am
I just tried out UQM. all fine and dandy, except the .MOD files, which I remember as one of the finer points of the game when I first played it in 1992 were playing in really low quality mode. then I dived into the data directory and started playing the MOD files individually through ModPlug - what a world of difference! They sounded great! Now can't some sort of a better MOD playing engine be added to the game? I mean the music in the game is excellent, but within the game it sounds awful.

People just compare the music playing in the game with what you get when you listen to the MOD files through ModPlug, you'll know what I mean.


Title: Re: feature request: Please CHANGE the music engin
Post by: arcain on March 03, 2003, 10:18:59 am
Have you tried the manual?

     -q           (or --audioquality)

Can be "high", "medium", or "low".  Specifies how nice the audio
sounds.  Slower machines should lower the audio quality.

:) Arcain


Title: Re: feature request: Please CHANGE the music engin
Post by: tonyx on March 04, 2003, 07:38:03 am
Quote
Have you tried the manual?

     -q           (or --audioquality)

Can be "high", "medium", or "low".  Specifies how nice the audio
sounds.  Slower machines should lower the audio quality.

:) Arcain


ah, maybe that's it.

although I have to wonder why it defaults to "low" then. these are 4 channel MODs and I remember I used to be able to play 32 channel MODs @ 16bit / 44 Khz on a 386 SX back in the day without any problems or slowdowns.

so how come we need to default 4 channel MODs to low for "slower" machines? what can be "slower"? since a 386 SX plays them effortlessly in "high", those slower ones can only be... 286? XT? heh, we wouldn't even be able to install W98 on these, not to mention sratring up the conversion on one of those computers. so do we really even need to have a "low" option? not to mention _defaulting_ to it? that's just ridiculous:) what gives? what am I missing here:)?


Title: Re: feature request: Please CHANGE the music engin
Post by: Novus on March 04, 2003, 12:16:08 pm
Quote
although I have to wonder why it defaults to "low" then. these are 4 channel MODs and I remember I used to be able to play 32 channel MODs @ 16bit / 44 Khz on a 386 SX back in the day without any problems or slowdowns.
There are a few other factors in play here. First of all, you probably weren't using any interpolation on your 386SX (BTW, what player is fast enough to mix 32 channels at 44 kHz on a 386SX? Inertia Player?). Second, many old MOD players used low-precision fixed-point maths to speed things up (at the expense of sound quality, again). So, if you're using a Pentium 90 or so, you might notice a slight performance hit when using maximum sound quality. All things considered, I think there is no reason to have low sound quality set as the default.


Title: Re: feature request: Please CHANGE the music engin
Post by: Mika on March 04, 2003, 06:37:58 pm
Sound quality default is medium, not low, which can be clearly seen with --help.

low = 22khz/16bit/stereo
medium = 44khz/16bit/stereo/interpolated
high = 44khz/16bit/stereo/interpolated/mikmod's high quality (but much slower) mixer

About ModPlug, I initially considered using it but it's not quite portable (there' s basically two different code bases for win32 and *nix, not sure does it work at all with big-endian machines, etc). Someone also said that MikMod plays the mods actually more correctly than ModPlug, if defining 'correct' by how they did play with eg. original amiga trackers.


Title: Re: feature request: Please CHANGE the music engin
Post by: tonyx on March 04, 2003, 11:08:29 pm
ok, medium quality looks sufficient on paper. but all I know is I fired up UQM with whatever default settings it comes with, and the MOD's sounded like they were being played through a Covox Speech Thing (anyone remember those:)? then I fired up ModPlug and the very same MOD's (dug them up from the data directories) sounded BEAUTIFUL, just like they should. or did that just happen to me alone?

PS  I think I played 32 chan mod's in ScreamTracker on my old 386 SX, must've been the fact that ScreamTracker was pure asm code from start to finish (or at least that's what the readme claimed back then).