ModPlug Central

OpenMPT => Help and Questions => Topic started by: Magnar on March 21, 2021, 22:35:19

Title: Move or Switch sample positions
Post by: Magnar on March 21, 2021, 22:35:19
Hi,
Say I have a Kickdrum on sample pos 1 in a Protracker-module, and I want to move that sample after the song is composed to the sample pos 15.

Is there an easy way to do that so that all pattern-data content also is updated with the move? So that all previous patterns and channels information will move all use of sample pos 1 to 15?

PS!
The most important thing is not the move of the sampledata itself in this process. The most important thing is that all patterndata is updated with new instrument sample pos information.

Any ideas?
Title: Re: Move or Switch sample positions
Post by: LPChip on March 22, 2021, 08:00:02
So basically you want to replace all sample 1 with sample 15 in the pattern data?

You can simply do a search/replace, set its reach to all channels and all orders, search for sample 1, and replace with sample 15.
Title: Re: Move or Switch sample positions
Post by: Saga Musix on March 22, 2021, 08:31:30
You can drag&drop samples in the Tree View (https://wiki.openmpt.org/Manual:_Tree_View#Song_Folders) on the left hand of the window, which rearranges not just the sample slots but also automatically updates the pattern data.
No need for using Find&Replace as LPChip suggested, but it's a very powerful tool missing in many trackers, so if you aren't familiar with it yet, I suggest to check that out as well.
Title: Re: Move or Switch sample positions
Post by: Magnar on March 24, 2021, 21:54:05
Thnx, I got it to work now in the Tree view. Don't know why I didn't get it to work first time, but now all is good! :)