MIDI Converter Runs On Emulator

Gocha, who is one of the coder of TASVideos, has made a few of emu2midi EmuLua scripts. These scripts can run on a rerecording emulator.

At present, the following scripts are available.

エミュレータ上で動く xxx2midi 的なものがありますよという話題です。

How To Install

  1. Install an emulator that can run the Lua script. (see above for the download link)
    1. Verify that lua51.dll is included in the emulator package. If not, try installing Lua for Windows and put lua51.dll and lua5.1.dll into the emulator's directory.
  2. Download emu2midi.lua and xxx2midi.lua (what converter you want to use, nes2midi.lua for instance), and put them into the same directory.

How To Use

  1. Start the emulator
  2. Start the game, then pause it when it reaches the point that you want to start MIDI recording.
  3. Open xxx2midi.lua. This can be done by dropping the script to the window, or selecting a file from menu.
  4. Unpause the game, then stop the script when you want to stop recording. (you can use fast-forward during the recording)
  5. MIDI file should be saved in the directory where xxx2midi.lua exists. Congratulations.

Pros, Cons, Tips

  • Pros: it is open-source, you can modify the conversion logic if you want, without any special tools.
    • Some built-in conversion options are available in the upper part of the script. These might be useful when you want to improve note on/off detection quality.
  • Pros: it can handle games whose sound is not ripped yet.
  • Pros: it has FlMML conversion, FlMML is a MML engine used at dic.nicovideo.jp. ピコカキコ出力ができます。
  • Cons: it might not be able to open ripped sound format (it depends on emulator). However, you might able to use something like GBS2GB.
  • Cons: it will take a time when you want to convert all songs in the game.
  • Cons: the conversion is frame-based, some SFXs might sound poorly because it lacks the resolution.