SDL_mixer native midi support

Hi,

I want to implement native midi support for windows today. I have
thought about it and I think the best way to do that is the following.
If timidity fails to initialize, SDL_mixer tries to initialize native
midi. Then native midi is used when the timidity.cfg or the patches are
missing. Is that way to do it ok, or should it be done differently?
Maybe there should be a way to use native midi even if timidity would
initialize.

Proff–

Florian ‘Proff’ Schulze - @Florian_Schulze
Member: TeamTNT - http://www.teamtnt.com
Homepage: - http://proff.fly.to
ICQ#: - 40510245

Hi,

I want to implement native midi support for windows today. I have
thought about it and I think the best way to do that is the following.
If timidity fails to initialize, SDL_mixer tries to initialize native
midi. Then native midi is used when the timidity.cfg or the patches are
missing. Is that way to do it ok, or should it be done differently?
Maybe there should be a way to use native midi even if timidity would
initialize.

Does the native midi sound as good as timidity?

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Does the native midi sound as good as timidity?

It depends on the soundcard, on my wavetable the most midi files are the
same as with timidity, but the cpu cost is much(!) lower. On a old Sound
Blaster card with FM synth it’s much worse than timidity. I don’t know
if for example the SBLive! has a wavetable synth. I have an Ensonique
Audio PCI card. It’s nearly the same as the Sounblaster 128 PCI.

Proff–

Florian ‘Proff’ Schulze - @Florian_Schulze
Member: TeamTNT - http://www.teamtnt.com
Homepage: - http://proff.fly.to
ICQ#: - 40510245