MSU-1 re-normalization (lower pcm volume)

Go down

MSU-1 re-normalization (lower pcm volume) Empty MSU-1 re-normalization (lower pcm volume)

Post by Conn on Mon 2 Mar 2020 - 4:23

This script was made by Insidious611 to lower the volume in pcm sets. Some people complain that some pcm sets are too loud like happened in Star Fox, Zelda. So if you experience it is too loud you can run this script to adjust it to your satisfaction volume level.


Exe file:
Code:
https://drive.google.com/file/d/1eaTfdctDij-BD2s6mrBVt8SqHpeRE9m4/view?usp=sharing
This should not require any further installations, just run the exe file in windows. You are prompted to enter a normalization level, the closer to 0 you set the value, the louder the output files will be. So -18 dBFS is louder than -21 dBFS.
Place the MSU PCM files to be renormalized in the "In" folder, run "Run_Me.exe", and the renormalized files will be in the "Out" folder when it finishes.

Python Source:
Needed only if you want to alter the code, the exe file above works without python installed.
Code:

https://mega.nz/#!TA4z0AzD!Bf4u6C78JVn_vPy4UAKp69bZ9_OwFIK7AyNYKAyTMRY
Note to the python source:
To use it, you need Python installed:
https://www.python.org/downloads/
When running the installer, there's an option to "Install to PATH", make sure that's checked (this will let you run python scripts directly in Windows, without having to open a Python interface and working in a CMD prompt).
There are 2 scripts, "Run_Me.py" and "msu_normalize.py" The only one you should ever touch is "Run_Me.py".
It's default dB level is -18 dBFS, the line to change the normalization level is near the top in "Run_Me.py", and clearly marked.
Place the MSU PCM files to be renormalized in the "In" folder, run "Run_Me.py", and the renormalized files will be in the "Out" folder when it finishes.


Last edited by Conn on Mon 16 Mar 2020 - 14:06; edited 8 times in total
Conn
Conn

MSU-1 re-normalization (lower pcm volume) Image212

Since : 2013-06-30

Back to top Go down

MSU-1 re-normalization (lower pcm volume) Empty Re: MSU-1 re-normalization (lower pcm volume)

Post by edale on Mon 2 Mar 2020 - 5:25

The script will batch-renormalize MSU-1 PCM tracks using RMS normalization, while preserving the loop points.

Most SNES games will want the normalization to be at either -18 or -21 dBFS, but some games require a different value, or different normalization levels for different tracks.

When adjusting the normalization level, the goal is to match the volume of the game's SFX, so when an SFX happens (such as the chime from moving your cursor on the menu in an RPG, or the blast from an explosion in a shooter) you can clearly hear it over the music, while at the same time having the SFX not overwhelm the music.

This is the line to adjust if you need to change the normalization level:
Code:
# RMS normalization value (in dBFS)
dbfs_level = -18
The closer to 0 you set the value, the louder it'll be. So -18 dBFS is louder than -21 dBFS.


Last edited by edale on Fri 6 Mar 2020 - 0:14; edited 1 time in total

edale

MSU-1 re-normalization (lower pcm volume) Image110

Since : 2017-10-03

Back to top Go down

MSU-1 re-normalization (lower pcm volume) Empty Re: MSU-1 re-normalization (lower pcm volume)

Post by JUD6MENT on Thu 5 Mar 2020 - 10:15

This is a nice tool, thank you
JUD6MENT
JUD6MENT

MSU-1 re-normalization (lower pcm volume) Image110

Since : 2018-04-19

Back to top Go down

MSU-1 re-normalization (lower pcm volume) Empty Re: MSU-1 re-normalization (lower pcm volume)

Post by Conn on Thu 5 Mar 2020 - 19:27

I converted it into an exe file. When executing, it will ask you for the db to normalize into (just type e.g., -18). Can anybody test it whether it indeed works?

https://drive.google.com/file/d/1eaTfdctDij-BD2s6mrBVt8SqHpeRE9m4/view?usp=sharing
Conn
Conn

MSU-1 re-normalization (lower pcm volume) Image212

Since : 2013-06-30

Back to top Go down

MSU-1 re-normalization (lower pcm volume) Empty Re: MSU-1 re-normalization (lower pcm volume)

Post by edale on Thu 5 Mar 2020 - 20:37

Seems to work fine. Does the exe compiling remove the need for Python to be installed on the end-user's computer?

edale

MSU-1 re-normalization (lower pcm volume) Image110

Since : 2017-10-03

Back to top Go down

MSU-1 re-normalization (lower pcm volume) Empty Re: MSU-1 re-normalization (lower pcm volume)

Post by Conn on Fri 6 Mar 2020 - 4:46

Nice Very Happy I never dealt much with python, though it is an easy language.
I used pyinstaller to create the exe file, according to the manual it is not needed to have a python distribution installed to run the exe. All needed interpreters are stored into that exe file (therefore the exe file size is about 6MB for that small script):
https://pyinstaller.readthedocs.io/en/stable/

However, since I have python on my computer, I cannot test that Wink If anybody here without having python installed, please test Smile
Conn
Conn

MSU-1 re-normalization (lower pcm volume) Image212

Since : 2013-06-30

Back to top Go down

MSU-1 re-normalization (lower pcm volume) Empty Re: MSU-1 re-normalization (lower pcm volume)

Post by RedScorpion on Fri 6 Mar 2020 - 5:33

Tried without installed python. Works well! Thanks
RedScorpion
RedScorpion

MSU-1 re-normalization (lower pcm volume) Image111

Since : 2013-04-28

http://www.snes-projects.de

Back to top Go down

MSU-1 re-normalization (lower pcm volume) Empty Re: MSU-1 re-normalization (lower pcm volume)

Post by stevefox1620 on Thu 9 Apr 2020 - 14:28

Thanks. Super Ghouls and Ghosts has needed this since day 1. Now it's perfect.

stevefox1620
Bee
Bee

Since : 2018-04-16

Back to top Go down

MSU-1 re-normalization (lower pcm volume) Empty Re: MSU-1 re-normalization (lower pcm volume)

Post by JUD6MENT on Tue 16 Jun 2020 - 6:09

After adding character voices and a few new tracks for Luigi, I used this to convert my Super Mario World native PCMs to be Super Mario World plus PCMs since the volume levels are different between the patches. HUGE THANKS to the creator of this tool! It saved me a ridiculous amount of time.
JUD6MENT
JUD6MENT

MSU-1 re-normalization (lower pcm volume) Image110

Since : 2018-04-19

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum