Commit fe3f3e1b authored by Michael Kohnen's avatar Michael Kohnen
Browse files

bug fixes

parent fb96fed6
...@@ -9,7 +9,7 @@ opts.LSPos = itaCoordinates; % itaCoordinates of the loudspeaker positions ...@@ -9,7 +9,7 @@ opts.LSPos = itaCoordinates; % itaCoordinates of the loudspeaker positions
opts.distanceLoss=true; opts.distanceLoss=true;
if nargin>1 if nargin>1
opts=ita_parse_arguments(opts,varargin{2:end}); opts=ita_parse_arguments(opts,varargin);
end end
if ~(isa(lsSignals, 'itaAudio')&&(lsSignals.nChannels>0)) if ~(isa(lsSignals, 'itaAudio')&&(lsSignals.nChannels>0))
error('First input must be itaAudio with at least one channel') error('First input must be itaAudio with at least one channel')
...@@ -22,7 +22,7 @@ if opts.LSPos.nPoints<1 ...@@ -22,7 +22,7 @@ if opts.LSPos.nPoints<1
end end
end end
hrtfSet=itaHRTF('DAFF',opts.HRTF); hrtfSet=itaHRTF(opts.HRTF);
binOut=itaAudio; binOut=itaAudio;
......
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