Use a constant sample rate for internal audio representation

Closes #35.