VOGONS


Falcosoft Soundfont Midi Player + Munt VSTi + BassMidi VSTi

Topic actions

Reply 2500 of 2503, by RetroGC

User metadata
Rank Member
Rank
Member
Falcosoft wrote on 2026-03-10, 14:54:

You should consider loops as a continuous way of the playback of the patterns. That is it's the same as if you copied the patterns where the loop starts to the end of the song. So if the pattern where the loop start does not define its own volume level it inherits the volume settings (and of course others as well) from the previous ones. So if no effort is done to prevent differences it's more likely than not that after a loop the patterns will sound differently (volume, pan etc. differences) since the previous patterns before the looped ones differ. You have to make sure that you insert the volume, pan etc. settings to the beginning of the 1st looped pattern to make sure they have the same values as inherited from the previous patterns at 1st playback time without the loop.

I was thinking the same thing, but this bug doesn’t occur when the loop repeats—maybe right at the start, but actually right in the middle of the loop. You can already see it clearly in the waveform: it’s the central portion that’s messed up. The file was generated with OpenMPT. Problems occur with original UMX too.

My Videogames Music Channel
My Videogames Music Channel Thread

Reply 2501 of 2503, by Falcosoft

User metadata
Rank l33t
Rank
l33t
RetroGC wrote on 2026-03-10, 22:19:

I was thinking the same thing, but this bug doesn’t occur when the loop repeats—maybe right at the start, but actually right in the middle of the loop. You can already see it clearly in the waveform: it’s the central portion that’s messed up. The file was generated with OpenMPT. Problems occur with original UMX too.

I'm not sure that we are talking about the same thing. And I'm also not sure that I'm seeing what you saw 😀
I can only see that the pan/balance of the left/right channels change. At the 1st part the left/right channels are balanced while at the 2nd part the the left channel is quieter while the right channel is louder.
To tell you the truth I do not think I can tell anything more than I have already told above.

Website, Youtube
Falcosoft Soundfont Midi Player + Munt VSTi + BassMidi VSTi
VST Midi Driver Midi Mapper
x86 microarchitecture benchmark (MandelX)

Reply 2503 of 2503, by Falcosoft

User metadata
Rank l33t
Rank
l33t
RetroGC wrote on 2026-03-10, 23:11:

But this behaviour should'nt depend on loop. This is deus ex ost if you want to check files (umx or Impulse tracker).
Aldo

Hi,
The problem with your mod/loop is exactly what I have written above. But before the detailed explanation let's discuss why your wave record is misleading:
Similarly to Midi in case of mod/it files the context of a command is the 'Channel'. A channel can contain multiple different instruments and the same instrument can be placed on different channels. When you made a per-instrument recording you lost this context so it was a mystery for you how sound changed in the middle of a loop. It's because of this:

The attachment diffchannels.jpg is no longer available

That is the 1st part of the record was from different channels than the 2nd part despite the fact that the same instrument can be heard.
Back to the main problem: when you playback your module in OpenMPT you can notice the following Channel Pan value change on Channel 17:

The attachment beforeloop.png is no longer available
The attachment afterloop.png is no longer available

It' because at a later pattern (pattern 7) there is a Channel Pan command that sets the value to 0xAB on Channel 17. So at 1st run the Channel Pan value on Channel 17 is default (0x80) while after the loop it's 0xAB.
The fastest fix is to set the default Channel Pan value explicitly for Channel 17 right at the beginning.

The attachment Area51Bunker_fixed.zip is no longer available

Website, Youtube
Falcosoft Soundfont Midi Player + Munt VSTi + BassMidi VSTi
VST Midi Driver Midi Mapper
x86 microarchitecture benchmark (MandelX)