Author Topic: Sorry, I'm new but. How do you remove instruments in a midi?  (Read 2644 times)

Offline DXSnakeEater

  • Shy artist
  • Posts: 2
Sorry, I'm new but. How do you remove instruments in a midi?
« on: February 27, 2010, 21:01:53 »
Because I'm using IMF Creator to create songs for Wolfenstein 3D, and they become too long because there's too many unused instruments.

Details: I'm using premade midis to make IMF files, but it turns out they're too long, and I need to remove the unneeded instruments.
Modplug dominates all trackers

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,507
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Sorry, I'm new but. How do you remove instruments in a midi?
« Reply #1 on: February 27, 2010, 21:29:47 »
MIDI files don't contain instrument data. IMF files, however, probably contain Adlib patches. You can only make those smaller by acutally using less instruments. I assume you're using modplug for creating those midi files, so all you'd have to do then is using less instruments in MIDI export. But ModPlug is not exactly the swiss knife of MIDI, so you don't have many possibilites to creater smaller MIDI files in it.
Checking the IMF specs, it doesn't look like there's some arbitrary file size limit for IMF files, though.
» 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.

Offline DXSnakeEater

  • Shy artist
  • Posts: 2
Sorry, I'm new but. How do you remove instruments in a midi?
« Reply #2 on: February 27, 2010, 21:46:40 »
Yeah, but I wonder: "What does remove instruments from midis?"
Modplug dominates all trackers

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,507
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Sorry, I'm new but. How do you remove instruments in a midi?
« Reply #3 on: February 27, 2010, 21:55:33 »
using less different instruments? I can imagine that you can just use 9 instruments in a IMF file because the OPL2 chip has only 9 voices. But I don't know how voices are assigned when converting from MID to IMF, so I cannot tell. I have never modded those games myself.
» 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.