PDA

View Full Version : SDL_Mixer



WILL
14-12-2003, 07:02 AM
What module type files can be played with the SDL_Mixer object?

And is there a way that I could improve the quality of the audio that is mixed the SDL_Mixer?

I've noticed that the demos that come with it(Oxygen, etc) playback modules(ScreamTracker 3's S3M, FastTracker's XM and Impulse Tracker's IT, etc), but the quality could be better. I do not intend to use BASS or FMOD so please do not suggest them. Was the original C/C++version of SDL not open source?

noeska
15-12-2003, 06:39 PM
you could take a look at openal (http://www.openal.org).
i am writing an module player for it. For now it plays only some basic mod files. Have a look: http://www.noeska.com/doal/almod.aspx

WILL
15-12-2003, 10:04 PM
Hmm, well when you can get it to play IT modules it may be of some use in my project. :) I hope you keep at it. It looks good so far. BTW, is it cross-platform compatable? ie. Kylix & Delphi?

BTW, if you need to find the tech files for s3m xm and it modules I have them stashed here somewhere(the ones that came from the tracker programs themselves). Just send me an email (mailto:raproductions@hotmail.com) and I'll give em to you.

I started to make a module player in Turbo Pascal 7 way back when, but I only got to the loading and verifing of the files portion done and not really all of that. I could send you some of that code too?

noeska
16-12-2003, 06:59 PM
I created it using delphi5. It can easily be made cross platform.
Actualy the openal mod player started from a tp7 sourcecode also.
You should have received an email from me.

WILL
16-12-2003, 11:00 PM
I did indeed. The idea of opening up a sourceforge site for it does sound appealing. And I'd have a vested interest in an opensource, cross-platform, Object Pascal module(MOD,S3M,XM,IT,etc) playback mixer/engine.

Unfortunately I have no experiance in CVS or any other type of sourceforge type workgroup systems. Someone else would have to take charge of this, but I'd gladly contribute to it. I have a decent knowlage of module formats(if not the playback portion ;)).

The source I mentioned was a format detector(I'm not sure but I think it could tell what type of MOD version it was. You know; ProTracker, StarTracker, number of channels, etc...)

What do others think of this idea?

savage
25-01-2004, 08:08 PM
SDL_Mixer should be set @ 22050 or 44100 for best sound quality. I have found however that 22050 seems to be the best compromise that tends to work on most systems. 44100 does not always work on all sound cards.