Commit b2de4471 authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

bugfix:

sofa read now honors sampling rate
parent 77a8f886
......@@ -532,6 +532,7 @@ classdef itaHRTF < itaAudio
% data
% the data is saved as positions x channel x filterdata
this.samplingRate = handleSofa.Data.SamplingRate;
data = zeros(size(handleSofa.Data.IR,3),numPositions*2);
data(:,1:2:numPositions*2) = squeeze(handleSofa.Data.IR(:,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