Looking for the iOS implementation of text-to-speecht with .NET MAUI? This is the secret portal that will take you right to it: ua-cam.com/video/kxUsmctDyko/v-deo.html
You don't know how long I was waiting for that. Previously i was playing around with Azure Cognitive Services. And finally i know how to do it properly in my bachelor work. Thank you very much.
Thank you for a great video Gerald! Is there a way to store the final result of RecognitionText. I'm trying to move the final result to another label. I can do so as long as as the ExtraSpeechInputCompleteSilenceLengthMillis intent is commented out. But I need to use a 10 sec ExtraSpeechInputCompleteSilenceLengthMillis intent. When I enable this intent, any code past the speechToText.Listen(...) call is never reached and I'm unable to access the final result of RecognitionText.
Awesome, works well however no matter what values I pass for ExtraSpeechInputMinimumLengthMillis and ExtraSpeechInputCompleteSilenceLengthMillis, the behavior of the listener does not change. This is on a Samsung Galaxy Android phone. 🤔
Hi, Gerald! Thanks for your video! In this implementation, shouldn't we first make sure that the service is successfully injected into the MainPage so as not to cause errors on other platforms for which we haven't registered the service? How do we do this correctly?
That is correct! This is assuming that you will be implementing this for all platforms. If you would want to use it for just 1 platform right now either make dummy implementations for the other platforms that simply don’t do anything or not use dependency injection and use a static instance and make sure that code only runs on Android
Hello Gerald can you make a video .net Maui filesystem helper? I want to display a folder that has mp3 files from the music folder inside the Android storage, many thanks 👍
Hey, Gerald! Thanks for your video! You are helping the MAUI community a lot! Please, could you talk about the following MAUI code? public static readonly IPropertyMapper CustomMapper = new PropertyMapper(Mapper) { [nameof(IMap.Pins)] = MapPins, }; ... This code is from "Vladislav Antonyuk", article "Customize map pins in .NET MAUI" . I didn't get how the following line works: "[nameof(IMap.Pins)] = MapPins" Thank you so much!
Hello Gerald This looks great and what I need for my small project however. I have downloaded the example from GitHub, with no changes from the downloaded zip source, however when I Run the app on my Android Device, the permission windows show I select the allow only while using the app option same as the yourtube vdieo, but then receive the Alert from this await DisplayAlert("Permission Error", "No microphone access", "OK"); and then also show that error every time I try to run the app Also there is a CS0246 error in the error list Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'SpeechToTextImplementation' could not be found (are you missing a using directive or an assembly reference?) MauiSpeechToTextSample (net7.0-maccatalyst) C:\Code\MauiSpeechToTextSample-main\MauiSpeechToTextSample\MauiProgram.cs 24 Active any suggestions Thanks
@@jfversluis Hello Gerald , Thanks for your Reply have spent about the last 3 hours on this one, trying to work out what may create this error. Some more information for you, I uploaded the same code to my Surface Duo, as is Android 12.1 and worked no problems so, thinking that was my old test phone, which is a moto g9 plus with Android 11, but the mic works in other apps? I thought maybe was because is not connected to a Gmail account but need to be connected for a service? so I connected to my Gamil account so the same error. So, I factory reset the device (moto g9 +), setup clean install, and uploaded the code, same error. So, I unlocked the phone and upgraded to android 12.1 (Linage OS) on the Moto g9+ in case MAUI only is supporting Android 12+, and still the same error., once again the built-in voice recorder works. So am at a lost to what it could be at this point, Bit unsure to move forward with the project as seem strange to work on one phone and not another. open to your thoughts? Thanks - Alex
@@jfversluis Hello Again thanks for you reply So I have done a little more testing The error is from line 54 in the MainPage.xmal.cs wait DisplayAlert("Permission Error tagged ", "No microphone access", "OK"); I have tried this same code on a number of devices now 2 different Moto g9+ both as the android 11 version from Motorola both failed with the line 54 error on the devices screen 1 of these moto g9+ devices I upgrades to android 12 Linage OS 19 and received that same error line 54 error on the devices screen I have also tested on Nokia 7.2 Android 11 version from Nokia and failed with that same line 54 error on the devices screen I have also tested on mu Surface Duo 12.1 and works Tested on a Moto 20 Fusion Android 12 and works And a old Samsung Galaxy Tab S Android 6.0.1 , and to my Suprise worked, after turning off fast deployment to get the build to upload to the old Android. So at the moment this code / method seems to work on about half the devices I have tested it on. Is there another permission required for these devices for mic access ? Thanks - Alex
Hello Gerald Or anyone who may be having this same issue Any thoughts, as to why only working on half of devices? Is there a way to test, what permission is failing on ? Thanks - Alex
Looking for the iOS implementation of text-to-speecht with .NET MAUI? This is the secret portal that will take you right to it: ua-cam.com/video/kxUsmctDyko/v-deo.html
Actually, i love simplistic design. It focused on the point, without adding confusing details!
You don't know how long I was waiting for that. Previously i was playing around with Azure Cognitive Services. And finally i know how to do it properly in my bachelor work. Thank you very much.
You’re welcome!
Thanks!
Oh no thank you for the support my friend!
Very good guide, thank you! :)
Moin
Thanks!
Amazing Gerald! Will play around with this.
Thank you! Let me know how it goes!
Thank you for a great video Gerald!
Is there a way to store the final result of RecognitionText. I'm trying to move the final result to another label. I can do so as long as as the ExtraSpeechInputCompleteSilenceLengthMillis intent is commented out. But I need to use a 10 sec ExtraSpeechInputCompleteSilenceLengthMillis intent. When I enable this intent, any code past the speechToText.Listen(...) call is never reached and I'm unable to access the final result of RecognitionText.
Thank you for all of your videos.
10/10 tutorials
Thanks Cary! Appreciate it 🥰
How did you get the mirror device on screen? I am using Rider, is it a visual studio thing only?
Nope it’s a built-in program in Windows 10 and 11 called Phone Link. Doesn’t work with all Android phones though.
Thanks, just solved a problem for me. Hey any chance on a video on how to use Dotfuscator with Maui.
Hi @Gerald Versluis , i have made it STT as you suggested before and working enhancing with NLP process , Thank you
That is great! Glad you found something that worked for you!
do you know any implementation for text recognition using .net maui or xamarin?
Hi Gerali,
Thanks for this video.
Thanks for watching!
@@jfversluis Please create one video on login with Gmail and LinkedIn in MAUI
so would i be able to use speech to text from an audio file or stream NOT from microphone?
I don't think that is supported right now
@@jfversluis thanks for replying. I guess I'm going to have to work around by playing the audio recording and resample it via speechtotext
@@jfversluis btw your videos are great. Very helpful
@@earthlingthings appreciate it, thanks!
very cool.
I'm waiting for an episode for the management of photography and the camera
You mean something like this? Pick and Capture Images & Videos with Xamarin Essentials MediaPicker
ua-cam.com/video/AYfGxhEHiec/v-deo.html
@@jfversluis Wow, great. I meant just that. Thank you for the link
Awesome, works well however no matter what values I pass for ExtraSpeechInputMinimumLengthMillis and ExtraSpeechInputCompleteSilenceLengthMillis, the behavior of the listener does not change. This is on a Samsung Galaxy Android phone. 🤔
Check the project repo for issues or open one!
Hi, Gerald! Thanks for your video!
In this implementation, shouldn't we first make sure that the service is successfully injected into the MainPage so as not to cause errors on other platforms for which we haven't registered the service? How do we do this correctly?
That is correct! This is assuming that you will be implementing this for all platforms.
If you would want to use it for just 1 platform right now either make dummy implementations for the other platforms that simply don’t do anything or not use dependency injection and use a static instance and make sure that code only runs on Android
Any word on whether there will be a cross platform package to support speech recognition?
Already included in the .NET MAUI Community Toolkit!
@@jfversluis omg you're up, it's like 3am here where I am, thank you, I'll look into it
@@jfversluis By the way, new sub as of a couple of days ago. I love your videos, they're perfect and to the point. Keep it up!
Haha don’t work for too long! Thanks for joining my channel, appreciate it!
Hello Gerald can you make a video .net Maui filesystem helper? I want to display a folder that has mp3 files from the music folder inside the Android storage, many thanks 👍
Thank you so much.
Waiting for your development to transcribe mp3 files with .net maui.
That is very specific! Not sure I will get to that tbh :)
@@jfversluis I believe that you can do it.
Sure, but the question is if I will 😄
@@jfversluis you will, because you are developer.
Please, make a video of how to monetize with maui on adsense.
Hey, Gerald!
Thanks for your video! You are helping the MAUI community a lot!
Please, could you talk about the following MAUI code?
public static readonly IPropertyMapper CustomMapper =
new PropertyMapper(Mapper)
{
[nameof(IMap.Pins)] = MapPins,
};
...
This code is from "Vladislav Antonyuk", article "Customize map pins in .NET MAUI" .
I didn't get how the following line works:
"[nameof(IMap.Pins)] = MapPins"
Thank you so much!
This should help with that: learn.microsoft.com/dotnet/maui/user-interface/handlers/create?view=net-maui-7.0#create-the-property-mapper
@@jfversluis Thank you, Gerald! I'll take a look at that!
شكرا على معلومات
You're very welcome!
Hello Gerald
This looks great and what I need for my small project however.
I have downloaded the example from GitHub, with no changes from the downloaded zip source, however when I Run the app on my Android Device, the permission windows show I select the allow only while using the app option same as the yourtube vdieo, but then receive the Alert from this
await DisplayAlert("Permission Error", "No microphone access", "OK");
and then also show that error every time I try to run the app
Also there is a CS0246 error in the error list
Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'SpeechToTextImplementation' could not be found (are you missing a using directive or an assembly reference?) MauiSpeechToTextSample (net7.0-maccatalyst) C:\Code\MauiSpeechToTextSample-main\MauiSpeechToTextSample\MauiProgram.cs 24 Active
any suggestions
Thanks
Either remove the macOS target from your csproj or also implement macOS
@@jfversluis Hello Gerald , Thanks for your Reply
have spent about the last 3 hours on this one, trying to work out what may create this error.
Some more information for you, I uploaded the same code to my Surface Duo, as is Android 12.1 and worked no problems
so, thinking that was my old test phone, which is a moto g9 plus with Android 11, but the mic works in other apps?
I thought maybe was because is not connected to a Gmail account but need to be connected for a service? so I connected to my Gamil account so the same error.
So, I factory reset the device (moto g9 +), setup clean install, and uploaded the code, same error.
So, I unlocked the phone and upgraded to android 12.1 (Linage OS) on the Moto g9+ in case MAUI only is supporting Android 12+, and still the same error., once again the built-in voice recorder works.
So am at a lost to what it could be at this point,
Bit unsure to move forward with the project as seem strange to work on one phone and not another.
open to your thoughts?
Thanks - Alex
You say “the same error” but what is the error exactly?
@@jfversluis Hello
Again thanks for you reply
So I have done a little more testing
The error is from line 54 in the MainPage.xmal.cs
wait DisplayAlert("Permission Error tagged ", "No microphone access", "OK");
I have tried this same code on a number of devices now
2 different Moto g9+ both as the android 11 version from Motorola both failed with the line 54 error on the devices screen
1 of these moto g9+ devices I upgrades to android 12 Linage OS 19 and received that same error line 54 error on the devices screen
I have also tested on Nokia 7.2 Android 11 version from Nokia and failed with that same line 54 error on the devices screen
I have also tested on mu Surface Duo 12.1 and works
Tested on a Moto 20 Fusion Android 12 and works
And a old Samsung Galaxy Tab S Android 6.0.1 , and to my Suprise worked, after turning off fast deployment to get the build to upload to the old Android.
So at the moment this code / method seems to work on about half the devices I have tested it on.
Is there another permission required for these devices for mic access ?
Thanks - Alex
Hello Gerald
Or anyone who may be having this same issue
Any thoughts, as to why only working on half of devices?
Is there a way to test, what permission is failing on ?
Thanks - Alex