[dtf,ctf]=hrtf2dtf(hrtf) [dtf,ctf]=hrtf2dtf(hrtf,gate) [dtf,ctf]=hrtf2dtf(hrtf,gate,f1,f2,fs)
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 |
dtf | directional transfer function |
ctf | common transfer function (similar for all source positions) |
Derives the directional transfer function from a set of HRTFs.