Commit e0baf7db authored by Michael Kohnen's avatar Michael Kohnen

added channel coordinates for ita_ctc_* files

parent 94150c8a
......@@ -106,7 +106,9 @@ end
[Cm Cn]=size(CTC);
for idx=1:Cm
CTC(idx,1).channelNames = {['CTC-' num2str(idx) 'L''']};
CTC(idx,1).channelCoordinates = H.channelCoordinates(idx*Cn-1);
CTC(idx,2).channelNames = {['CTC-' num2str(idx) 'R''']};
CTC(idx,2).channelCoordinates = H.channelCoordinates(idx*Cn);
end
end
......@@ -40,6 +40,7 @@ end
LSSignals=itaAudio(size(CTCFilter,1),1);
for k=1:size(CTCFilter,1)
LSSignals(k)=ita_convolve(inL,CTCFilter(k,1))+ita_convolve(inR,CTCFilter(k,2));
LSSignals(k).channelCoordinates=CTCFilter(k,1).channelCoordinates;
end
%% Return in time domain as multichannel audio
......
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