From 3e0cf0f2391a097220d5bec448077f2b0f6b9776 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 12 Mar 2012 18:42:21 -0700 Subject: Simply (hopefuly) the explanation about the HRIR set ordering --- hrtf.txt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'hrtf.txt') diff --git a/hrtf.txt b/hrtf.txt index 7a83f7d1..e318af00 100644 --- a/hrtf.txt +++ b/hrtf.txt @@ -68,14 +68,9 @@ to the next elevation, or by the total count for the last elevation). The actual coefficients follow. Each coefficient is a signed 16-bit sample, with each HRIR set being a consecutive number of samples. For each elevation, the HRIR sets first start with a neutral "in-front" set (that is, one that is -applied equally to the left and right outputs). After this, the HRIR sets -follow a clockwise pattern, with the first half specifying the "occluded" HRIRs -(a half-circle for the ear on the opposite side of the sound source), and the -second half specify the "unoccluded" HRIRs (a half-circle for the ear on the -same side as the sound source). OpenAL Soft automatically selects the two HRIR -sets to use based on the angle to the source from the listener, and swap them -depending on which side the sound is on to create a complete sphere for both -the occluded and unoccluded sets. +applied equally to the left and right outputs). After this, the sets follow a +clockwise pattern, constructing a full circle for the left ear only. The right +ear uses the same sets but in reverse (ie, left = angle, right = 360-angle). After the coefficients is an array of unsigned 8-bit delay values, one for each HRIR set. This is the delay, in samples, after recieving an input sample before -- cgit v1.2.3