Getting started with ISpeechToText #2508
-
I'm trying to get started with ISpeechToText to play with speech to text on the Windows platform with .NET 8.0. Looking at the sample code there isn't much to write to get something working but I've noticed that
SpeechToTextOptions isn't found anywhere? If I use the flavour of StartListenAsync() that just takes a culture and a token then the state changes to 'listening' but doesn't do anything. I have installed nuget package communitytoolkit.maui 9.1.1 and created the singleton for ISpeechToText etc. Also made sure microphone and internet are in the app capabilities. RecognitionResultCompleted seems odd as well because in the documentation this is a class with a 'Text' property but from what I have it's just a string. I have not configured something right obviously :-( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You need to upgrade to v11 of the toolkit. This will also mean that you need to use .NET 9.0 though |
Beta Was this translation helpful? Give feedback.
You need to upgrade to v11 of the toolkit. This will also mean that you need to use .NET 9.0 though