             $1.pause()
         }
         
-        if isMuted {
-            avPlayer.volume = 0
-        }
-        
+        avPlayer.volume = isMuted ? 0 : currentVolume
         avPlayer.play()
     }
     

    }
    
    private var _currentlyPlaying: FileName = .none
    
    /// All av audio players
    private var allPlayers = [String: AVAudioPlayer]()

    /// Stop and reset all music
    public func stopAndResetAll() {
        _currentlyPlaying = .none
        
        currentVolume = 1
        
        allPlayers.forEach {
            $1.stop()
