class_docstr: TODO: Add voice conversion and Capacitron support.
docstr: Voice conversion with FreeVC. Convert source wav to target speaker.
  
  Args:
      source_wav (str):
          Path to the source wav file.
      target_wav (str):
          Path to the target wav file.
      file_path (str, optional):
          Output file path. Defaults to "output.wav".
docstr_tok: ["Voice","conversion","with","FreeVC",".","Convert","source","wav","to","target","speaker",".","Args",":","source_wav","(","str",")",":","Path","to","the","source","wav","file",".","target_wav","(","str",")",":","Path","to","the","target","wav","file",".","file_path","(","str",",","optional",")",":","Output","file","path",".","Defaults","to","``","output.wav","''","."]
code: def voice_conversion_to_file(
      self,
      source_wav: str,
      target_wav: str,
      file_path: str = "output.wav",
  ):
      """Voice conversion with FreeVC. Convert source wav to target speaker.
  
      Args:
          source_wav (str):
              Path to the source wav file.
          target_wav (str):
              Path to the target wav file.
          file_path (str, optional):
              Output file path. Defaults to "output.wav".
      """
      wav = self.voice_conversion(
          source_wav=source_wav, target_wav=target_wav
      )
      save_wav(
          wav=wav,
          path=file_path,
          sample_rate=self.voice_converter.vc_config.audio.output_sample_rate,
      )
      return file_path
  
imports: import tempfile
  import warnings
  from pathlib import Path
  from typing import Union
  import numpy
  from torch import nn
  from TTS.utils.audio.numpy_transforms import save_wav
  from TTS.utils.manage import ModelManager
  from TTS.utils.synthesizer import Synthesizer
  from TTS.config import load_config
label_desc: Use image node_id 18 for calling the TTS obj's underlying member method code with example usage: obj.voice_conversion_to_file(source_wav, target_wav, file_path) and returns: file_path