Code Monkey home page Code Monkey logo

Comments (4)

magnacartatron avatar magnacartatron commented on June 13, 2024

Hi @abdelazizSalah No it can't. What OpenAI refers as to whisper in their API docs when they mention TTS isn't the same as the whisper model that is being used here. Some time in 2022 OpenAI was kind enough to provide their models on HuggingFace. The community to this date is still using said models or refined versions. These are not the same as the Whisper TTS that OpenAI uses for its conversations. Coqui AI TTS was a solid TTS but they went out of business. You can still use their models (see Huggingface). Otherwise there is Suno Bark but your milage may vary there. TTS models are so far fairly closed which is frustrating to say the least. MacOS allows you to install various high quality Siri voices, and then you can just use "say 'I want a pizza'" in the terminal and generate audio.

from whisper.cpp.

abdelazizSalah avatar abdelazizSalah commented on June 13, 2024
  • Okay, thanks for this!

  • I have tried to use AVSpeechSynthesis, using the following code provided in Apple documentation
    image

  • however, it did not work, and it always gives me an error saying : "cannot load assets folder"

  • And when I searched more, I found that there are some issues saying that there is a leakage in this model, and it does not work n the modern ios versions, so do you know any work around to make it work, or how to find a TTS model to use in swiftUI ?

from whisper.cpp.

magnacartatron avatar magnacartatron commented on June 13, 2024

@abdelazizSalah why dont you just use say. If you're on a Mac just install a Siri voice you like via setting and set it as the default. Then you can run "say 'hello there'" in the terminal and you'll get OS to play a fairly good TTS output. If you're using node you can spawn a process to run that command through your application etc. you can use -o to output to a file. If you don't want to mess around it's the fastest easiest high quality tts I can find.

from whisper.cpp.

abdelazizSalah avatar abdelazizSalah commented on June 13, 2024

@magnacartatron Yes it worked!, thanks a lot

from whisper.cpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.