diff --git a/matlab/tfgm/datasets/get_dataset.m b/matlab/tfgm/datasets/get_dataset.m index 845784c72fcacf79c2c73cc69aad6be6ff66ffff..6ceced64b02b24068c84b99a9453dc331ee4227d 100644 --- a/matlab/tfgm/datasets/get_dataset.m +++ b/matlab/tfgm/datasets/get_dataset.m @@ -1,7 +1,10 @@ function dataset = get_dataset() -% This function is used to get the data of the experiments. -%The data is stored in a structure array. +% Get dataset for isolated wideband and localized sources before mixing. + +% dataset : struct +% dataset.('wideband').(sounds names)is a dictionary +% containing the path of all the wideband and localized sounds. % % Author: Marina KREME @@ -13,7 +16,7 @@ n_loc_dir = dir([loc_dir, '*.wav']); dataset = struct('wideband',struct(),'localized',struct()); -for x =1: length(n_wide_dir) +for x =1:length(n_wide_dir) wideband_file = [n_wide_dir(x).folder, filesep,n_wide_dir(x).name]; wideband_name = n_wide_dir(x).name(1:end-4); @@ -35,4 +38,3 @@ end -