PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Midi, GNU licence etc

Hi!

I am trying to get Midi music in PocketAdventures.
There are little options to implements this.
I tried PocketMidi(source availeble on the net)
and it works great. It's capable of producing
sounds similair to Soundblaster Awe32.
One major drawback, it uses soundbanks that are
VERY large (5 mb or larger)!!!
And that GNU licence. If i use the PocketMidi source
, do i have to make PocketAdventures also
opensource, OR only the MIDI part?

Pocket ScummVM can play midi. It transforms
the midi commants to OPL2 codes. Great advantage
is ofcourse that it doesnt use soundbanks.
Drawback, it sounds not as good as PocketMidi.

Does someone know how to implement OPl2?
I looked foor the source of ScummVM, but could not find it.

Kaiton
just like you said, not as good :lol:

ScummVM source is available from http://scummvm.sf.net, look for sound/fmopl.cpp and sound/mididrv.cpp
Ha!


Thanks!!!
Yes, if you use anything covered by GNU it "pollutes" your source and all source that links to it must be released under GNU as well. There's much debate about the "links" part, but basically that's what the agreement states.

I personally am a big fan of Zlib's license. IE "I give it to the world to use as they wish. You can't patent it or claim rights to it or hold me accountable for harm caused by using it." If you're going to write software for everyone to use freely why not really make it "free" and not tie a bunch of terms to it's use... but that's for another thread and another forum.
The problem is even more interesting for Timidity (the software MIDI player used in PocketMidi) : first, the original version was discontinued, and the new one, Timidity++, is being released under the GPL - in that case, which license should apply to Timidity ?

The other funny part is that Timidity includes a server mode to handle MIDI commands sent by a remote client - would the license allow a non free client to use this feature ?