function playAList(playList)
% Play the wav files specified in playList.
% playList{k} is the name of the k-th .wav file to play.

for k= 1:length(playList)
   [y,rate] = wavread(playList{k});
   sound(y,rate)
   
   p = length(y)/rate;
   pause(p+1)
end