Flutter Speech To Text Tutorial | Voice Recognition App iOS & Android Tutorial

  Рет қаралды 13,077

Hussain Mustafa

Hussain Mustafa

9 ай бұрын

💼 Book a meeting: cutt.ly/gwmvJbPQ
💎 Ultimate Flutter UI Kit: cutt.ly/3w6tqwFA
In this video, I am going to show you a how to create a speech to text app using Flutter, Dart and the Speech To Text plugin for Flutter available on pub.dev. We will take a look at installing the speech to text package, setting it up properly for iOS and Android, and then using the package to perform voice recognition on device for iOS and Android. Whether you're a beginner or an experienced user, this guide will help you set up and navigate through the process of creating speech to text (stt) app using Flutter. This is an excellent guide for beginner Flutter developers.
Resources:
Source Code: cutt.ly/owbvUTJN
Speech To Text Package: pub.dev/packages/speech_to_text
Socials:
Website: hussainmustafa.com
Github: github.com/hussain-mustafa990
LinkedIn: / hussain-mustafa-960920184
Twitter: / hussain34274892
Buy Me A Coffee: cutt.ly/gwmvJbPQ

Пікірлер: 96
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
Download Source Code From Here: cutt.ly/owbvUTJN
@user-rr6gs2fj8s
@user-rr6gs2fj8s 8 ай бұрын
source code is empty
@m_hussain_mustafa
@m_hussain_mustafa 8 ай бұрын
Hi@@user-rr6gs2fj8s I just checked and the source code is avalible and is not empty.
@justegouclounon9839
@justegouclounon9839 3 ай бұрын
I downloaded the code and run on my phone. No error but not working for me (nothing showed while I speak)
@moneyman-ne9lw
@moneyman-ne9lw 9 ай бұрын
Thanks for another great video brother. I didn't know we could do this in Flutter. Awesome work.
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
You’re welcome. 😇
@MHM-jy4uj
@MHM-jy4uj 9 ай бұрын
Amazing step by step tutorial. Worked on iOS for me like a charm.
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
Glad to know it worked for you.
@preneure
@preneure 9 ай бұрын
Thanks for providing this valuable content.
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
You’re welcome. ☺️
@ronyhassanroman
@ronyhassanroman 9 ай бұрын
The app shows the confidence level. Thats really unique for me. Thank you ❤
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
Yes that is indeed a very cool feature.
@abhisheksharma8295
@abhisheksharma8295 2 ай бұрын
this is the smoothest video I have seen for speech-to-text. great work
@m_hussain_mustafa
@m_hussain_mustafa 2 ай бұрын
You're welcome.
@RonyHassan47
@RonyHassan47 9 ай бұрын
Another awesome video. Thank you so much
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
Glad you liked it.
@manalamjad9989
@manalamjad9989 6 ай бұрын
This tutorial was so helpful thank you
@m_hussain_mustafa
@m_hussain_mustafa 6 ай бұрын
You're welcome.
@lamiyaislam9267
@lamiyaislam9267 9 ай бұрын
Best channel for flutter developer
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
Thank you for your support.
@user-mq6vy5mh1c
@user-mq6vy5mh1c 9 ай бұрын
Awesome video. Love it
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
Glad you enjoyed it
@smv1949
@smv1949 9 ай бұрын
Nice video!!
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
Thank you very much.
@rahmanauf5584
@rahmanauf5584 5 ай бұрын
Great video but im having trouble to find a compatible dialogflow version with speech to text, any tips on finding the correct version that is compatible with each other.
@m_hussain_mustafa
@m_hussain_mustafa 5 ай бұрын
Hi, I have no idea about dialogflow, your best bet would be Google.
@07c1-phamvungocchau2
@07c1-phamvungocchau2 3 ай бұрын
Thank you very much
@m_hussain_mustafa
@m_hussain_mustafa 3 ай бұрын
You are welcome
@jense.465
@jense.465 8 ай бұрын
Thanks a lot Hussain! I've been trying to make an application where I can give commands using speech to text. I was looking for a good crossplatform framework. Tried react-native (expo and native) but doesn't seem to support speech-to-text properly (always getting deprecated error for packages). After All of this struggle I've invested my time in flutter to see if this supports it better. Your tutorial is perfect!
@m_hussain_mustafa
@m_hussain_mustafa 8 ай бұрын
Glad I could help! :)
@ThePilli41
@ThePilli41 9 ай бұрын
Hello there, thank you for the tutorial. Any plans on making the github repo public?
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
You're welcome. The source code is available already by using the link in the first pinned comment or description. Thanks.
@mrinalpalit6933
@mrinalpalit6933 Ай бұрын
This tutorial was so helpful me but Can i dynamically change the time duration of speech. Like, when I will press and hold the button only this time it's listening the speech. This time be like may be 1 minute or 2 minute.
@m_hussain_mustafa
@m_hussain_mustafa Ай бұрын
Hi, that’s not possible with this account package as it automatically cuts off listening after a defined period.
@mycloudvip
@mycloudvip 5 ай бұрын
Great example! Can the language be set according to users current settings and then allow to quickly change it to any other available language? Is this a native API from either iOS and Android? so there is no payment needed from Azure, AWS or Google Speech? Thanks
@m_hussain_mustafa
@m_hussain_mustafa 5 ай бұрын
Yes the language can be changed to any available locale on the device! Yes this package targets native API on android and iOS so no payment is required.
@how5235
@how5235 8 ай бұрын
Thanks bro for this video I have one problem,, i want the mic keep listening till i stop it manually. Is that possible
@m_hussain_mustafa
@m_hussain_mustafa 8 ай бұрын
Hi, thanks for your comment. I believe this will not be possible due to the underlying platform limitations imposed by apple and google. I believe on android speech recognition automatically stops when the user stops talking and I think its similar for iOS as well.
@shuqiangfeng4011
@shuqiangfeng4011 8 ай бұрын
Thanks for the amazing video, can the package transcribe other languages , like Chinese ?
@m_hussain_mustafa
@m_hussain_mustafa 8 ай бұрын
As long as the locale you are trying to transcribe is available on the device you should be able to use this technique. If the locale is not available on the device then some other solution might be required.
@kadirhakan-le3sz
@kadirhakan-le3sz 5 ай бұрын
Thanks very much for the video. How can I do this in the form of constant listening? Or how can I run it in the background as an assistant application? Thank you again.
@m_hussain_mustafa
@m_hussain_mustafa 5 ай бұрын
Hi, Due to privacy concerns and limitations there in this plug-in cannot be used for continuous listening ot background listening.
@sonusuresh6642
@sonusuresh6642 4 ай бұрын
@@m_hussain_mustafa is there any other way we can acheive background listening?
@haiderjaafer8164
@haiderjaafer8164 8 ай бұрын
Great... Can this support both English and Arabic at same time example... اريد ان اقوم بإصلاح ال fan... Hope got my idea
@m_hussain_mustafa
@m_hussain_mustafa 8 ай бұрын
Only one language at one time is supported. You'd have to use another solution to achieve the functionality you are looking for.
@haiderjaafer8164
@haiderjaafer8164 8 ай бұрын
@@m_hussain_mustafathank you for responding... So what others functionality that can use or others solutions can achieve this
@user-ti6lq8uy2q
@user-ti6lq8uy2q 7 ай бұрын
Can I use it to translate from speech to text in snother languagge like italian?
@m_hussain_mustafa
@m_hussain_mustafa 7 ай бұрын
If the Italian language locale is installed on device then yes you should be able to. I'd recommend taking a look at the documentation for this plugin.
@RaiyanHassan-yd1jj
@RaiyanHassan-yd1jj 9 ай бұрын
An awesome video
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
Thank you.
@englishplease8726
@englishplease8726 4 ай бұрын
Does it work for another language such as Hindi, French etc.... Do we need another package? ... please do provide other package 🙏
@m_hussain_mustafa
@m_hussain_mustafa 4 ай бұрын
Hi, This package would work with what ever locales are installed on a particular device. If French locale is installed then it should work otherwise not.
@AdhamFaisal875
@AdhamFaisal875 5 ай бұрын
can you improve it like Sight Words Coach ?
@m_hussain_mustafa
@m_hussain_mustafa 5 ай бұрын
Hi, but I do not know about the Sight Words Coach app.
@MarkLeoChiu
@MarkLeoChiu 10 күн бұрын
does it can use in offline environment?
@m_hussain_mustafa
@m_hussain_mustafa 10 күн бұрын
I belive that is not possible. The package requires internet access.
@loydvincentbutron4345
@loydvincentbutron4345 3 ай бұрын
is this only applicable to english language? i want te create something like this with our own dialect
@m_hussain_mustafa
@m_hussain_mustafa 3 ай бұрын
Hi, Any locale installed on your device is supported. Take a look at the documentation for the plugin to learn more about this.
@noormaizatulaliyahjohanrafizi
@noormaizatulaliyahjohanrafizi 7 ай бұрын
hye, after launching the emulator, why my emulator still blank with G logo? and if im using web chrome, its blank?
@m_hussain_mustafa
@m_hussain_mustafa 7 ай бұрын
I believe there is an error somewhere in your code causing a runtime exception.
@user-nr4rl8ui1z
@user-nr4rl8ui1z 4 ай бұрын
Sir can you help me make it listen forever I mean when I click the button and nothing gets recorded for 5 seconds it stops but I want it to be more or forver if possible please help me
@m_hussain_mustafa
@m_hussain_mustafa 4 ай бұрын
Hi, Continuous listening is not possible with this plugin.
@bburningpirate7087
@bburningpirate7087 3 ай бұрын
​@@m_hussain_mustafa Sir is there some way to convert voice to text continuously without pressing and keeping the button..like if it's on, it will keep on converting Please reply as soon as possible sir..
@bburningpirate7087
@bburningpirate7087 3 ай бұрын
Hey, did you get some other way to do so?
@abhisiktadash5251
@abhisiktadash5251 2 ай бұрын
How speech_to_text work according to the api in apps like dummy api in flutter
@m_hussain_mustafa
@m_hussain_mustafa 2 ай бұрын
I don't understand your question.
@abhisiktadash5251
@abhisiktadash5251 2 ай бұрын
I am saying apps work according to my voice like in app there is order screen and I will say open order screens or I will say order this thing like that
@abhisiktadash5251
@abhisiktadash5251 2 ай бұрын
Like I am in cart I will say place order it will place the order through voice and order placement apis will call
@m_hussain_mustafa
@m_hussain_mustafa 2 ай бұрын
This is an application of an AI voice assistant and is quite complicated than just simple speech to text.
@neerajjangid9622
@neerajjangid9622 5 ай бұрын
There is issue, if we do not start by pressing the button , if we do not say anything then , it do not atumatilcy off, it's status always be isNotListening = true, it never come to isNotListening = true
@m_hussain_mustafa
@m_hussain_mustafa 5 ай бұрын
This is not an issue but actually the default behaviour. The reason for this is due to privacy concerns as you cannot have the device always listening.
@lyricsgo6873
@lyricsgo6873 2 ай бұрын
is there any downloadable apps like this out there?
@m_hussain_mustafa
@m_hussain_mustafa 2 ай бұрын
Hi, I believe there are apps on the AppStore and google play store that support dictation. Moreover your phones keyboard might also have this feature.
@lyricsgo6873
@lyricsgo6873 2 ай бұрын
true, but I want something that I can monitor the confidence level. I am wishing for an apk of what you made if that is not a bother
@m_hussain_mustafa
@m_hussain_mustafa 2 ай бұрын
@@lyricsgo6873 This should work for both iOS and Android.
@sahilkachhap
@sahilkachhap 5 ай бұрын
Sir will it convert speech to text if user speaks in their native language ?
@m_hussain_mustafa
@m_hussain_mustafa 5 ай бұрын
Hi, I believe if the user has a specified locale installed on their phone, you can switch the speech to text capabilities to transcribe that language.
@sahilkachhap
@sahilkachhap 5 ай бұрын
@@m_hussain_mustafa ok got it sir. Thank you 🙏
@AllInOne-jg5qx
@AllInOne-jg5qx 7 ай бұрын
It stops listening after a bit of silence. It's not filling the requirement this way. Anyone has any better idea here?
@m_hussain_mustafa
@m_hussain_mustafa 7 ай бұрын
This is functionality imposed on Android and I believe iOS due to privacy concerns.
@poptechmalayalam5587
@poptechmalayalam5587 7 ай бұрын
Can i store this voice to files
@m_hussain_mustafa
@m_hussain_mustafa 7 ай бұрын
You might want to use a different package if you're looking for recording user audio from microphone.
@sil2334
@sil2334 Ай бұрын
This works on web but not android for me
@m_hussain_mustafa
@m_hussain_mustafa Ай бұрын
The plugin should work on Android and iOS as well. Did you add the necessary permissions to the android manifest?
@sil2334
@sil2334 Ай бұрын
@@m_hussain_mustafa yes but it's not consistent, sometimes it works sometimes it doesn't
@TechAddax
@TechAddax 9 ай бұрын
not working on real device android 11
@m_hussain_mustafa
@m_hussain_mustafa 9 ай бұрын
Have you enabled the appropriate permissions for Android?
@ew0x546
@ew0x546 8 ай бұрын
i am clicking the button and talking but nothing happens. Why do you think that happens?
@m_hussain_mustafa
@m_hussain_mustafa 8 ай бұрын
Hi, Which platform are you using to test your app? Have you added the necessary permissions required for listening to audio and transcribing it?
@ew0x546
@ew0x546 8 ай бұрын
​@@m_hussain_mustafa I use vscode flutter emulator. Yes I added but i will check it again maybe i added wrong place.
@ew0x546
@ew0x546 8 ай бұрын
Ok i tried it in different emulator it works now. Thank you.Can we use it with different languages or it is just for english ?
@m_hussain_mustafa
@m_hussain_mustafa 8 ай бұрын
@@ew0x546 As long as the locale for a specific language is present on device this strategy should work. Otherwise, you may have to use another solution.
@ew0x546
@ew0x546 8 ай бұрын
@@m_hussain_mustafa okayy thank you
@jupiter34000
@jupiter34000 5 ай бұрын
You earned a dislike for click-baiting me by putting an iPhone screen on the thumbnail
@m_hussain_mustafa
@m_hussain_mustafa 5 ай бұрын
Hi, I do not believe this to be clickbait as this plugin works for both iOS and Android. So the tutorial should apply to both platforms. Thanks.
Best FREE Speech to Text AI - Whisper AI
8:22
Kevin Stratvert
Рет қаралды 909 М.
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 95 МЛН
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 24 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 18 МЛН
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 106 МЛН
Text recognition in Flutter in 2023 - create a OCR scanner app
13:52
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 731 М.
Flutter Speech to Text - It's so Easy #flutter
10:03
Proto Coders Point
Рет қаралды 1,2 М.
Best Free Speech-To-Text APIs and Open Source Libraries
7:33
AssemblyAI
Рет қаралды 184 М.
Google Kills Flutter? What Is Happening With Flutter.
6:25
Hussain Mustafa
Рет қаралды 12 М.
Build a Gemini Voice Assistant in Python
23:03
Ai Austin
Рет қаралды 11 М.
Voice Recognition App In Flutter - Speech To Text App Using Flutter
15:36
Что не так с яблоком Apple? #apple #macbook
0:38
Не шарю!
Рет қаралды 485 М.
Blue Mobile 📲 Best For Long Audio Call 📞 💙
0:41
Tech Official
Рет қаралды 1 МЛН
Спутниковый телефон #обзор #товары
0:35
Product show
Рет қаралды 2,1 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,7 МЛН