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: the MOD format and the instrument envelopes  (Read 6549 times)

0 Members and 1 Guest are viewing this topic.

YuGiOhJCJ

  • New User
  • Offline Offline
  • Posts: 17
    • View Profile
    • YuGiOhJCJ
the MOD format and the instrument envelopes
« on: July 04, 2012, 12:11:49 »

Hello,

I use the old school MOD format (not the XM) for compatibility reasons.
I see a lot of features are disabled with this format (for example, the volume column can't be used).

Also, the instrument envelopes can't be used.
So, I use the Cxx effect to decrease the volume progressively.
Example :
Code: [Select]
C-5 .1 .. ..
... .. .. ..
... .. .. ..
... .. .. ..
... .. .. C30
... .. .. C20
... .. .. C10
... .. .. C00
But I must add this effect each time I play a note and maybe there is a better way to handle this.

Do you know a better way to decrease progressively the volume of a note without using instrument envelopes?

Thank you.
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: the MOD format and the instrument envelopes
« Reply #1 on: July 04, 2012, 12:27:50 »

How about the Axy effect?
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

YuGiOhJCJ

  • New User
  • Offline Offline
  • Posts: 17
    • View Profile
    • YuGiOhJCJ
Re: the MOD format and the instrument envelopes
« Reply #2 on: July 04, 2012, 19:21:28 »

In the manual, I read that the main difference between Cxx and Axy is that Cxx set the volume at a specified value whereas Axy slide up/down the volume at a specified speed.

I can do this :

Code: [Select]
C-5 .1 .. ..
... .. .. ..
... .. .. ..
... .. .. ..
... .. .. A02
... .. .. A02
... .. .. A02
... .. .. A02

My speed is 5, so there are 5 ticks by row. Each tick, with the A02 effect, the volume is reduce of 2. So, in a row, I reduce the volume 5*2 = 10.
I try to do the same thing than with my previous Cxx effect. But after these rows, I can again hear the sound. It should be at 0 volume because I apply 4 times the A02 effect (40-(10*4) = 0). Probably I don't understand how to use exactly this effect.

Anyway, with the Axy effect I got the same problem than with the Cxx effect: I must add this effect each time I play a note.

Is it possible to avoid to add this effect each time I play a note without using instrument envelopes?

Thank you.
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: the MOD format and the instrument envelopes
« Reply #3 on: July 05, 2012, 00:40:50 »

Axy is applied on all ticks but the first, so at speed 5, Axy is applied four times, not five. And no, there is absolutely no way to "automate" stuff like this in the MOD format. It is a very basic format so you will have to live with using copy&paste.
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