Author Topic: Nintendo 64: Import MID sequence in a MOD project  (Read 761 times)

Offline manuhoz

  • Shy artist
  • Posts: 2
Nintendo 64: Import MID sequence in a MOD project
« on: January 10, 2021, 10:53:17 »
Hi everyone,
I want to compose music for Indie Nintendo 64 video games.
The developper team I'm working with, need to feed .mod to their compiler to generate the ROM.
I do have many .MID compos with many channels (12 in average)
I've created over the years for that purpose and I basically want to turn them into .MOD

I've spent sometime on the forum and understand there is no such thing as a magic convertor.
But I assume I could create a MOD project, at least import the sequences from my .MID source file as they look very similar.
I understand it would require manual timing adjustments, applying different instruments to my tracks, that I'm not afraid of.

So how to achieve this MID sequence import into my MOD project ?
And if OpenMPT won't provide this feature, would you know any git project that provides a sequence extraction in an incomplete .mod file I can open in openMPT ?


Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,316
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Re: Nintendo 64: Import MID sequence in a MOD project
« Reply #1 on: January 10, 2021, 11:29:03 »
MIDI files are imported into OpenMPT's own MPTM format, but through the Song Properties dialog you can convert the file to MOD format. However, as the MOD format is the least capable of all supported formats, you will have to keep in mind that this is a lossy conversion:
- Pitch slides will be inaccurate after conversion and need manual fixing
- Notes cannot overlap on the same channel (so there will be a hard cut if two notes follow each other immediately)
- If you use master volume, channel volume, etc., those will be lost in the MOD format
- It is advisable to replace the default imported MIDI instruments with single-sample instruments before conversion, because the MOD format does not support multi-sampled instruments. OpenMPT resolves all multisamples in the pattern data during conversion, which will make it more complicated to edit the MOD file afterwards. So if there are no multi-sampled instruments to begin with, the cleanup process afterwards will be simpler.

Note that you can also simply copy&paste between different songs in OpenMPT, so you can also create an empty MOD file, and copy the imported MIDI data from the MPTM file into it.
ยป No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.