use wav files in demos for better browser compatibility
merge recent changes from master to the test demos