Goal: Take a recording of someone speaking, pass it through a CLI or GUI, output a recording with the speaker’s voice replaced by an AI voice.

I know there are closed-source or hosted services that do this, but they are a privacy risk and most surely also continue training their models on what users submit. The opensource solutions I have seen (last I checked 6 months ago or so) were all extremely outdated (around the beginning of the ChatGPT release) and required training using thousands of voice samples.

Surely somebody has done this before and didn’t need to be an expert in the field to do so…

Non-solutions:

  • hosted services (elevenlabs, chatGPT, Gemini, …)
  • “train your own AI”
  • refalo@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    22 days ago

    combine whisper speech-to-text with any one of the numerous local text-to-speech solutions like picotts, piper, kitten, pocket-tts, outetts etc.

      • lad@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        22 days ago

        I assumed you want to make person unidentifiable, in which case tone and pitch changes will not erase enough of biometrics.

        If you want to make it sound like someone specific, then it’s exactly what you said in the last line, you need to train your own spoofing models. Also you sound like you want to do something I can’t endorse, so it’s good that you don’t want to train a model

        • onlinepersona@programming.devOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          22 days ago

          Also you sound like you want to do something I can’t endorse, so it’s good that you don’t want to train a model

          Not sure what that means. I want to send a message sounding like Trump or respond with a joke in the voice of Ghandi to friends.

          Anonymizing would also be a usecase. Then I could replace the audio of videos I want to make after narrating them, record an anonymous podcast, or send voice messages into groups I’m a part of with a different voice.