Commit 04d46887 authored by Michael Kohnen's avatar Michael Kohnen
Browse files

added warnings

parent 4ebf02cd
...@@ -23,6 +23,8 @@ function result = filterCTC(binauralInput,CTCfilter,domain) ...@@ -23,6 +23,8 @@ function result = filterCTC(binauralInput,CTCfilter,domain)
verboseMode = ita_preferences('verboseMode'); %#ok<NASGU> verboseMode = ita_preferences('verboseMode'); %#ok<NASGU>
thisFuncStr = [upper(mfilename) ':']; %#ok<NASGU> thisFuncStr = [upper(mfilename) ':']; %#ok<NASGU>
warning('This function will move to ita_ctc_loudspeaker_signals in future releases.'); %MKO
%% Initialization %% Initialization
if nargin < 2 if nargin < 2
error('CTC:InputArguments','This function requires two input arguments.') error('CTC:InputArguments','This function requires two input arguments.')
......
...@@ -8,6 +8,7 @@ function lspSignals = filterCTC_LS234(binauralInput, ctcFilter, crossoverFreq) ...@@ -8,6 +8,7 @@ function lspSignals = filterCTC_LS234(binauralInput, ctcFilter, crossoverFreq)
% Authors: Florian Pausch, Lukas Aspck -- Email: {fpa, las}@akustik.rwth-aachen.de % Authors: Florian Pausch, Lukas Aspck -- Email: {fpa, las}@akustik.rwth-aachen.de
% 2014 % 2014
warning('this function is obsolete and will vanish in future realeases. Use ita_ctc_loudspeaker_signals.'); %MKO
ctcFilter.samplingRate = binauralInput.ch(1).samplingRate; ctcFilter.samplingRate = binauralInput.ch(1).samplingRate;
ctcDelay=ctcFilter(1,1).nSamples/2; ctcDelay=ctcFilter(1,1).nSamples/2;
......
...@@ -10,6 +10,7 @@ function lspSignals = filterCTC_LS2or4(binauralInput, ctcFilter, crossoverFreq) ...@@ -10,6 +10,7 @@ function lspSignals = filterCTC_LS2or4(binauralInput, ctcFilter, crossoverFreq)
% Authors: Florian Pausch, Lukas Aspck -- Email: {fpa, las}@akustik.rwth-aachen.de % Authors: Florian Pausch, Lukas Aspck -- Email: {fpa, las}@akustik.rwth-aachen.de
% 2014 % 2014
warning('this function is obsolete and will vanish in future realeases. Use ita_ctc_loudspeaker_signals.'); %MKO
ctcDelay=ctcFilter(1,1).nSamples/2; ctcDelay=ctcFilter(1,1).nSamples/2;
......
...@@ -35,7 +35,7 @@ function [CTC,Horig] = ita_CTC_filter(varargin) ...@@ -35,7 +35,7 @@ function [CTC,Horig] = ita_CTC_filter(varargin)
% </ITA-Toolbox> % </ITA-Toolbox>
%% Initialization %% Initialization
warning('No longer supported version that is reported to be bugged, consider using ita_3da_ctcFilter_regularized.') warning('No longer supported version that is reported to be bugged, consider using ita_ctc_filter_regularized.')
if nargin < 2 if nargin < 2
error('CTC:InputArguments','Man! We need at least two loudspeakers for CTC! The input variable must be itaAudio objects.'); error('CTC:InputArguments','Man! We need at least two loudspeakers for CTC! The input variable must be itaAudio objects.');
end 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