<br />

Voice metadata descriptor returned by `TextToSpeech.listVoices()`.

**Signature:**

```typescript
export declare interface VoiceInfo 
```

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [voiceId](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.voiceinfo.md.txt#voiceinfovoiceid) |   | string | Unique voice identifier (e.g. "af_heart", "bf_emma", "jf_alpha"). |
| [displayName](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.voiceinfo.md.txt#voiceinfodisplayname) |   | string | Human-readable display name for the voice. |
| [locale](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.voiceinfo.md.txt#voiceinfolocale) |   | string | BCP-47 locale tag for the voice (e.g. "en-US", "en-GB", "ja-JP"). |
| [sampleRateHz](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.voiceinfo.md.txt#voiceinfosampleratehz) |   | number | Output PCM audio sample rate in Hz (e.g. 24000). |
| [isDownloaded](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.voiceinfo.md.txt#voiceinfoisdownloaded) |   | boolean | Whether the voice embedding is bundled and ready for offline use. |

## VoiceInfo.voiceId

Unique voice identifier (e.g. "af_heart", "bf_emma", "jf_alpha").

**Signature:**

```typescript
voiceId: string;
```

## VoiceInfo.displayName

Human-readable display name for the voice.

**Signature:**

```typescript
displayName: string;
```

## VoiceInfo.locale

BCP-47 locale tag for the voice (e.g. "en-US", "en-GB", "ja-JP").

**Signature:**

```typescript
locale: string;
```

## VoiceInfo.sampleRateHz

Output PCM audio sample rate in Hz (e.g. 24000).

**Signature:**

```typescript
sampleRateHz: number;
```

## VoiceInfo.isDownloaded

Whether the voice embedding is bundled and ready for offline use.

**Signature:**

```typescript
isDownloaded: boolean;
```