Commit c6fa9891 authored by Michael Kohnen's avatar Michael Kohnen

fixed bug in binauralmixdown opts.distanceloss

parent dd656b87
......@@ -29,7 +29,7 @@ binOut=itaAudio;
for k=1:lsSignals.nChannels
hrtf=hrtfSet.findnearestHRTF(opts.LSPos.n(k));
if opts.distanceLoss
hrtf=hrtf/LSPos.r(k);
hrtf=hrtf/opts.LSPos.r(k);
end
convolved=ita_convolve(lsSignals.ch(k),hrtf);
if k==1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment