function loadsisec(room,set,k)
% LOADSISEC(room,set,fs)
% Load data from database of recordings of two simultaneously playing
% sources
% room ... number of room
%          1 .. room1 - an ordinary living room
%          2 .. room2 - a study room with a PC
% set  ... positions of loudspeakers - sources 
% k ... trial

fs=16000;

baseaddr='sisec2010/';

switch room
    case 1 
        file='room1';
    case 2 
        file='room2';
end
file=[baseaddr file '/' num2str(set) '/'];

if nargin<3
    for k=1:6
        x=wavread([file 'room' num2str(room) 'set' num2str(set) 'x' num2str(k) '.wav'])';
        assignin('base',['x' num2str(k)],x(:,1:1*fs))
    end
else
    x=wavread([file 'room' num2str(room) 'set' num2str(set) 'x' num2str(k) '.wav'])';
    assignin('base','x', x)
end        


