Skip to content
Snippets Groups Projects
Commit 128d3c48 authored by Hark Simon Braren's avatar Hark Simon Braren
Browse files

Bugfix sign error in phase of HRTF

parent af448418
Branches
No related tags found
1 merge request!26Merge develop into master
......@@ -85,7 +85,7 @@ meanDelay = mean(hrtfIn.meanTimeDelay);
% add ITD from elipsoid model
phaseITD = angle(indHRTF_subj.freqData)-angle(ita_minimumphase(indHRTF_subj).freqData);
hrtfOut.freqData = hrtfOut.freqData.*exp(-1j*phaseITD);
hrtfOut.freqData = hrtfOut.freqData.*exp(1j*phaseITD);
% add mean time delay back in
hrtfOut = ita_time_shift(hrtfOut,meanDelay,'time');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment