added a public toggleSound method to switch sound on and off while a ticker is active