(
Server.default = s = Server.internal;
s.boot;

q = ();

q.directory = "/localvol/sound/share/audiosamples/koelnKalk";
q.subDirs = [\footsteps, \doorClose, \doorOpen];

q.subDirs = (footsteps: 6, doorClose: 4, doorOpen: 4);

s.waitForBoot{
	q.buffers = q.subDirs.collect{|num, dirName|
		num.collect{|i|
			Buffer.readChannel(s, "%/%/%.aiff".format(q.directory, dirName, i+1), channels: [0], action:{"file %/%.aiff read.\n".postf(dirName, i+1) });
		}
	};
}
)