Getting Started
Installation
Section titled “Installation”Voice Soundboard is a Python package available on PyPI.
# Core librarypip install voice-soundboard
# With Kokoro backend (GPU)pip install voice-soundboard[kokoro]
# With Piper backend (CPU)pip install voice-soundboard[piper]Requires Python 3.10+.
Quick Start
Section titled “Quick Start”from voice_soundboard import VoiceEngine
engine = VoiceEngine()result = engine.speak("Hello world! This is my AI voice.")print(f"Saved to: {result.audio_path}")That is the entire happy path. The engine picks a default backend and voice, compiles
your text into a ControlGraph, synthesizes audio, and returns a result object.
Adding Voice and Emotion
Section titled “Adding Voice and Emotion”# With a specific voiceresult = engine.speak("Cheerio!", voice="bm_george")
# With a presetresult = engine.speak("Breaking news!", preset="announcer")
# With emotionresult = engine.speak("I'm so happy!", emotion="excited")
# With natural language styleresult = engine.speak("Good morning!", style="warmly and cheerfully")CLI Usage
Section titled “CLI Usage”Voice Soundboard includes a command-line interface for quick synthesis and discovery.
# Speak textvoice-soundboard speak "Hello world!"
# With optionsvoice-soundboard speak "Breaking news!" --preset announcer --speed 1.1
# List available voicesvoice-soundboard voices
# List presetsvoice-soundboard presets
# List emotionsvoice-soundboard emotions