             effectMenus[i]?.direction = .any
             effectMenus[i]?.textFont = UIFont.systemFont(ofSize: 10)
 
-            effectMenus[i]?.selectionAction = { [weak self] (index: Int, name: String) in
+            effectMenus[i]?.selectionAction = { [weak self] (_: Int, name: String) in
                 guard let strongSelf = self else { return }
                 guard let auManager = strongSelf.auManager else { return }
 

        let au = AudioUnitGenericView(au: audioUnit)
        auContainer.addSubview(au)
        auContainer.contentSize = au.frame.size
        self.currentAU = au

    }


        }

        if player.isPlaying {
            AKLog("Stop")
            player.stop()
            sender.setTitle("▶️", for: .normal)

        } else {
            AKLog("Play")
            player.play()
            sender.setTitle("⏹", for: .normal)
        }
