aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-10-26 15:47:17 -0700
committerChris Robinson <[email protected]>2022-10-26 15:47:17 -0700
commit3fed7b0e03d06257cc37aaf543e0c6180515e810 (patch)
tree4e268bcc4f1c1572101072e96093385d0db47409
parent72de556c6b4c5f5f121a107633aa00cda024748b (diff)
Use the IIR all-pass filter by default
-rw-r--r--alsoftrc.sample11
-rw-r--r--core/uhjfilter.h2
2 files changed, 7 insertions, 6 deletions
diff --git a/alsoftrc.sample b/alsoftrc.sample
index 50aa7b01..d7427db5 100644
--- a/alsoftrc.sample
+++ b/alsoftrc.sample
@@ -356,17 +356,18 @@
## decode-filter: (global)
# Specifies the all-pass filter type for UHJ decoding and Super Stereo
# processing. Valid values are:
-# fir256 - utilizes a 256-point FIR filter.
-# fir512 - utilizes a 512-point FIR filter, providing a wider pass-band, at
-# the cost of more CPU use.
# iir - utilizes dual IIR filters, providing a wide pass-band with low CPU
# use, but may exhibit some low-level distortion.
-#decode-filter = fir256
+# fir256 - utilizes a 256-point FIR filter, providing more stable results but
+# exhibiting attenuation in the lower and higher frequency bands.
+# fir512 - utilizes a 512-point FIR filter, providing a wider pass-band than
+# fir256, at the cost of more CPU use.
+#decode-filter = iir
## encode-filter: (global)
# Specifies the all-pass filter type for UHJ output encoding. Valid values are
# the same as for decode-filter.
-#encode-filter = fir256
+#encode-filter = iir
##
## Reverb effect stuff (includes EAX reverb)
diff --git a/core/uhjfilter.h b/core/uhjfilter.h
index e0aa73d2..49819f00 100644
--- a/core/uhjfilter.h
+++ b/core/uhjfilter.h
@@ -16,7 +16,7 @@ enum class UhjQualityType : uint8_t {
IIR = 0,
FIR256,
FIR512,
- Default = FIR256
+ Default = IIR
};
extern UhjQualityType UhjDecodeQuality;