Changing the way to load a wav file

Before this change the file was loaded at the same time it was read. Now
the file is read at all and after that it can be played. The delay was
improved. Also it was loaded into a couple of files (for each channel).