                 } else {
                     //If other metronome is playing, sync to it, else just play.
                     if otherMet.isPlaying {
-                        let now = AVAudioTime(hostTime: mach_absolute_time());
+                        let now = AVAudioTime(hostTime: mach_absolute_time())
                         let beatAtNow = otherMet.beatTime(at: now)
-                        met.setBeatTime(beatAtNow, at: now);
+                        met.setBeatTime(beatAtNow, at: now)
                     } else {
                         met.play()
                     }

            let countSoundUrl = Bundle.main.url(forResource: "closed_hi_hat_F#1", withExtension: "wav") else {
                fatalError()
        }
        metronome1.sound = countSoundUrl;
        metronome1.downBeatSound = oneSoundUrl;

        metronome1 >>> mixer
        metronome2 >>> mixer

        setUpUI()
    }

    func beatsSelected(segmentedControl: UISegmentedControl) {
        let beatCount = Int32(segmentedControl.selectedSegmentIndex + 1)
        let now = AVAudioTime(hostTime: mach_absolute_time())
