So, my current project is Let's Play King's Quest V with an MT-32. I found other LPs of KQ5, but none utilizing the Roland MT-32, the famous synthesizer module for which the music in Sierra games of this era was written. I bought one a couple years ago and you can too: you're likely to find one or two on eBay at any time.
I think, though, KQ5 was written for a second-generation MT-32. What I have is a first-generation, by far the most common, and unfortunately it has some problems, namely a very small buffer for System Exclusive messages (used to program custom instrument sounds, among other things), so anything that doesn't leave about 40 ms between them will cause buffer overflows. Strangely enough, I tried it under Windows XP with the USB MIDI adapter I have and found it works just fine; I think Windows does buffering of its own.
Under Linux, there's a different problem with some sounds not getting programmed and some events not registering, which it took me a while to figure out. After searching around the Web for a while, I finally found the real cause: apparently something (either the MT-32 itself or the USB adapter; I'm not clear which) needs 4-byte packets, but the adapter advertises 8-byte packets, and extra events in 8-byte packets get dropped. Fortunately, a simple 3- or 4-line change in the Linux kernel (forcing all USB MIDI packets to be limited to 4 bytes) took care of that problem; it helped that there was a device for which that was already being done, so only a simple change in logic was needed. However, I'm now seeing buffer overflows. A workaround in some cases (with DOSBox) is to lower the CPU cycles setting to about 500 while the sounds are being programmed. It makes the startup take a while, but it seems to work very well, at least for KQ5 and KQ6.
An easier alternative might be to get a later-generation MT-32. But good luck finding one. What to look for: the later ones have a headphone jack in back next to the line-outs. If you already have an MT-32, you can hold down the "4", "RHYTHM", and "MASTER VOLUME" buttons while turning it on, to see the version number and revision date on the LED panel. If it says something like "ver2.xx", you're good. The serial number is also telltale: serial 950500 and up is the new model.
Anyway, my current setup for recording my LP is as follows:
- MT-32 connected by a USB-MIDI adapter, with its audio output connected to the computer's line-in with a 1/4" jack-3.5mm jack adapter.
- Line-in software-forwarded to a USB headset. (It's tricky to get the latency down enough so that the music isn't lagged for me, without getting lots of buffer underruns and overruns, which seem to create cumulative delays.)
- Commentary also recorded from the headset, of course.
- Game video and audio recorded using DOSBox's video capture feature. (Watch out: this can produce large files, so make sure you have plenty of storage space.)
- Game music captured using DOSBox's raw MIDI capture feature. I can then play it back later and record the MT-32's output while other things aren't running. (Be sure to capture from when the game is first started, or the sounds will be wrong when you record later.)
After all the audio is recorded, I then use Audacity to remove some background noise, adjust the track levels (use the Amplify effect, not Normalize; Normalize applies to each channel independently! and you don't want to completely normalize anyway since that can lead to clipping when everything is mixed), and apply Autoduck. Then I use Kdenlive to edit the video, add titles, etc. Throughout the process, MPlayer and MEncoder come in handy for various tasks like reducing the framerate (DOSBox's videos are over 70 FPS!), extracting audio tracks, and upscaling the video, as well as the final encode. (I haven't figured out how to get Kdenlive to stop producing horribly inflated files for the kind of output I want; maybe because it uses libavcodec instead of x264? I don't know.)
Oh yeah, I also maintain a playlist of all the episodes in Ross Scott's Civil Protection and Freeman's Mind and the (good quality) Mind series inspired thereby. I started it in order to make a convenient record for what order things came out in the early days of Mind series (Machinima.com re-uploaded the early videos so the dates are misleading; I had to scour Ross's old blog on Blogspot to get the truth). But it's taken on a life of its own, since not only have I continued to add new episodes as they come out, I also add new series from those who become Masterminds (a meritocracy whose membership is decided (informally, I assume) by existing members).
Anyway, I hope you enjoy.
Nice to see you got a blog!
ReplyDeleteGood luck on the videos, I like them alot!
Kyrandia!!! Great MT-32 Soundtrack!
ReplyDelete@Anonymous: Um, okay, but you're commenting on the wrong post. I didn't even mention Kyrandia here. But noted anyway.
ReplyDeleteSorry, my fault! *shame*
ReplyDelete