Metadata-Version: 2.5
Name: barebones-tts
Version: 0.1.2
Summary: I wanted a TTS from first principles
Project-URL: Homepage, https://tts.dylanoonk.net
Project-URL: Repository, https://github.com/dylanoonk/barebones-tts
Author: Dylan Oonk
License-Expression: MIT
License-File: LICENSE
Keywords: arpabet,audio,formant-synthesis,speech-synthesis,text-to-speech,tts
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
Requires-Python: >=3.12
Requires-Dist: colorama>=0.4.6
Requires-Dist: numpy>=2.5.3
Requires-Dist: scipy>=1.18.1
Requires-Dist: sounddevice>=0.5.6
Description-Content-Type: text/markdown

# Barebones Text To Speech

I wrote a text-to-speech system from first principles because I wanted to learn how old-timey text-to-speech systems worked. I'll make a video or something on how it works because there weren't any good in-depth videos about non-nueral-network text-to-speech systems.

## How to install

Use `pip` to install

```bash
pip install barebones-tts
```

## Start speaking

Literally just

```bash
uv run barebones-tts
```

...and start typing. This is still in early development so this will change soon to be better.

If you want to save the audio to a wav file then use the `--wav` or `-w` flags.

```bash
uv run barebones-tts --wav
```

Also, to use, just import like normal and start speaking:

```python
from barebones_tts import barebones_tts

barebones = barebones_tts()
barebones.speak("Hello world.")
```