Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Pages: [1]   Go Down

Author Topic: Surround in .mod?  (Read 3925 times)

0 Members and 1 Guest are viewing this topic.

fuzion_mixer

  • New User
  • Offline Offline
  • Posts: 48
    • View Profile
Surround in .mod?
« on: July 05, 2020, 15:49:49 »

I'm confused as to how this author managed to execute surround pan in this module.

https://modarchive.org/index.php?request=view_by_moduleid&query=32325

Also, there's a command "?91" (as shown in the attachment) that activates the surround when played back on OpenMPT. This could be the S91 command from .it.

Does this mean that there was actually a way to hack panning controls in .mods? That's pretty cool, ngl.
« Last Edit: July 05, 2020, 15:57:48 by fuzion.mixer01 »
Logged

Saga Musix

  • TMA Moderator
  • Top Poster
  • ****
  • Offline Offline
  • Posts: 2571
  • I love OpenMPT! And Modules! And TMA! And Pie! :>
    • View Profile
    • Saga Musix - free module music and more!
Re: Surround in .mod?
« Reply #1 on: July 05, 2020, 19:43:54 »

ModPlug Tracker (and maybe some others but that's rather unlikely) used 7-bit panning with surround command 8A4 for MOD files, much like the X command in the S3M format. However, it was much more common to have 8-bit panning (without surround) in MOD files, like FT2 did it, so OpenMPT uses 8-bit panning these days.
If OpenMPT detects that a MOD file uses 7-bit panning, it will convert it to 8-bit panning on import and converts command 8A4 to its IT/S3M equivalent S91 (but since that command does not exist in MOD files it is shown as a questionmark).

Most players will most likely assume 8-bit panning and not do the same conversion from 7-bit panning as OpenMPT does, so it's not a good idea to rely on this hack.
« Last Edit: July 05, 2020, 19:49:58 by Saga Musix »
Logged
» My TMA artist profile
» Visit my music site: https://sagamusix.de/ [de, en]
» Visit my programming website: https://sagagames.de/ [de]
» Open ModPlug Tracker
Pages: [1]   Go Up