Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
04d46887
Commit
04d46887
authored
Jan 23, 2018
by
Michael Kohnen
Browse files
added warnings
parent
4ebf02cd
Changes
4
Hide whitespace changes
Inline
Side-by-side
applications/Binaural-HRTF/CrosstalkCancellation/filterCTC.m
View file @
04d46887
...
...
@@ -23,6 +23,8 @@ function result = filterCTC(binauralInput,CTCfilter,domain)
verboseMode
=
ita_preferences
(
'verboseMode'
);
%#ok<NASGU>
thisFuncStr
=
[
upper
(
mfilename
)
':'
];
%#ok<NASGU>
warning
(
'This function will move to ita_ctc_loudspeaker_signals in future releases.'
);
%MKO
%% Initialization
if
nargin
<
2
error
(
'CTC:InputArguments'
,
'This function requires two input arguments.'
)
...
...
applications/Binaural-HRTF/CrosstalkCancellation/filterCTC_LS234.m
View file @
04d46887
...
...
@@ -8,6 +8,7 @@ function lspSignals = filterCTC_LS234(binauralInput, ctcFilter, crossoverFreq)
% Authors: Florian Pausch, Lukas Aspck -- Email: {fpa, las}@akustik.rwth-aachen.de
% 2014
warning
(
'this function is obsolete and will vanish in future realeases. Use ita_ctc_loudspeaker_signals.'
);
%MKO
ctcFilter
.
samplingRate
=
binauralInput
.
ch
(
1
)
.
samplingRate
;
ctcDelay
=
ctcFilter
(
1
,
1
)
.
nSamples
/
2
;
...
...
applications/Binaural-HRTF/CrosstalkCancellation/filterCTC_LS2or4.m
View file @
04d46887
...
...
@@ -10,6 +10,7 @@ function lspSignals = filterCTC_LS2or4(binauralInput, ctcFilter, crossoverFreq)
% Authors: Florian Pausch, Lukas Aspck -- Email: {fpa, las}@akustik.rwth-aachen.de
% 2014
warning
(
'this function is obsolete and will vanish in future realeases. Use ita_ctc_loudspeaker_signals.'
);
%MKO
ctcDelay
=
ctcFilter
(
1
,
1
)
.
nSamples
/
2
;
...
...
applications/Binaural-HRTF/CrosstalkCancellation/ita_CTC_filter.m
View file @
04d46887
...
...
@@ -35,7 +35,7 @@ function [CTC,Horig] = ita_CTC_filter(varargin)
% </ITA-Toolbox>
%% Initialization
warning
(
'No longer supported version that is reported to be bugged, consider using ita_
3da_
ctc
F
ilter_regularized.'
)
warning
(
'No longer supported version that is reported to be bugged, consider using ita_ctc
_f
ilter_regularized.'
)
if
nargin
<
2
error
(
'CTC:InputArguments'
,
'Man! We need at least two loudspeakers for CTC! The input variable must be itaAudio objects.'
);
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment