adding ability to pass in note duration

* lets users set note duration on the method call
* version bump to 1.0.0 following semantic versioning standards => second arg introduces incompatible API change

If you'd rather me figure out how do to this in a backward-compatible manner I can, this was just a quick and dirty pass. Figured I would open the PR now just in case the breaking change is ok :)