>Hi all, > >> >> Hi every body, >> >> >> Is there someone to explain or send me source code of a MIDI replayer for >> Turbo R GT?? >> > I'm coding a MIDI replayer for MSX2 and MoonSound with Machine Language. >There is no source code, sorry :) > > MIDI file format is bad for playing on MSX. > Firstly, it requires high speed clock frequency. So you cannot use >time interrupt for playing it. Or you lose tempo. > Second problem is the variable length encoded event time. It takes much >CPU time. The solution of this problem is pre-decodeing. But you need >lots of memory (4 bytes/one event) > >> I would like to check how much CPU time need a MIDI replayer and if I can >> use it in agame >> > Anyway, it's possible to make MSX MIDI replayer. But I think that MIDI >replayer is not adequate for games. It's the best to make your own replayer >and music file format. Or seek other replayer/composer... > Sorry for late reply (vacation, new work found, no time to use Inet) I wrote a MIDI-file replayer for Music Module a year or two ago. If anyone is interested in source code (that's 40K in ML or so) this can be arranged. Greets! -- EV ========================================================================== * Egor G. Voznessenski * -- MSX fan -- Tubed audiodude -- Pendor fan -- * * aka * FIDO: N/A EMAIL: [EMAIL PROTECTED] * * Valve Buster//SOLiD * http://www.glasnet.ru/~msxegor * ==========================================================================
