Commit edce418e authored by michael.kohnen's avatar michael.kohnen

small changes

parent 9677b867
...@@ -25,6 +25,7 @@ opts=ita_parse_arguments(opts, varargin); ...@@ -25,6 +25,7 @@ opts=ita_parse_arguments(opts, varargin);
hrtf=ita_merge(HRTF_real(:)); hrtf=ita_merge(HRTF_real(:));
L=itaAudio; L=itaAudio;
L.signalType='energy';
helper=ita_convolve(hrtf.ch(1),CTCFilter(1)); helper=ita_convolve(hrtf.ch(1),CTCFilter(1));
numSamples=helper.nSamples; numSamples=helper.nSamples;
...@@ -50,7 +51,7 @@ CS_R = ita_merge(L,R); ...@@ -50,7 +51,7 @@ CS_R = ita_merge(L,R);
CS_L_singleSpectrum = ita_divide_spk(CS_L.ch(1),CS_L.ch(2)); CS_L_singleSpectrum = ita_divide_spk(CS_L.ch(1),CS_L.ch(2));
CS_R_singleSpectrum = ita_divide_spk(CS_R.ch(2),CS_R.ch(1)); CS_R_singleSpectrum = ita_divide_spk(CS_R.ch(2),CS_R.ch(1));
CS_L_value CS_L_value;
%% Natural channel separation %% Natural channel separation
if opts.naturalCS if opts.naturalCS
......
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