Aufgrund einer Wartung wird GitLab am 28.09. zwischen 10:00 und 11:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 28.09. between 10:00 and 11:00 am.

Commit 764e9e7a authored by Michael Kohnen's avatar Michael Kohnen

Added metadata for DAFF files in itaHRTF, this fixes the delay sample bug

parent a1d54e79
......@@ -9,7 +9,7 @@ function writeDAFFFile( this, file_path, metadata_user )
%
% Output: none
metadata = [];
metadata = this.mMetadata;
if nargin >= 3
metadata = metadata_user;
end
......@@ -70,8 +70,11 @@ metadata = daffv17_add_metadata( metadata, 'Generation script', 'String', 'write
metadata = daffv17_add_metadata( metadata, 'Generation toolkit', 'String', 'ITA-Toolkit' );
metadata = daffv17_add_metadata( metadata, 'Generation date', 'String', date );
metadata = daffv17_add_metadata( metadata, 'Web resource', 'String', 'http://www.ita-toolkit.org' );
channels = 2; % this.nChannels < does not work?
channels=this.nChannels/this.nDirections;
if(channels<1)
warning('Number of channels per record was not detected correctly, assuming 2 channel records');
channels = 2;
end
% Content type switcher between time domain (ir) and frequency domain (dft)
% (requires different data functions)
......
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