SAF
|
Convolves input audio (up to 64 channels) with interpolated HRTFs in the time-frequency domain, and applies optional near-field binaural filtering, as described in [1]. More...
#include "../binauraliser/binauraliser_internal.h"
#include "binauraliser_nf.h"
#include "saf.h"
#include "saf_externals.h"
Go to the source code of this file.
Data Structures | |
struct | binauraliserNF_data |
Main structure for binauraliserNF. More... | |
Functions | |
void | binauraliserNF_initTFT (void *const hBin) |
Initialise the filterbank used by binauraliserNF. | |
void | binauraliserNF_resetSourceDistances (void *const hBin) |
Resets the source distances to the default far field distance. | |
Convolves input audio (up to 64 channels) with interpolated HRTFs in the time-frequency domain, and applies optional near-field binaural filtering, as described in [1].
The HRTFs are interpolated by applying amplitude-preserving VBAP gains to the HRTF magnitude responses and inter-aural time differences (ITDs) individually, before being re-combined. The example also allows the user to specify an external SOFA file for the convolution, and rotations of the source directions to accomodate head-tracking.
Definition in file binauraliser_nf_internal.h.
void binauraliserNF_initTFT | ( | void *const | hBin | ) |
Initialise the filterbank used by binauraliserNF.
Definition at line 41 of file binauraliser_nf_internal.c.
void binauraliserNF_resetSourceDistances | ( | void *const | hBin | ) |
Resets the source distances to the default far field distance.
Definition at line 57 of file binauraliser_nf_internal.c.