ModPlug Central

OpenMPT => Help and Questions => Topic started by: Rakib on June 10, 2009, 07:59:18

Title: The extended offset
Post by: Rakib on June 10, 2009, 07:59:18
Not sure if this fits here or under the technical documents, but how to use it?
Title: Re: The extended offset
Post by: LPChip on June 10, 2009, 10:16:35
Quote from: "Rakib"Not sure if this fits here or under the technical documents, but how to use it?

It fits under the technical documents, but you cannot post there X) A mod will move it there once its answered and thus has become a technical document.

I do think that this question has been answered already somewhere though.
Title: The extended offset
Post by: Saga Musix on June 10, 2009, 11:31:30
I wonder if you mean SAx or the #xx command... The latter has been described in the release notes for OpenMPT RC1.
Title: The extended offset
Post by: Rakib on June 10, 2009, 12:08:03
SAx commands
Title: The extended offset
Post by: Saga Musix on June 10, 2009, 14:17:42
well that's REALLY simple.

If you have SAx and Oyz, then you will get...

Offset = 65536 * x + 256 * yz.

This command works per channel. You will have to write SAx before Oxx to get it working, for example...


O20
O40
O60
SA1
O20


would create the three offsets 20h, 40h and 120h. Multiply it by 100h and you will have your offset in samples.
Title: The extended offset
Post by: Sam_Zen on June 11, 2009, 00:30:57
I support this to be in the tech doc forum. If so I will wipe this post.
Title: The extended offset
Post by: Saga Musix on June 11, 2009, 09:05:06
I think the note properties dialog needs a better description here anyway...
Title: The extended offset
Post by: Rakib on June 11, 2009, 21:48:28
Thanks a lot.

It was quite easy to use. Noticed it first when I saw a sample I was using that had beyond offset range.

But to continue in the same pattern, what is the #xx-command or how does this it work?
Title: The extended offset
Post by: Saga Musix on June 11, 2009, 22:21:33
http://modplug.svn.sourceforge.net/viewvc/modplug/branches/1.17.02.53x/packageTemplate/OMPT_1.17RC1_ReleaseNotes.html?revision=266
look for "Parameter extension pattern effect".