Get the default voice for a given language code.
The options for getting the default voice
The language code to match (e.g., "en-US")
A promise that resolves to the default voice or null if none is available
Get available voices for a given language code.
The options for getting voices
The language code to match (e.g., "en-US")
The minimum number of voices to return
A promise that resolves to an array of browser voices
A voice provider that uses the browser's built-in speech synthesis. This provider is available in all modern browsers and doesn't require any API keys.