THE AUDITORY MODELING TOOLBOX

Applies to version: 1.5.0

View the code

Go to function

HRTF2DTF - extracts dtf [and ctf] out of hrtf data

Usage:

[dtf,ctf]=hrtf2dtf(hrtf)
[dtf,ctf]=hrtf2dtf(hrtf,gate)
[dtf,ctf]=hrtf2dtf(hrtf,gate,f1,f2,fs)

Input parameters:

hrtf complete hrtf data in ARI format (hM)
gate optional string for defining bounds of ctf division 'full' -> no bounds 'bounds' -> define bounds in f1 and f2 otherwise 60dB bounds will be calculated
f1 lower frequency bound
f2 upper frequency bound
fs sampling frequency; default: 48kHz

Output parameters:

dtf directional transfer function
ctf common transfer function (similar for all source positions)

Description:

Derives the directional transfer function from a set of HRTFs.