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: Set panning envelope position?  (Read 6705 times)

0 Members and 1 Guest are viewing this topic.

fuzion_mixer

  • Guest
Set panning envelope position?
« on: August 06, 2017, 02:23:54 »

It'll function like the Lxx command (set volume envelope position)...but affecting the panning envelope. I find it useful when I don't want to cram the effects (or command) column with commands like >x and Pxy. With this command, I am able to free up both columns for effects as well as panning it.

If you need a representation, reply here. I will provide screenshots of what it'll look like
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: Set panning envelope position?
« Reply #1 on: August 06, 2017, 13:22:34 »

I don't think MilkyTracker should invent new effect letters for the XM format that no other tracker supports (this has been done in the past by ModPlug and it was no good idea).
Lxx sets the position of all envelopes, not just the volume envelope. However, due to a typo in Fasttracker 2's code, the panning envelope position is only set if the volume envelope's sustain point is enabled. MilkyTracker currently does not emulate this behaviour so it never sets the panning envelope's position. I can look into submitting a patch for MilkyTracker to fix this behaviour.

Edit: I have whipped something up to make MilkyTracker behave like FT2, still need to test and submit it.
« Last Edit: August 06, 2017, 14:29:18 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

fuzion_mixer

  • Guest
Re: Set panning envelope position?
« Reply #2 on: August 07, 2017, 00:39:58 »

So how should the command be like? I'd like to test it out
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: Set panning envelope position?
« Reply #3 on: August 08, 2017, 00:03:36 »

I'm not sure what you mean - I wrote a patch for MilkyTracker (not in the repository yet) which will make the Lxx command behave like FT2 - meaning that if the sustain point of the volume envelope of your instrument is enabled, it will set the play position of both the volume and panning envelope to xx. If the volume sustain is not enabled, it will only set the volume envelope position as you already know it.
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

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: Set panning envelope position?
« Reply #4 on: August 08, 2017, 18:51:39 »

https://github.com/milkytracker/MilkyTracker/pull/116 Should be available in the next MilkyTracker update.
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