48 if(pData->
hSTFT==NULL)
#define MAX_NUM_INPUTS
Maximum number of input channels supported.
void afSTFT_clearBuffers(void *const hSTFT)
Flushes time-domain buffers with zeros.
void afSTFT_create(void **const phSTFT, int nCHin, int nCHout, int hopsize, int lowDelayMode, int hybridmode, AFSTFT_FDDATA_FORMAT format)
Creates an instance of afSTFT.
void afSTFT_channelChange(void *const hSTFT, int new_nCHin, int new_nCHout)
Re-allocates memory to support a change in the number of input/output channels.
@ AFSTFT_BANDS_CH_TIME
nBands x nChannels x nTimeHops
#define HOP_SIZE
STFT hop size.
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,...
#define NUM_EARS
2 (true for most humans)
Main structure for binauraliserNF.
void * hSTFT
afSTFT handle
float farfield_thresh_m
Distance considered to be far field (no near field filtering), meters.
float farfield_headroom
Scale factor applied to farfield_thresh_m when resetting to the far field, and for UI range,...
int nSources
Current number of input/source signals.
int new_nSources
New number of input/source signals (current value will be replaced by this after next re-init)
float src_dists_m[MAX_NUM_INPUTS]
Source distance, meters.