Need some help with the mod8k and mod4k formats, specifically white noise samples
BotB Academy n00b s0z
 
 
117047
Level 7 Chipist
PC
post #117047 :: 2020.01.16 10:09pm
Hey everyone, I'm very new to all of this and was hoping for some tips and tricks on keeping the filesize down with the mod*k formats.

I've read the format pages for them and am keeping in mind the issues pointed out there, but I am still having some trouble.

For one, I can't seem to get a white noise sample that's long enough to not sound metalic without it being a large .wav file. I've tried reducing the sample rate of it all the way down to 8000hz but a 0.5sec sample is still much larger than 8kb on its own. Are there any compression tricks I could do in a program like Audacity?

Let me know if I'm horribly misunderstanding something about this process, or if there's a tutorial for this kind of thing already out there that I should follow.

Thanks
 
 
117056
Level 30 Chipist
post #117056 :: 2020.01.17 8:59am :: edit 2020.01.17 9:06am
hey!
i saw your post earlier today but was too tired to reply.
but now im awake :D

first of all: the best way to learn something is to look at other peoples work. you can use the browser on this site and sort by score on mod4k and mod8k entries. if you take a look at the module structure and samples of, for example this or this entry, you might get an idea on what works and what not.
it takes some time until you're able to minimize your entry as much as possible, but the best way to start is to use samples from another entry. look at small modules, copypaste the white noise samples and analyze how the entry uses them.

apart from that: munch.py to save more space

edit: oh yeah, i almost forgot. always make sure your samples are mono and 8bit! if not, convert them directly in opnmpt (shift+M) (ctrl+8)
 
 
117057
Level 7 Chipist
PC
post #117057 :: 2020.01.17 11:08am
  
  kleeder liēkd this
I didn't know you could convert them in OpenMPT! I had been doing it in Audacity, but that'll surely save me a lot of time. I'll definitely take a look at those entries and see what I can learn from them.

I'm a little confused on munch.py... I'm very familiar with Python and all that, I'm just misunderstanding how exactly munch.py is meant to be used. Is it the absolute final step before submission? Or would I use it throughout the tracking process?

Thanks so much for the help!
 
 
117059
Level 30 Chipist
post #117059 :: 2020.01.17 1:37pm
munch.py is like the last step before you submit a track. but what i usually do is to convert my module once in a while, when im still working on it, to see how much space the file takes after munching.
but yeah, you work in your unmunched file and use munch.py as the last final step to compress your module c:
 
 

LOGIN or REGISTER to add your own comments!