ModPlug Central

OpenMPT => Help and Questions => Topic started by: Sam_Zen on December 20, 2007, 05:49:34

Title: Format conversions
Post by: Sam_Zen on December 20, 2007, 05:49:34
If e.g. a MOD file is opened in OMPT, one can change the format with General/Song Properties, and save it like that.
So one has to assume that all codes are properly translated in the patterns. And I think it does.
Other elements could behave differently.
If starting with a 4Ch MOD file :
This format has a standard channel panning of each group of four : L-R-R-L, or as initial pan : 64-192-192-64.
(of course overruling panning codes of the samples are possible in the patterns)

But now saving as XM file :
Direct after changing Song Properties, it plays correctly, but if saved and opened, all initial pans are 128 again.
Since there's no global pan value of a sample in a MOD, it can't be transferred to the related instrument pan-setting.
So the XM will be all mono, without further editing.

Saving the MOD as IT file :
Seems correct. IT keeps the initial pan : 64-192-192-64. And sounds the same.
Title: Format conversions
Post by: LPChip on December 20, 2007, 11:11:47
What happens if you open the MOD file and save as IT to maintain the panning, then close OpenMPT, open it and load the IT file to convert as XM, does it then transfer the pannings? Because perhaps this is a limitation of the XM format.
Title: Format conversions
Post by: Saga Musix on December 20, 2007, 16:15:56
Easy answer: There is no channel panning in XM files. Every single XM sample has its own panning setting which may be overriden ONLY by panning effects in the volume / fx column.
Title: Format conversions
Post by: älskling on December 20, 2007, 21:18:39
Is this a question or just a random statement?
Title: Format conversions
Post by: Saga Musix on December 20, 2007, 21:47:39
i guess it was a question concerning the XM part.
Title: Format conversions
Post by: Sam_Zen on December 21, 2007, 00:27:25
Neither a question or a statement from my part.
As a matter of fact, I had my doubts whether I should place this thread here, or in the techdocs.
I just wanted to investigate this, with all the various combinations involved.
And, if any dips in the conversion, how to solve it.

Quote from: "LPChip"load the IT file to convert as XM, does it then transfer the pannings?
IT does transfer the initial channel pannings to XM too, but also only during the same session.
(It's enough to close and open the file, OMPT can stay on)
This is an odd thing with XM. One can use those faders, but cannot save the settings.
But that's why they're not greyed out.
Title: Format conversions
Post by: Saga Musix on December 21, 2007, 09:29:52
As said, the answer is so simple: XM does not have panning settings since every instrument has its own panning. Panning tables should be greyed out for XM files since they simply do not exist.
Title: Format conversions
Post by: Sam_Zen on December 21, 2007, 23:40:06
I agree about greying out.

I wrote "One can use those faders" during a session, but that's only valid after a MOD 2 XM conversion.
With a regular XM, the instruments have their pan-settings, and changing those faders don't have influence on this.