piper VS bark

Compare piper vs bark and see what are their differences.

bark

🔊 Text-Prompted Generative Audio Model (by suno-ai)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
piper bark
39 67
4,075 32,668
14.0% 3.4%
8.6 5.4
4 days ago 20 days ago
C++ Jupyter Notebook
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

piper

Posts with mentions or reviews of piper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-01.
  • ESpeak-ng: speech synthesizer with more than one hundred languages and accents
    21 projects | news.ycombinator.com | 1 May 2024
    After some brief research it seems the issue you're seeing may be a known bug in at least some versions/release of espeak-ng.

    Here's some potentially related links if you'd like to dig deeper:

    * "questions about mandarin data packet #1044": https://github.com/espeak-ng/espeak-ng/issues/1044

    * "ESpeak NJ-1.51’s Mandarin pronunciation is corrupted #12952": https://github.com/nvaccess/nvda/issues/12952

    * "The pronunciation of Mandarin Chinese using ESpeak NJ in NVDA is not normal #1028": https://github.com/espeak-ng/espeak-ng/issues/1028

    * "When espeak-ng translates Chinese (cmn), IPA tone symbols are not output correctly #305": https://github.com/rhasspy/piper/issues/305

    * "Please default ESpeak NG's voice role to 'Chinese (Mandarin, latin as Pinyin)' for Chinese to fix #12952 #13572": https://github.com/nvaccess/nvda/issues/13572

    * "Cmn voice not correctly translated #1370": https://github.com/espeak-ng/espeak-ng/issues/1370

  • WhisperSpeech – An Open Source text-to-speech system built by inverting Whisper
    9 projects | news.ycombinator.com | 17 Jan 2024
    If you're not already aware, the primary developer of Mimic 3 (and its non-Mimic predecessor Larynx) continued TTS-related development with Larynx and the renamed project Piper: https://github.com/rhasspy/piper

    Last year Piper development was supported by Nabu Casa for their "Year of Voice" project for Home Assistant and it sounds like Mike Hansen is going to continue on it with their support this year.

  • Coqui.ai Is Shutting Down
    4 projects | news.ycombinator.com | 3 Jan 2024
    Coqui-ai was a commercial continuation of Mozilla TTS and STT (https://github.com/mozilla/TTS).

    At the time (2018-ish), it was really impressive for on-device voice synthesis (with a quality approaching the Google and Azure cloud-based voice synthesis options) and open source, so a lot of people in the FOSS community were hoping it could be used for a privacy-respecting home assistant, Linux speech synthesis that doesn't suck, etc.

    After Mozilla abandoned the project, Coqui continued development and had some really impressive one-shot voice cloning, but pivoted to marketing speech synthesis for game developers. They were probably having trouble monetizing it, and it doesn't surprise me that they shut down.

    An equivalent project that's still in active development and doing really well is Piper TTS (https://github.com/rhasspy/piper).

  • OpenVoice: Versatile Instant Voice Cloning
    10 projects | news.ycombinator.com | 1 Jan 2024
    There isn't an ElevenLabs app like that, but I think that's the most expedient method, by far.

    (details and warning: in-depth, opinionated take, written almost for my own benefit, I've done a lot of work near here recently but haven't had to organize my thoughts until now)

    Why? Local inference is hard. You need two things: the clips to voice model (which we have here, but bleeding edge), and text + voice -> speech model.

    Text to voice to speech, locally, has excellent prior art for me, in the form of a Raspberry Pi-based ONNX inference library called [Piper](https://github.com/rhasspy/piper). I should just be able to copy that, about an afternoon of work!

    Except...when these models are trained, they encode plaintext to model input using a library called eSpeak. eSpeak is basically f(plaintext) => ints representing phonemes. eSpeak is a C library and written in a style I haven't seen in a while and depends on other C libraries. So I end up needing to port like 20K lines of C to Dart...or I could use WASM, but over the last year, I lost the ability to be able to reason through how to get WASM running in Dart, both native and web.

    It's a really annoying technical problem: the speech models all use this eSpeak C library to turn plaintext => model input (tokenized phonemes).

    Re: ElevenLabs

    I had looked into the API months ago and vaguely remembered it was _very_ complete.

    I spent the last hour or two playing with it, and reconfirmed that. They have enough API surface that you could build an API that took voice recordings, created a voice, and then did POSTs / socket connection to get audio data from that voice at will.

    Only issue is pricing IMHO, $0.18 for 1000 characters. :/ But this is something I feel very comfortable saying wouldn't be _that_ much work to build and open source with a "bring your own API key" type thing. I had forgotten about Eleven Labs till your post, which made me realize there was an actually meaningful and quite moving use case for it.

  • Hello guys, any selfhosted alternative to eleven labs?
    3 projects | /r/selfhosted | 11 Dec 2023
    piper (https://github.com/rhasspy/piper)
  • [D] What offline TTS Model is good enough for a realistic real-time task?
    2 projects | /r/MachineLearning | 10 Dec 2023
    I have been using piper-tts and it is GREAT and super lightweight / easy to use. On a 2080 I'm sure you can use the HQ models no worries!
  • Easy implement TTS libary for cpp
    1 project | /r/cpp_questions | 7 Dec 2023
    So i found some library and one which is from github and have read.me or good documentation called piper (https://github.com/rhasspy/piper) so apparently this library is for rasbery pi and yes there is TXT function and i need to modify again to make it more simple but my simple project don't need this kind of big complex libary and all i need is what i said before just a function that can output sound from computer using c++ libary.
  • Piper-whistle – Tool for piper TTS voice model management
    4 projects | news.ycombinator.com | 5 Dec 2023
    piper-whistle is a tool to manage voices used with the piper (https://github.com/rhasspy/piper) speech synthesizer. Main motivation was to download and reference models in a structured way. You may browse the docs online at https://think-biq.gitlab.io/piper-whistle/
  • StyleTTS2 – open-source Eleven Labs quality Text To Speech
    10 projects | news.ycombinator.com | 19 Nov 2023
    You may want to try Piper for this case (RPi 4): https://github.com/rhasspy/piper
  • Piper: A fast, local neural text to speech system
    1 project | news.ycombinator.com | 4 Nov 2023

bark

Posts with mentions or reviews of bark. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-13.
  • Exploring Bark, the Open Source Text-to-Speech Model
    1 project | dev.to | 28 Apr 2024
    !pip install git+https://github.com/suno-ai/bark.git
  • AI-generated sad girl with piano performs the text of the MIT License
    1 project | news.ycombinator.com | 4 Apr 2024
    To my knowledge, the model being used for this is "chirp" which is 'based on' bark[1], an AI text to speech model.

    The github page for bark links to a page about chirp, which returns a 404 page for me [2]. that the model for suno.ai's song generator isn't too much different than the text to speech model.

    My hunch is that it was something like a coincidence that the bark model was capable of producing music, and that was spun off into this product. Unfortunately, there seems to still be issues with bark when generating long (like book length) spoken audio. Which is too bad, as someone who's worked jobs that require lots of driving, it would be awesome to be able to have any text read to me in a natural sounding voice.

    [1]https://github.com/suno-ai/bark

  • Generating music in the waveform domain (2020)
    1 project | news.ycombinator.com | 26 Mar 2024
    Stable-audio and MusicGen sounds better than Jukebox.

    But the best so far is Suno.ai ( https://app.suno.ai ) especially with their V3 model they have very impressive results, the fidelity is not studio quality but they're getting very close.

    It's very likely based on their TTS model they have released before Bark, but trained on more data and with higher resolution.

    https://github.com/suno-ai/bark

  • Stable-Audio-Demo
    2 projects | news.ycombinator.com | 13 Feb 2024
    https://github.com/suno-ai/bark

    > Bark was developed for research purposes. It is not a conventional text-to-speech model but instead a fully generative text-to-audio model, which can deviate in unexpected ways from provided prompts. Suno does not take responsibility for any output generated. Use at your own risk, and please act responsibly.

    I've generated probably >200 songs now with Suno, of which perhaps 10 have been any good, and I can't detect any pattern in terms of the outputs.

    Here's another one which is pretty good. I accidentally copied and pasted the prompt and lyrics, and it's amazing to me how 'musically' it renders the prompt:

  • Suno AI
    1 project | news.ycombinator.com | 25 Dec 2023
    hahah wow! cool :-)

    PS: OT, I am reading this Bark thing(https://github.com/suno-ai/bark). Can I run it locally on a Macbook 2015 with 8GB RAM?

  • SDXL + SVD + Suno AI
    1 project | /r/StableDiffusion | 10 Dec 2023
    I have it locally. The model is on huggingface. It runs with about 8GB VRAM.
  • [discussion] text to voice generation for textbooks
    3 projects | /r/MachineLearning | 5 Dec 2023
  • Open Source Libraries
    25 projects | /r/AudioAI | 2 Oct 2023
    suno-ai/bark
  • Weird A.I. Yankovic, a cursed deep dive into the world of voice cloning
    4 projects | news.ycombinator.com | 2 Oct 2023
  • FLaNK Stack Weekly 2 October 2023
    19 projects | dev.to | 2 Oct 2023

What are some alternatives?

When comparing piper and bark you can also consider the following projects:

tortoise-tts - A multi-voice TTS system trained with an emphasis on quality

TTS - 🐸💬 - a deep learning toolkit for Text-to-Speech, battle-tested in research and production

SadTalker - [CVPR 2023] SadTalker:Learning Realistic 3D Motion Coefficients for Stylized Audio-Driven Single Image Talking Face Animation

espeak-ng - eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.

Retrieval-based-Voice-Conversion-WebUI - Easily train a good VC model with voice data <= 10 mins!

silero-models - Silero Models: pre-trained speech-to-text, text-to-speech and text-enhancement models made embarrassingly simple

whisper.cpp - Port of OpenAI's Whisper model in C/C++

mimic3 - A fast local neural text to speech engine for Mycroft

willow - Open source, local, and self-hosted Amazon Echo/Google Home competitive Voice Assistant alternative

text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.