Yesterday I posted about using Azure Cognitive Services to convert text to speech. I also eluded that I’ve been leveraging Cognitive Services to do the conversion from Speech to Text. I detail that in this post.
Just as with the Text to Speech we will need an API key to use Cognitive Services. You can get one from Azure Cognitive Services here.
I created an audio file in Audacity for testing purposes. In my real application it is direct spoken text, but that’s a topic for another time. I set the project rate to 16000hz for the conversion source file then exported the file as a .wav file.
The Script below needs to be updated for your input file (line 2) and your API Key (line 6). Run it line by line in VSCode or PowerShell ISE.
That’s it. Pretty simple once you have a reference script to work with. Enjoy.
A few weeks back the Microsoft AI Tour was in Sydney Australia. There was a…
If you're anything like me you always have PowerShell open, and often both PowerShell and…
Decentralised Identity is a technology I'm passionate about and have written many posts and tools…
Over two years ago I authored a PowerShell Module that enabled the automation of 1Password.…
Buried in my PowerShell Snippets Vol 4 post from 2021 is the PowerShell script and…
Short post on how to recovery from "The Windows Subsystem for Linux instance has terminated"…
This website uses cookies.
View Comments