# Using SpeechT5

SpeechT5 is a built-in text-to-speech (TTS) service that runs in the browser (Well, on Amica at least). It is free and relatively fast.

Make sure SpeechT5 is enabled for TTS:

```bash
Settings -> Text-to-Speech -> TTS Backend -> SpeechT5
```

#### Using SpeechT5

You can add new voices to SpeechT5 by adding new models to `./public/speecht5_speaker_embeddings/.private` and running `npm run generate:paths`. You can download additional xvectors for SpeechT5 from [here](https://huggingface.co/datasets/Xenova/cmu-arctic-xvectors-extracted).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.heyamica.com/connecting-speech-options-tts/using-speecht5.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
