Commit cca50cca authored by rbo's avatar rbo

Load itaHRTF corrected (properties of itaAudio)

parent 0f58c605
...@@ -117,10 +117,15 @@ classdef itaHRTF < itaAudio ...@@ -117,10 +117,15 @@ classdef itaHRTF < itaAudio
methods % Special functions that implement operations that are usually performed only on instances of the class methods % Special functions that implement operations that are usually performed only on instances of the class
%% Input %% Input
function this = itaHRTF(varargin) function this = itaHRTF(varargin)
% initialize itaHRTF with itaAudio properties (only for nargin == 1)
this = this@itaAudio(); if nargin > 1, iniAudio = [];
else, iniAudio = varargin{:};
end
this = this@itaAudio(iniAudio);
if nargin >1 if nargin >1
% itaAudio input % itaAudio input
TF_types = this.propertiesTF_type; TF_types = this.propertiesTF_type;
for iTF = 1:numel(TF_types) for iTF = 1:numel(TF_types)
...@@ -148,6 +153,7 @@ classdef itaHRTF < itaAudio ...@@ -148,6 +153,7 @@ classdef itaHRTF < itaAudio
end end
elseif nargin == 1 elseif nargin == 1
if isa(varargin{1},'itaHRTF') if isa(varargin{1},'itaHRTF')
this = varargin{1}; this = varargin{1};
......
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