[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] MIDI files in Games?



"John Eriksson" <john@xxxxxxxxxxxx> wondered:
> I guess a midi-file will sound different on different platforms. But
> will it be a huge difference or just a small difference?

I'm planning to use BASSMidi (http://www.un4seen.com/) for one of my
current projects. The benefit to this is that the MIDI synthesis happens
on the CPU, instead of the sound card, so the music guy can give me a
"sound font" with the instruments he likes. This should give consistent
sounding music across a variety of machines.

However, some of the downsides:
* 100 Euro license for Mac or PC, 60 Euro license for the second platform
* No Linux support
* No existing Python support (I'm comfortable with using CTypes, but I'd
be happier if the Python work was already done.)
* Doing the synthesis on the CPU means a CPU hit that a PyGame-only
approach might not have.


I think it's a reasonable tradeoff for my project.

-Dave LeCompte