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
- Host: GitHub
- URL: https://github.com/thisisnttheway/azure_tts_ps
- Owner: ThisIsntTheWay
- License: apache-2.0
- Created: 2021-12-03T20:46:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-03T14:02:46.000Z (over 3 years ago)
- Last Synced: 2025-03-06T12:16:04.895Z (over 1 year ago)
- Topics: azure, text-to-speech
- Language: PowerShell
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```