Add a function to create the `play`, `pause`, `mute`,  `unmute` and  get/setter functions  automatically