<div class="gmail_quote">On Sat, Feb 27, 2010 at 3:01 PM, Jordi Vilalta <span dir="ltr"><<a href="mailto:jvprat@users.sourceforge.net">jvprat@users.sourceforge.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The draci engine also changes the channel masfor MT32 devices in line<br>
132 of draci.cpp:<br>
_midiDriver->property(MidiDriver::PROP_CHANNEL_MASK, 0x03FE);<br>
<br>
I hope it solves the mystery ;)<br>
</blockquote></div><br>I copied & pasted this line from another engine. I don't know what this code means. if you know more about MIDI, I'd love to learn from you. my intention was just to play given MIDI files read from disk about which I know literally nothing.<div>
<br></div><div>I was surprised that this simple task is very complicated in ScummVM, as opposed to just playing samples or MP3's. I had to copy & paste non-trivial MIDI code from other modules and do a lot of initialization and configuration work. I just did it such that it works for me.</div>
<div><br>-- <br>Robert Špalek <<a href="mailto:rspalek@gmail.com">rspalek@gmail.com</a>><br>
</div>