[SOLVED] normalize flac with /n /nsit

Bug reports go here.
jffortin
Posts: 15
Joined: Wed Jan 20, 2021 10:57 pm

[SOLVED] normalize flac with /n /nsit

Post by jffortin »

The option to save normalization inside tag does not seem to work with existing flac file
I already have thousand of flac files tags and now comes the time to normalize.
I'd like to preserve everything already in place, filename, tagging /pt etc..

I did a powershell that works fine with switch /nsaa but /nsit re-convert the file but at the same level

options ($file is a variable that contains file full path & name)
-i $File /fileexists 2 /createinsrc /dest flac /b 16 /sr 44100 /compression 5 /pt /n /nsit

Also, being here.
is there a way to only apply normalize with /nsit without having to re-convert the file ?
avoiding these switch would be nice ( /fileexists 2 /createinsrc /dest flac /b 16 /sr 44100 /compression 5 )
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: normalize flac with /n /nsit

Post by admin »

Here's the update to try https://xrecode.com/test/setup_xrecode3 ... e_1.110.7z
Now, when /nsit is used and no /dest is specified, normalization info will the saved in tags and no transcoding will be performed.
You also don't need to specify /fileexists and /createinsrc parameters

e.g.

-i $File /pt /n /nsit
jffortin
Posts: 15
Joined: Wed Jan 20, 2021 10:57 pm

Re: normalize flac with /n /nsit

Post by jffortin »

Hello

I just tried and it does not seems to work
I used: -i "$Folder\*.flac" /pt /n /na /nafa /nsit /nebl "-260"

Agressive value to lower gain so it's easier to tell right away if changed was applied..
I use Tracktor Pro 3 to read the .flac file...
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: normalize flac with /n /nsit

Post by admin »

I don't quite understand what's not working. Could you, please, explain a bit more?
jffortin
Posts: 15
Joined: Wed Jan 20, 2021 10:57 pm

Re: normalize flac with /n /nsit

Post by jffortin »

this string works great:
-i "$Folder\*.flac" /fileexists 2 /createinsrc /dest flac /b 16 /sr 44100 /compression 4 /pt /n /na /nafa /nsaa /nebl "-240"

But this one does not apply gain changed to ID Tag in flac file:
-i "$Folder\*.flac" /n /na /nafa /ns /nebl "-240"
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: normalize flac with /n /nsit

Post by admin »

When no /dest is specified the information is only saved in tags.
And it is not possible to apply the Normalization to audio without re-converting the file.
jffortin
Posts: 15
Joined: Wed Jan 20, 2021 10:57 pm

Re: normalize flac with /n /nsit

Post by jffortin »

Hello

I understand what you said but even if there's no /dest , the new gain value specified by /nebl "-240" is not written in IDTag
I would prefer the option to write in IDTag rather than having to re-convert all files with /nsaa option (this option works fine btw)

Being a DJ for 25 years, i converted all my CD Collection to Flac and have more than 300 000 songs...
What i would like to achieve is "normalized" using EBUR128 which is close to Broadcast standard but level at -20 LUFS instead of default -18
having many "live" cd, the Album Mode normalization is also required, so i came out with these options:
For test purpose, i set the gain to -24 LUFS...
-i "$Folder\*.flac" /n /na /nafa /ns /nebl "-240"

But this is not working, the flac file remains at original level, so i presume that the new gain level is not written to IDTag
Regards

JF
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: normalize flac with /n /nsit

Post by admin »

OK, I see. Could you, please, send one of such .flac files to xrecode@gmail.com (you could use https://wetransfer.com if it's too big)?.
jffortin
Posts: 15
Joined: Wed Jan 20, 2021 10:57 pm

Re: normalize flac with /n /nsit

Post by jffortin »

i sent a small file to wetransfer
Thanks
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: normalize flac with /n /nsit

Post by admin »

I checked the file and the information was, indeed, missing from the file.

When I processed it with this command line

Code: Select all

/n /na /nafa /ns /nebl "-240"
it didn't work.

But when I added /nsit, it worked for me, e.g.

Code: Select all

/n /na /nsit /nafa /nebl "-240"
Also /ns is not use by the program, so it can be removed.
Post Reply