[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mockingboard



>Or, since MIDI is already a merged stream of note beginning and ending
>times, it would be more straightforward (and maybe just as easy) to
>simply write a "player" for MIDI files that would read in a MIDI file
>and stuff Mockingboard registers directly--or, better, construct a
>circular buffer of registers to stuff under IRQ control.

it might be easier to write a player, but I think real-time conversion
will
tax the CPU too much in a game.

do you have in your notes a "disassembled" MIDI file, commented?

IE:

pos in file     MIDI FILE DATA             what it is
+00                      $08                             header,
indicates ?tracks? in file
+01                                                         header,
indicates ?voices? in file
+02
+03
+04                     $45                             start of music
data,  play note = 45
+05                     $56
                 stop note = 45

If you have anything like this from your work with the converter,
it would be extremely helpful.

Rich