added getSamples() to process samples directly

Hi,

I've added a method to access the sample data directly (one of your TODO items). Hope this is useful. Thanks for figuring out the WAV header stuff for me :)

I think parsing the bytes that spell 'data' wasn't quite working correctly, so I changed that also.

Best wishes,

Rutger