Code slice showing how speaker could be turned on or off. Was an issue at first because in original code alarm would not turn off after it had been triggered.