Adds sample-rate parameter to docs

See #125
Fixes sample rate param update
* Now supports all float types etc

Fixes #125
Fixes #149