figured out wav/haskell stuff