Adding another exception for channel number determination when exporting from itaHRTF to OpenDAFF

parent 4051f203
......@@ -141,7 +141,7 @@ end
%% Channels
channels=this.nChannels/this.nDirections;
if(channels<1)
if( channels < 1 || mod( channels, 2 ) ~= 0 )
warning('Number of channels per record was not detected correctly, assuming 2 channel records');
channels = 2;
end
......
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