Fix indentation.
Add sample rate.
Fix test suite.