diff --git a/MOD.md b/MOD.md index 8b314dc..980d283 100644 --- a/MOD.md +++ b/MOD.md @@ -14,12 +14,15 @@ ffmpeg -i input.wav -ar 11025 -ac 1 output.wav ## Adding sound effects (samples) to a mod file -Use [OpenMpt](https://openmpt.org/) to edit an existing mod file or create a new one +Use [OpenMpt](https://openmpt.org/) to edit an existing mod file or create a new one. + +1. Select 'MOD (ProTracker) 4 channels' as file format. +2. In the left panel, double click the sample of your choice to open it. +3. In the right panel, navigate to the 'Samples' tab, then click the folder icon to import a mono, 11025Hz WAV file. +4. After importing your samples, you can save the MOD file and proceed to convert it to HIT. ![OpenMPT Add sample](https://wiki.arthus.net/assets/openmpt_add_samples.gif) -Then save your mod file. - ## MOD > HIT conversion Use `MODCONV.EXE`, available in hitmen's [hit-hitmod15.zip](http://hitmen.c02.at/files/releases/psx/hit-hitmod15.zip), with dosbox. @@ -56,4 +59,4 @@ MOD_PlayNote( voiceID, sampleID, note, volume); MODs use 4 channels, which are mapped to the four first voices of the SPU by default. When calling `MOD_PlayNote()`, you should use voices > 4. -See [here](https://github.com/ABelliqueux/nolibgs_hello_worlds/hello_mod) for a complete example. \ No newline at end of file +See [here](https://github.com/ABelliqueux/nolibgs_hello_worlds/tree/main/hello_mod) for a complete example. \ No newline at end of file