updated WebAudio calls to be in sync with modern WebAudio spec and changed samples from 24bit to 16bit (for Firefox support)