Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: HDCD Decoder (Read 330357 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

HDCD Decoder

Reply #150
And if you just want to mark that some 24bit sound file has its origins in a 16bit HDCD, you can of course write your own tag to it via the tag editor (properties) and access that in your titleformatting string.

HDCD Decoder

Reply #151
When I rip an HDCD track from the CD in WAV format I experienced the following results

- with the 'ENABLE DECODE POSTOPROCESSING' enabled the track ripped lost the hdcd information and when i play or scan i don't detect the hdcd capabilities
- with the 'ENABLE DECODE POSTOPROCESSING' disabled the track is ripped correctly.

Is it right?
Leonardo

HDCD Decoder

Reply #152
Is there a way other then removing the HDCD plug-in to get replaygain values on HDCD tracks to not take into account HDCD?

HDCD Decoder

Reply #153
I may add an option to boost the gain of HDCD decoded material by 6dB, even if that would push peaks of peak extended material up to 1.5. It has come to my attention that there are a number of places where this would be necessary, such as albums where only a few tracks are HDCD encoded, which would possibly throw off the album gain level.


Why not add an option to turn it off when using replaygain or just plain off?


HDCD Decoder

Reply #154
Yes, but then the gain value would be incorrect when playing it with the HDCD decoder enabled, often producing quieter tracks.

HDCD Decoder

Reply #155
@kode54
Will you be adding support for ALAC in the near future?
Surf's Up!
"Columnated Ruins Domino"

HDCD Decoder

Reply #156
I cannot add support for any formats explicitly to the component, the authors of relevant input components must add support themselves.

HDCD Decoder

Reply #157
Thank you for the quick reply. So, it is the foo_input_alac component that needs to be updated?
Surf's Up!
"Columnated Ruins Domino"

HDCD Decoder

Reply #158
Yes, but then the gain value would be incorrect when playing it with the HDCD decoder enabled, often producing quieter tracks.


But the problem is that the HDCD tracks have a much lower volume then the others. So if replaygain didn't take into account HDCD, then everything would match.


HDCD Decoder

Reply #159
Yes, but then the gain value would be incorrect when playing it with the HDCD decoder enabled, often producing quieter tracks.


Wouldn't it be possible to always use the original replaygain value, but to let the HDCD component modify the existing value by 6db when active? That way everybody would be content.

HDCD Decoder

Reply #160
It is possible that the HDCD tracks are quieter because they were scanned without the benefit of a HDCD decoder. You should probably rescan the files.

HDCD Decoder

Reply #161
Yes, but then the gain value would be incorrect when playing it with the HDCD decoder enabled, often producing quieter tracks.


Wouldn't it be possible to always use the original replaygain value, but to let the HDCD component modify the existing value by 6db when active? That way everybody would be content.


Why does HDCD have to be lower as long as it doesn't clip?


HDCD Decoder

Reply #162
Depending on HDCD features enabled, neither the gain nor the peak level calculated without the decoder will be accurate with the decoder. It will usually result in HDCD files being up to 6dB quieter than with the correct ReplayGain values.

It's not always 6dB, either. In fact, it's only 6dB if no HDCD features are enabled. The base HDCD decoding will halve the volume, but peak extension will scale the peak up to maximum, while resulting in a quieter track than without the HDCD decoding. There's also the gain reduction feature, which could also drop the volume of the decoded track by up to 7.5dB.

Anyway, the point is that you need to manually rescan your albums with the HDCD encoder installed for the volume to be adjusted to the correct level. There is no way to predict the correct difference between a non-HDCD gain and a HDCD gain.

HDCD Decoder

Reply #163
Thank you for the plugin!  Will you add an option to perform a deep scan of files and report if Peak extend or Gain is used?  I have at least one boring album that appears to only use the Transient filter, and that's not implemented.  There's no reason for me to transcode these files.  Currently there's no way to be sure unless I play them all in real time and stare at the reported variables.

HDCD Decoder

Reply #164
My previous install of foobar with HDCD v1.5 had a info as far as peak extend used, transient filtering used shown in the bottom left as a track was playing.

Now I installed an SSD harddrive with a new windows install and using foobar v1.1.1 it does list the HDCD info.  I know that the HDCD v1.5 is installed and working as I can tell by the lower volume and VU meter readings with it installed when playing an HDCD rip.

Is there any way to get the HDCD info to list out peak extend (yes/no) transient filter (yes/no) on this new version of Foobar v1.1.1 ?

Edit never mind,  add $if(%__hdcd%,' ('HDCD - pe:%__hdcd_peak_extend% tf:%__hdcd_transient_filter% gain:%__hdcd_gain%')',) to the status bar formating.

HDCD Decoder

Reply #165
I've read this entire thread, but still confused on what I see with my files in Foobar:

- installed latest version of Foobar and HDCD component
- added the 4 HDCD columns in DUI mentioned on the first page of this thread (I'm pretty experienced at adding column info, so I'm pretty sure I did this correctly)
- scanned my FLAC files (all are 16 bits per the displayed collumn I added)
- found several albums that where detected as HDCD

...but the detected albums do not display any data in any of the HDCD columns in DUI.  Did I forget to do something?  If not, what does this mean?  thanks

HDCD Decoder

Reply #166
FWIW, I added the code a two replies above to my status bar in CUI for playback (thanks for the code!).

For tracks on albums for which HDCD was detected by the plugin, for all but two albums I see the following in the status bar:

"(HDCD - pe:yes tf:no gain:0.0dB)"

For just two albums for which HDCD was detected by the scanner, I saw the following on the status bar:

"(HDCD - pe:no tf:no gain:0.0dB)"

For tracks on albums that were not detected as HDCD by the scanner, I don't see any of the text above. 

This tells me something is being detected for all of the albums that were detected by the scanner, but why won't I get at least the %_hdcd% to display something other than a blank, and %hdcd_peak_extend% to display something other than a question mark, using the DUI?  For the HDCD detection column, I use $if(%__hdcd%,HDCD ,) to try to display "HDCD" when detected, per the tip in this thread.

I don't think it matters with respect to the column display, but I have Replaygain processing set to "none", no active DSPs, all FLACs have 44.1k sample rates in addition to being 16 bits deep, and I'm just trying to play back on my PC speakers (playback output device is Primary Sound Driver).

HDCD Decoder

Reply #167
Any HDCD columns, either in DUI or CUI, will only show values while the track is playing.

HDCD Decoder

Reply #168
I did not realize that.  But still no joy using either UI.  I added these info variables to my item properties in CUI, and looked at the songs while playing in both UIs.

Because I had my Output Device set to "primary sound driver", output was fixed at 16 bits for all attempts previous to this sentence (selection to change the bit depth was grey and thus not changeable).  I also just changed output to WASAPI: Speakers..., and then was able to change the output data format to 24 bits.  Is setting output to 24 bits mandatory to see teh info variables as well?  Even if so, still no joy.

HDCD Decoder

Reply #169
Also never have any entry indicating HDCD detection in the console.  No joy on any attempt, and I kept switching manually between tracks on HDCD and non-HDCD albums many times given the previous statement that only the first track of consecutive HDCD tracks within a selection will be show HDCD detection (at least that's what I thought it meant).

The only other thing I can think of is that I'm not playing my PC speakers at max volume, nor will I.  I only have one volume control on my PC for my integrated speakers, and it's the one that the WASAPI output is feeding.  I can't try outputting an HDMI or other digital signal to an external device.

 

HDCD Decoder

Reply #170
It's nice to see 'HDCD detected' in the status windows.


Could someone tell me how to get the words "HDCD detected" to display?  I do know my HDCD tracks are being detected because the "Scan for HDCD Tracks" utility always finds them (which is great). However, my HDCD column (%__hdcd%) just has a "?" regardless of whether the track is HDCD or not. Can anyone help please? Thanks in advance.

EDIT

Sorry, I really should learn to fully read through threads before asking questions like that.  All sorted - great stuff!

HDCD Decoder

Reply #171
It's nice to see 'HDCD detected' in the status windows.


Could someone tell me how to get the words "HDCD detected" to display?  I do know my HDCD tracks are being detected because the "Scan for HDCD Tracks" utility always finds them (which is great). However, my HDCD column (%__hdcd%) just has a "?" regardless of whether the track is HDCD or not. Can anyone help please? Thanks in advance.

EDIT

Sorry, I really should learn to fully read through threads before asking questions like that.  All sorted - great stuff!



For foobar  add $if(%__hdcd%,' ('HDCD - pe:%__hdcd_peak_extend% tf:%__hdcd_transient_filter% gain:%__hdcd_gain%')',) to the status bar formating

HDCD Decoder

Reply #172
If I play a track that has been HDCD decoded on a portable media player with lets say, FLAC support, will it play as if it were a normal 16-bit file or will there be playback problems?

HDCD Decoder

Reply #173
It will play like a normal 16-bit file. Of course, after the decoding and conversion, it will have the correct volume characteristics, in the event that it used either peak extension or gain reduction. If it used neither, then it will just be half as loud as it originally was.

HDCD Decoder

Reply #174
It will play like a normal 16-bit file. Of course, after the decoding and conversion, it will have the correct volume characteristics, in the event that it used either peak extension or gain reduction. If it used neither, then it will just be half as loud as it originally was.


Is there a means to set it to output 20 bit as that is technically correct for an HDCD decoder ?