added support for WAVE sound files

closes #2174