fixed opus bug and added first attempt at energy calc using webAudio.