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

bugfix in mstf interleaved:

keep channel names and units for all repetitions
parent 2497eb55
......@@ -641,7 +641,10 @@ classdef itaMSTFinterleaved < itaMSTF
resultsMI = itaAudio(1,nOutputChannels);
for index = 1:nOutputChannels
resultsMI(index) = result;
resultsMI(index).timeData = timeData(:,index:nOutputChannels:end);
resultsMI(index).timeData = timeData(:,index:nOutputChannels:end);
repmatFactor = resultsMI(index).nChannels/result.nChannels;
resultsMI(index).channelNames = repmat(result.channelNames,repmatFactor,1);
resultsMI(index).channelUnits = repmat(result.channelUnits,repmatFactor,1);
end
result = resultsMI;
else
......
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