pouët.net

Go to bottom

mod2wavs: tool to help ProTracker MOD remixing

category: music [glöplog]
 
I made this rather obscure command-line tool for myself, but I thought it might be useful for someone else as well. The tool takes a ProTracker module (or a multi-channel derivative like 6CHN, 8CHN, 10CH, 12CH, etc.) and produces a 16bit mono WAV file that has a given sample soloed. Soloing is done by replacing all other samples' data with silence. Load the tracks into a multitrack program for editing and grouping.

Usage: You need to provide as command line parameters: the module file, sample number (1..31 or 0 if you don't want to solo anything), length of playback in seconds, wav file name.
http://www.kameli.net/~yzi/mod2wavs_win_013.zip

You naturally want to create one file for each sample in the module, so run the program with a script. For Windows there's modtowavs.bat, and for others you can try to find inspiration in script.txt.

Read the readme.txt.

I tested this in Windows 7 64 bit, Linux/x86 and Mac OS X 10.6.8. Precompiled Windows exe is in the zip file, but for Linux and Mac you must compile it yourself. Compile with "make clean ; make". Windows version was compiled with MINGW32 something.

Thanks to Marq for the wav writing code.

Using the tool looks like this in Windows, so if this looks too scary, you might want to do it the manual way, which you can do just as well with a tracker program.
BB Image
added on the 2013-03-04 22:43:34 by yzi yzi
Doesn't XMPlay have a checkbox for this in there somewhere?
added on the 2013-03-04 22:52:04 by Gargaj Gargaj
I didn't find one. And at this point I don't care either. I got my need solved and this works on Mac.
added on the 2013-03-04 23:07:22 by yzi yzi
Just by reading the XMPlay documentation it's a bit hard to say if it just extracts the samples or records the module with each instrument active one by one (like this tool). If the latter is the case, then it indeed does the same, but Yzi's tool could at least be of use for non-Windows users.
added on the 2013-03-04 23:11:25 by Marq Marq
Oh well. I did try to find such a feature in xmplay, though that was some years ago.
added on the 2013-03-04 23:13:44 by yzi yzi
OpenMPT has it too. And many other trackers probably too. ;)
Please

- TFMX 2 MIDI
- DV 2 MIDI
- MKII 2 MIDI

etc etc...

thx
added on the 2013-03-04 23:17:34 by .. ..
DW i mean
added on the 2013-03-05 00:57:50 by .. ..
I remember Krav/INF wrote such a tool for me back in 97 or something so that I could remaster a Jugi track (yes, that one :))
added on the 2013-03-05 09:50:54 by gloom gloom
OMG? really? that's dope!
I KNOW! Totally wicked!
added on the 2013-03-05 20:10:17 by gloom gloom
so rad. sunshine and rainbros
added on the 2013-03-05 20:54:36 by ferris ferris

login

Go to top