<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google-ai-edge/mediapipe/blob/master/mediapipe/tasks/python/audio/text_to_speech.py#L231-L247) |

Metadata for a speaker voice available in a TTS model bundle.

    mp.tasks.audio.VoiceInfo(
        voice_id: str,
        display_name: str,
        locale: str,
        sample_rate_hz: int,
        is_downloaded: bool = True
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `voice_id` | Unique identifier of the voice (e.g. `af_heart`). |
| `display_name` | Human-readable display name of the voice. |
| `locale` | BCP-47 locale tag supported by the voice (e.g. `en-US`). |
| `sample_rate_hz` | Native output PCM sample rate in Hz. |
| `is_downloaded` | Whether the voice weights are locally resident in the bundle. |

<br />

## Methods

### `__eq__`

    __eq__(
        other
    )

Return self==value.

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| is_downloaded | `True` |

<br />