An open API service indexing awesome lists of open source software.

https://github.com/thisisnttheway/azure_tts_ps

PowerShell script to interface with the TTS part of the Azure Speech Services
https://github.com/thisisnttheway/azure_tts_ps

azure text-to-speech

Last synced: about 2 months ago
JSON representation

PowerShell script to interface with the TTS part of the Azure Speech Services

Awesome Lists containing this project

README

          

# azure_tts_ps
PowerShell script to interface with the TTS API endpoint of Azure Speech Services.

### Simple text
```PowerShell
.\main.ps1 -apiKey .\secret\apiKey -voice "Natasha" -text "Hello world" -codec "webm" -codecQuality "max" -quiet $false
```

### Multi line document
```PowerShell
$text = (Get-Content .\sample.txt -encoding UTF8)
.\main.ps1 -apiKey .\secret\apiKey -voice "Natasha" -text $text -codec "audio" -codecQuality "max" -quiet $false
```

### Piped text
```PowerShell
'Hello World' | .\main.ps1 -apiKey .\secret\apiKey -voice "Natasha" -codec "webm" -codecQuality "max" -quiet $false
```

### Piped multi line document
```PowerShell
$text = [string](Get-Content .\sample.txt -encoding UTF8)
$text | .\main.ps1 -apiKey .\secret\apiKey -voice "Natasha" -codec "webm" -codecQuality "max" -quiet $false
```