Jump to content

foobar2000:Components/HDCD decoder (foo_hdcd)

From Hydrogenaudio Knowledgebase
Revision as of 00:20, 13 June 2026 by Mjb (talk | contribs) (+ variables and link to HDCD page)
HDCD decoder

foo_hdcd
Developer(s) Christopher Snowhill ( kode54), Case
Repository
Release information
Initial release
Stable release 1.22 (September 8, 2025)
Preview release
foobar2000 compatibility
Architecture Windows 32-bit, Windows 64-bit
Minimum version 1.5
Maximum version
UI module(s) N/A
Additional information
Use Input
License 3-Clause BSD
Discussion thread {{{discussion_thread}}}
View all components

Description

This component automatically decodes HDCD streams contained in several supported lossless containers, including .WAV, .FLAC, .WV, and .TAK. It also supports scanning files for HDCD features in use to report in a list.

Extra info variables

This component makes several info variables available for title formatting scripts.

%__hdcd_peak_extend%
Peak Extend (PE). Will be "yes" or "no".
%__hdcd_gain%
Low-level gain adjustment (LLE). Will be "yes" or "no".

%__hdcd_transient_filter%

Transient filter (TF) indicator. Will "yes" or "no".
%__hdcd% or $info(hdcd)
Summary of HDCD content detected. Empty string means no HDCD flags detected. "yes" means PE or LLE detected. "fake" means an HDCD stream was detected, but it no PE or LLE flags, thus there's nothing to process. If only TF flags are present, it's still "fake" because those are only informational.

An excerpt from a status bar script using all of them:

  ['| 'HDCD: %__hdcd%: PE: %__hdcd_peak_extend%, LLE: %__hdcd_gain%, TF: %__hdcd_transient_filter%')' ]