Get-SpeechVoicesList
SYNOPSIS
Get a list of available voices from the speech service.
SYNTAX
Get-SpeechVoicesList [[-token] <Object>] [<CommonParameters>]
DESCRIPTION
This function uses Invoke-RestMethod to get a list of available voices from the Azure Cognitive Services Speech Service. Use the Token parameter to specify a token created with Get-SpeechToken and use the Region parameter to specify a region other than the default westeurope. If the Token parameter is not specified, the global variable created by Save-SpeechToken is used.
EXAMPLES
EXAMPLE 1
Get-SpeechVoicesList
This example gets a list of available voices.
PARAMETERS
-token
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: $script:SpeechToken.Token
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None.
OUTPUTS
[psobject]
NOTES
General notes