function sndList(sesDat)
% Load sound file names

sesDat.cuSndListFile=sesDat.tstDat{sesDat.noTst}.tstFile;

DOWNLOAD=0; % 1: store sounds in working memory; 0: load on click
sesDat.cuSndList=readSndList(sesDat.cuSndListFile,DOWNLOAD);

dat.sesDat=sesDat;
rsl.sounds=sesDat.cuSndList;
rsl.duration=0; % duration negligible/irrelevant

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Generate report
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
fid=reportTest(sesDat,rsl,'Loading a SOUND LIST');

% sound list names
nbSnd=length(sesDat.cuSndList);
eol(fid);
for noSnd=1:nbSnd
   fprintf(fid,'%d -- %s',noSnd,sesDat.cuSndList(noSnd).name);eol(fid)
end
eol(fid);
eol(fid);

fclose(fid);

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Save test
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
saveTest(dat,rsl,'sndList');

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Clean up
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

clear all;
