R128Scan [obsolete], Now implemented by bundled foo_rgscan |
![]() ![]() |
R128Scan [obsolete], Now implemented by bundled foo_rgscan |
Jan 27 2011, 23:31
Post
#26
|
|
![]() Group: Members Posts: 1235 Joined: 6-March 04 From: Sweden Member No.: 12509 |
Test with 15 tracks:
ReplayGain per-file: 400x (95%+ CPU). ReplayGain albums by tags: 407xx (95%+ CPU). R128 per-file: 481x (95%+ CPU). R128 albums by tags: 133x (25% CPU). Windows 7 Ultimate x64 SP1. foobar2000 v1.1.2. foo_rgscan 2.0.9. foo_r128scan 1.12. |
|
|
|
Jan 27 2011, 23:34
Post
#27
|
|
![]() Group: Admin Posts: 4218 Joined: 15-December 02 Member No.: 4082 |
Are you sure the albums are being split by tags properly? One way to tell if it's scanning multiple threads at once is to observe how many file names are in the status window. It lists every file currently being scanned.
Oh, and foo_r128scan uses pfc::getOptimalWorkerThreadCountEx(), which calculates the number of threads to execute from the processor affinity mask. Have you set that to a single core, for some reason? Wait, blah, never mind, if that were the problem, your track scan task wouldn't be threading. |
|
|
|
Jan 27 2011, 23:41
Post
#28
|
|
![]() Group: Members Posts: 1235 Joined: 6-March 04 From: Sweden Member No.: 12509 |
It's only one album, same tags for %album%.
Grouping pattern on both scanners: %album% | %date%. Works fine with ReplayGain, and always has. Thanks. |
|
|
|
Jan 27 2011, 23:46
Post
#29
|
|
![]() Group: Members Posts: 95 Joined: 22-December 09 From: nicyoume Member No.: 76223 |
Woo,Thanks a lots for foo_r128norm
That makes me free as you say that really smart head you have This post has been edited by Nowings69: Jan 27 2011, 23:57 |
|
|
|
Jan 27 2011, 23:54
Post
#30
|
|
![]() Group: Developer Posts: 224 Joined: 14-September 04 Member No.: 17002 |
I'm thinking of new functions for the library:
CODE double ebur128_loudness_global_multiple(ebur128_state* sts, size_t size); You could make one state for each track in parallel and get the result at the end. CODE int ebur128_change_parameters(ebur128_state* st, int channels, int samplerate); To handle files with different channels / samplerates. CODE /* Set channel "channel_number" to value, where value is from the "channels" * enum. */ int ebur128_set_channel(ebur128_state* st, int channel_number, int value); To make channel setup easier. Comments? |
|
|
|
Jan 28 2011, 00:53
Post
#31
|
|
![]() Group: Admin Posts: 4218 Joined: 15-December 02 Member No.: 4082 |
Parallelizing multiple tracks in a single album? Yes, that would be necessary to optimize album scanning for multiple threads. Of course, then it will also complicate my scanner.
Also, I currently handle sample rate changes by resampling, although I give up completely on channel count/type changes. |
|
|
|
Jan 28 2011, 03:13
Post
#32
|
|
|
Group: Members Posts: 964 Joined: 10-June 06 Member No.: 31716 |
I've just applied R128 on my entire library and I must say it works way better than the original algorithm in ReplayGain, my harp and piano albums do not feel louder as before. The end result has a much better linearity of volume between all genres I listen to. Thank kode54 for bringing this to foobar2000, and thank anyone related in the creation of R128.
|
|
|
|
Jan 28 2011, 05:17
Post
#33
|
|
![]() Group: Members Posts: 217 Joined: 11-May 03 From: China Member No.: 6546 |
If you have an album with some tracks RG'd and some not, this scanner always says all tracks have RG values.
Not a huge thing as this only takes a mouse click, but it is incorrect. How do you get some tracks tagged and some untagged? Never edit tags while distracted... |
|
|
|
Jan 28 2011, 06:50
Post
#34
|
|
![]() Group: Admin Posts: 4218 Joined: 15-December 02 Member No.: 4082 |
Fixed to behave like foo_rgscan. Also, I implemented that function:
CODE double ebur128_gated_loudness_global_multiple(ebur128_state** sts, size_t size);
|
|
|
|
Jan 28 2011, 10:51
Post
#35
|
|
![]() Group: Members Posts: 1235 Joined: 6-March 04 From: Sweden Member No.: 12509 |
It works perfect now.
Thank you! |
|
|
|
Jan 28 2011, 12:20
Post
#36
|
|
![]() Group: Developer Posts: 224 Joined: 14-September 04 Member No.: 17002 |
I've uploaded version 0.1.9 of libebur128.
I merged kode54's ebur128_loudness_global_multiple and adjusted it so that it can process states of different samplerates. |
|
|
|
Jan 28 2011, 16:32
Post
#37
|
|
![]() Group: Members Posts: 115 Joined: 23-August 08 From: Berlin Member No.: 57417 |
Can someone please inform me about the advantages of these new R128 methods/components?
I gave it a try and it seems to allow for gain processing in sections!? For me it sounded a little bit unnatural/inbalanced as some elements were boosted alot while in quiet parts and suddenly almost disappeared when the song became louder overall. |
|
|
|
Jan 28 2011, 18:22
Post
#38
|
|
|
Group: Members Posts: 964 Joined: 10-June 06 Member No.: 31716 |
Are you sure you're using this component and not R128Norm which suppose to do what you described?
|
|
|
|
Jan 29 2011, 04:03
Post
#39
|
|
![]() Group: Admin Posts: 4218 Joined: 15-December 02 Member No.: 4082 |
Updated. Due to how the scanner now handles sample rate and channel changes, results may differ from before. Also, when "true" peak scanning mode is enabled, the upsampled results are no longer fed through the R128 scanner, since it supports variable sample rates and sample rate changes on its own now.
|
|
|
|
Jan 29 2011, 04:42
Post
#40
|
|
![]() Group: Members Posts: 607 Joined: 16-January 09 Member No.: 65630 |
Updated. Due to how the scanner now handles sample rate and channel changes, results may differ from before. Which results? I started with processing my files slowly, and just finished with first 1K from planned 10K files which I'll report here or on portal with RG to R128 comparison So, am I early? Are any changes planned that may affect values in future that may make my log useless? Thanks kode54 -------------------- Scripts (mainly foobar2000 related): http://goo.gl/yje3h
|
|
|
|
Jan 29 2011, 17:28
Post
#41
|
|
![]() Group: Admin Posts: 4218 Joined: 15-December 02 Member No.: 4082 |
Well, any albums with mixed sample rates will differ from before, due to the previous version resampling, while this one simply reconfigures the scanner library.
Also, "true" peak mode will always differ, since before it would feed the upsampled audio through the scanner, while now it feeds it as-is, since it can reconfigure it if the audio format changes during the scan. The difference is likely to be less than 0.5 dB, though. |
|
|
|
Jan 29 2011, 20:07
Post
#42
|
|
![]() Group: Members Posts: 217 Joined: 11-May 03 From: China Member No.: 6546 |
Using 1.15, if I choose 3-4 albums and select Scan selection by album (using tags) foobar crashes somewhere around the 3rd album.
If I choose the same albums one by one and use the same scan, no crash. |
|
|
|
Jan 29 2011, 23:10
Post
#43
|
|
|
Group: Members Posts: 228 Joined: 11-December 09 Member No.: 75848 |
I can confirm the same problem that GHammer is experiencing.
|
|
|
|
Jan 30 2011, 06:38
Post
#44
|
|
![]() Group: Admin Posts: 4218 Joined: 15-December 02 Member No.: 4082 |
Sorry, I just updated to 1.16, could you try to reproduce those crashes again? I didn't think to scan the crash report database for different crashes from the one I just fixed before rolling out another release.
Also, this problem seems to only affect machines with four threads running at once. I'll have to fire up my laptop and see if I can reproduce it myself, although it's only dual core with HyperThreading, not a true quad core processor. |
|
|
|
Jan 30 2011, 07:20
Post
#45
|
|
![]() Group: Members (Donating) Posts: 73 Joined: 20-July 02 From: Foster City, CA Member No.: 2685 |
kode54, I want to thank you for this wonderful plugin. I do have a feature request at the risk of sounding like a heretic however. Would you consider adding a toggle, just like you do for "true" peak, that would allow switching to -23 - LUFS from -18 - LUFS if its not too much trouble? I would really appreciate it but would understand if the request is beyond the scope of your project.
|
|
|
|
Jan 30 2011, 07:37
Post
#46
|
|
![]() Group: Admin Posts: 4218 Joined: 15-December 02 Member No.: 4082 |
Updated. I'll add a reference level configuration option to the next version, although I think it's kind of a pain to deal with something like that, since the way I tag files, there's no way to detect if I scanned them with a different level and force the new level.
|
|
|
|
Jan 30 2011, 08:43
Post
#47
|
|
![]() Group: Members Posts: 217 Joined: 11-May 03 From: China Member No.: 6546 |
Sorry, I just updated to 1.16, could you try to reproduce those crashes again? I didn't think to scan the crash report database for different crashes from the one I just fixed before rolling out another release. Also, this problem seems to only affect machines with four threads running at once. I'll have to fire up my laptop and see if I can reproduce it myself, although it's only dual core with HyperThreading, not a true quad core processor. Using 1.17, the crash is corrected on my machine. i5 CPU, Win 7 x64. |
|
|
|
Jan 30 2011, 08:47
Post
#48
|
|
![]() Group: Admin Posts: 4218 Joined: 15-December 02 Member No.: 4082 |
Yeah, a future version will support reporting which tracks failed to scan, so you can see where the errors are occurring.
|
|
|
|
Jan 30 2011, 10:32
Post
#49
|
|
![]() Group: Members Posts: 1078 Joined: 16-April 04 From: Bavaria, Germany Member No.: 13548 |
Thanks for this component
I made some tests with it now and albums from one artist (or within a genre/style) are more balanced in loudness as with ReplayGain. Newer albums with heavy dynamic compression doesn't sound louder anymore than older albums without dynamic compression. Love it But unfortunately albums from different genres/styles still differs from each other. So Enya is "crying" her voice in my ears while AC/DC seem to whisper - compared with Enya, if you know what I mean... So I still need to lower the "Enya results" at about 4dB manually to make them as "quiet" as the others, like I did with ReplayGain in the past. So my question is: Could it be possible to add two or three presets, where the user could select the preset an album should be scanned with? I guess this is what spies suggested already as he asked for a switch to toggle between -23 and -18 LUFS. To not annoy other users who don't need this "feature" an option in the advanced preferences could enable/disable the presets and only when it is enabled a window pops up where the user will be asked for "scan with preset 1/scan with preset 2..." before the album will be scanned. I know it may be a sassy feature request and it isn't a really big effort for the user to fit the result manually after the scan if needed, but this is a feature I already missed while using ReplayGain... Thanks tedgo |
|
|
|
Jan 30 2011, 17:52
Post
#50
|
|
![]() Group: Super Moderator Posts: 3267 Joined: 26-July 02 From: princegeorge.ca Member No.: 2796 |
Just move the RG preamp down to -5dB.
-------------------- (atrix|(fb2k->e-mu 0404 usb|audio 8 dj))->hd280|jvc ha-fx35-b
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 12:05 |