added wav output

TODO: add amplitude information to notes