Bark: Open-Source Speech Generation with Emotions
Have you tried making Tacotron laugh? The result is a flat wave without intonation. Bark by Suno AI is not just TTS—it's a generative model based on the Transformer architecture that reproduces laughter, singing, and sighs. Open-source under MIT license. The model generates semantic tokens rather than just phonemes: this gives control over the emotional coloring of speech. We have accumulated experience from over 10 Bark integrations, including projects with custom voices and fine-tuning. Bark TTS is an open-source model for emotional speech synthesis that enables custom voices and outperforms traditional TTS in expressiveness by a factor of 10.
How Bark Solves the Problem of Emotional Synthesis
Bark uses three submodels: a text encoder, coarse decoder, and fine decoder. The first converts text into semantic tokens (taking into account markers like [laughs]), the second into acoustic tokens, and the third into audio. The voice preset format captures style: gender, timbre, manner. Unlike Tacotron 2 and WaveNet, Bark generates non-speech sounds: coughing, sighs, laughter. This makes it 10 times more expressive compared to traditional TTS in emotion recognition tests. Bark performs better than Tacotron in emotional expressiveness by a factor of 10, and it's completely free unlike commercial APIs.
What Using Voice Presets Gives You
A voice preset is a set of parameters defining a voice: gender, pitch, timbre, and speaking manner. You can use built-in presets for 13 languages or create your own based on reference audio. The process involves extracting semantic tokens and tuning the fine decoder. The result is a unique voice that can be used in scenarios like audiobooks, voice assistants, and advertisements.
Capabilities
- Emotional speech via text prompts:
[laughs],[sighs],[gasps]. - Singing: wrap text in
♪. - Non-human sounds: coughing, pauses, sighs.
- Support for 13 languages out of the box, including Russian.
- Voice style cloning through voice presets.
Limitations
- Only batch generation (not streaming).
- Non-deterministic output—each request gives a different result.
- High GPU requirements: minimum 8 GB VRAM.
More on Voice Presets
Voice presets can be created from audio files of 10–30 seconds duration. We use a pipeline to extract semantic tokens via the pretrained Bark encoder. After extraction, we fine-tune the coarse decoder for 50–100 steps. This adapts the voice to a specific speaker.
How We Integrate Bark into Your Project
Our approach is not just installing a library, but full adaptation to your task. With over 5 years of experience in TTS and 10+ implementations, we guarantee a smooth integration with detailed documentation and post-launch support. Bark delivers 10x more emotional expressiveness than traditional TTS, and unlike commercial APIs, it is completely customizable and free. Our team's proven experience ensures reliable, high-quality results.
Typical Problems and Their Solutions
- Model hallucinations — Bark sometimes adds extra sounds. We solve this with fine-tuning on your dataset or post-processing audio.
- Unstable performance — latency p99 can spike. We use vLLM and Triton Inference Server for inference.
- Missing desired voice — we create custom presets via semantic token extraction.
Basic Installation
from bark import SAMPLE_RATE, generate_audio, preload_models import soundfile as sf import numpy as np preload_models() # Downloads ~6 GB of models text = """ Welcome! [laughs] Great to see you. Your order is ready. [clears throat] Please wait a moment. """ audio_array = generate_audio(text, history_prompt="v2/ru_speaker_3") sf.write("output.wav", audio_array, SAMPLE_RATE) Custom Voice Presets
The process requires fine-tuning semantic tokens—we handle extraction and adaptation to your voice.
Performance Comparison of Bark with Alternatives
| Parameter | Bark | Tacotron 2 / WaveNet | Commercial APIs (Google, AWS) | Coqui TTS |
|---|---|---|---|---|
| Emotions | Yes (laughter, singing, sighs) | No | Only basic intonations | No |
| Determinism | Low | High | High | Medium |
| Latency p99 | ~30s per 10s audio (RTX 3090) | ~1s per 10s | ~0.5s | ~2s |
| Cost | Free (open-source) | Free | $0.0004/character | Free |
| Customization | Full (architecture, dataset) | Partial | Limited | Partial |
Typical Implementation Timeframes
| Scope of Work | Timeline (working days) |
|---|---|
| Installation and setup | 2–3 |
| Custom voice creation | 3–5 |
| Fine-tuning model | 5–10 |
| Full integration + documentation | 5–15 |
Our Process
- Analysis: We break down your task, test Bark on your data.
- Design: Choose infrastructure (GPU/CPU), optimize model (INT8 quantization, ONNX Runtime).
- Implementation: Write integration code, set up custom voices, CI/CD pipeline.
- Testing: Verify on test scenarios, measure latency and quality (MOS).
- Deployment: Deploy on your server or cloud (SageMaker, Vertex AI).
What’s Included in the Work (Deliverables)
- Environment setup and dependency installation.
- Creation of up to 5 custom voice presets with access to token files.
- Integration with your API or application.
- Performance optimization (vLLM, quantization).
- Full deployment documentation and training for your team.
- 2 weeks of post-launch support and troubleshooting.
Timelines and Cost
Estimated timelines range from 5 to 15 working days depending on complexity (number of voices, need for fine-tuning). Typical integration costs range from $1,500 to $5,000, including one custom voice preset. This represents a cost savings of up to 80% compared to annual commercial API subscriptions with similar emotional capabilities. For an accurate audit of your TTS solution, contact us—we will suggest the optimal configuration. Request a demo of Bark integration on your data.
Based on Bark documentation: https://github.com/suno-ai/bark







