aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-08-13 22:51:47 -0700
committerChris Robinson <[email protected]>2022-08-13 22:51:47 -0700
commit5f6b7f9166119bf1dd01be2ec7afe26c61e03a25 (patch)
tree8f1da40e871ff13a3d0256ba0e2e84abbbcfc37c
parentdd3f03c1485064a58c1a1de72b4b17c20cb94750 (diff)
Update the default HRTF
The sample rate is now 48khz to match the library's default sample rate, and increased the FIR length to 64 points from 32.
-rw-r--r--alsoftrc.sample2
-rw-r--r--docs/hrtf.txt4
-rw-r--r--hrtf/Default HRTF.mhrbin80353 -> 159841 bytes
3 files changed, 2 insertions, 4 deletions
diff --git a/alsoftrc.sample b/alsoftrc.sample
index 642eedf1..dff355fb 100644
--- a/alsoftrc.sample
+++ b/alsoftrc.sample
@@ -139,7 +139,7 @@
# Specifies the impulse response size, in samples, for the HRTF filter. Larger
# values increase the filter quality, while smaller values reduce processing
# cost. A value of 0 (default) uses the full filter size in the dataset, and
-# the default dataset has a filter size of 32 samples at 44.1khz.
+# the default dataset has a filter size of 64 samples at 48khz.
#hrtf-size = 0
## default-hrtf:
diff --git a/docs/hrtf.txt b/docs/hrtf.txt
index 7a1a500f..0ea27caa 100644
--- a/docs/hrtf.txt
+++ b/docs/hrtf.txt
@@ -73,9 +73,7 @@ calculation (ie. left = angle, right = 360-angle).
The actual coefficients follow. Each coefficient is a signed 24-bit sample.
Stereo HRTFs interleave left/right ear coefficients. The HRIRs must be
minimum-phase. This allows the use of a smaller filter length, reducing
-computation. For reference, the default data set uses a 32-point filter while
-even the smallest data set provided by MIT used a 128-sample filter (a 4x
-reduction by applying minimum-phase reconstruction).
+computation.
After the coefficients is an array of unsigned 8-bit delay values as 6.2 fixed-
point integers, one for each HRIR (with stereo HRTFs interleaving left/right
diff --git a/hrtf/Default HRTF.mhr b/hrtf/Default HRTF.mhr
index 516a6786..49551675 100644
--- a/hrtf/Default HRTF.mhr
+++ b/hrtf/Default HRTF.mhr
Binary files differ