macos cli starter guide

Welch, Ivo 0 Reputation points
2024-05-15T22:32:07.6566667+00:00

I am trying to play around with azure text to speech on macos. the instructions are woefully incomplete. I start with https://learn.microsoft.com/en-us/azure/ai-services/speech-service/get-started-speech-to-text?tabs=macos%2Cterminal&pivots=programming-language-cli

$ brew install dotnet
... (all ok)

$ dotnet tool install --global Microsoft.CognitiveServices.Speech.CLI
...
Tool 'microsoft.cognitiveservices.speech.cli' (version '1.37.0') was successfully installed.

$ zsh -l ; cd ~/.dotnet/tools ; ls
spx*

$ O studio-office@~/.dotnet/tools:0:1006% ./spx help   
You must install .NET to run this application.
App: /Users/ivo/.dotnet/tools/spx
Architecture: arm64
App host version: 8.0.4
.NET location: Not found
Learn more:
https://aka.ms/dotnet/app-launch-failed
Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=arm64&rid=osx-arm64&os=osx.14&apphost_version=8.0.4

What now?

And if the instructions told me on which page I would actually find '@key' and `@region' and what form they take (is @region a quoted "US West"?), it would be wonderful.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,817 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.