Unity Tutorial: Voice Interaction for Android and iOS

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • Today Matthew Hallberg shows us speech to text and text to speech in Unity for Android and iOS so you can add voice interaction to your apps or games.
    PingAK9's plugin: github.com/Pin...
    Stay in Touch with Third Aurora
    --------------------------------------------------------
    Website: thirdaurora.com/
    Facebook: / third-aurora
    Instagram: / thirdaurora

Komentáře • 225

  • @gameprogramming6550
    @gameprogramming6550 Před rokem +1

    Thank You Man ! in 2023 I was searching on Unity Store and Google for a plugin for the Android project. Working 100%. Thanks again.

    • @nickwinbritto7674
      @nickwinbritto7674 Před rokem +1

      The permission window for microphone is not popping in the app so the speech to text is also not working any solutions?

    • @noizu6022
      @noizu6022 Před 2 měsíci

      ​@@nickwinbritto7674hello have you fix the problem? I can't see it too

  • @AnotherPrashanth
    @AnotherPrashanth Před 4 lety +2

    Great Tutorial, I love the explanation !
    I'm here because Matthew stopped uploading tutorials on his channel😥

  • @shirimm
    @shirimm Před 2 lety +3

    Since a couple of months ago this plugin causes a crash on recognized speech when the pop-up is not enabled. Does not seem like a fix is on the way.

  • @alfonsoibi
    @alfonsoibi Před 2 lety +3

    Hello, I have a problem when I run the sample application on a samsung s22+, when I press, it starts to recognize the text perfectly, but, when I release, the application crashes. Any idea what can happen? thanks and great job!

    • @generichuman_
      @generichuman_ Před 2 lety +2

      Same issue, let me know if you figure it out

    • @generichuman_
      @generichuman_ Před 2 lety +2

      a temporary workaround is to re enable the "is show popup android" bool on the speech to text script, then just use the popup modal. This resolves the error. Not perfect though, still want to figure out what's causing it. I noticed in the code that when the bool is false, it calls a java class from com.starseed.speechtotext.Bridge, so maybe it's a java issue

    • @jessycafonsecaaraujo385
      @jessycafonsecaaraujo385 Před rokem

      ​@@generichuman_ Hello!! I had the same issue and thanks to your comment, it worked. Have you found out how to make it work without enabling the popup? Thanks

    • @hassanbennajma5155
      @hassanbennajma5155 Před rokem

      how to make it work without enabling the popup?

  • @melodyuool8771
    @melodyuool8771 Před 2 lety +2

    Hello. This tutorial helped me a lot. but STT isn't running. I think StartRecording works, but the application is forcibly closed for some reason when the StopRecording. I want to analyze this, but i can't see the plugin. Do you have any solution? My phone OS is Android 11.

  • @nickwinbritto7674
    @nickwinbritto7674 Před rokem +1

    The permission window for microphone is not popping in the app so the speech to text is also not working any solutions?

  • @WhimsyCottage
    @WhimsyCottage Před 4 lety +2

    'PBXProject.GetUnityTargetName()' is obsolete: ''This function is deprecated'. There are two targets now, call GetUnityMainTargetGuid() for app.
    When i change the line of code to string targetName = PBXProject.GetUnityMainTargetGuid();
    it says: error CS0120: an object reference is required for the non-static field, method or property 'PBXProject.GetUnityMainTargetGuid()'
    Trying to get it to work on Android + Vuforia

  • @shilpar1121
    @shilpar1121 Před 3 lety +2

    When used for Oculus Quest 2, Text to Speech functionality line of code --- TextToSpeech.instance.StartSpeak(message);
    On executing getting error as -
    "W/TextToSpeech: speak failed: not bound to TTS engine"
    Any idea how to resolve this ??

  • @masterchange8155
    @masterchange8155 Před rokem +1

    Great tutorial but when i come to run STT the app crashes. I am developing on Unity 2019 and running on a Pixel 6A. I have triple checked the code and it is the same as yours... so any idea how i debug? Nothing appears in console before it crashes... TTS works great
    thanks for any help you can offer

    • @thevisualshaman
      @thevisualshaman Před rokem +1

      Have you been able to find a solution? I am coming across the same error

    • @thevisualshaman
      @thevisualshaman Před rokem +1

      @masterChange8155

    • @hassanbennajma5155
      @hassanbennajma5155 Před rokem

      Have you been able to find a solution? I am coming across the same error

    • @masterchange8155
      @masterchange8155 Před rokem +1

      @@hassanbennajma5155 no - i ended up buying a solution as wasn't getting anywhere on this - one small issue flummoxed the whole thing

  • @KingJames586
    @KingJames586 Před 9 měsíci +1

    Not working at all at the moment. Assume the repo needs to be updated which will require a Java rewrite and recompile.

  • @gilanganandaakbar708
    @gilanganandaakbar708 Před 2 lety +1

    hello someone can help me? in my 2020 unity version, permission microphone not appear, can somebody help me fix this? thank you

  • @AvivXR
    @AvivXR Před 4 lety +7

    Great tutorial. Very helpful. Is there a way to start listening to speech without pressing a button?

    • @audacityfilmsproductions5334
      @audacityfilmsproductions5334 Před 4 lety

      That’s what I want to know, I switched from Windows to iOS and everything’s wonky.

    • @klortak
      @klortak Před 4 lety

      did you get this figured out? I've been trying to but I'm pretty new to coding in c#.

    • @vedantkadam2147
      @vedantkadam2147 Před 3 lety +1

      @@SilverEchoDreamer ya i did the same it works

    • @surferlab2829
      @surferlab2829 Před 3 lety

      Hi @@vedantkadam2147, Could you share how did you do it please ?

    • @resulmustafa4070
      @resulmustafa4070 Před 3 lety

      Hello I couldn't do without STT android popup. Popup does not work when false. Please help me

  • @aboutgamemaking
    @aboutgamemaking Před 4 lety +3

    I really thank you for the tutorial!
    It is GREAT!

  • @ashlington79
    @ashlington79 Před 3 lety +2

    Got this working now, its great :)
    I would like to know how to mute the beep notification sound (uses ringer volume on Android) when it starts & stops recording. Thanks

    • @MagicalSAMElectronics
      @MagicalSAMElectronics Před 3 lety

      i want to know the same...Did you find a solution for this?

    • @ashlington79
      @ashlington79 Před 3 lety

      @@MagicalSAMElectronics no unfortunately, I suspect it's something that would need to be done within the plug-in

    • @MagicalSAMElectronics
      @MagicalSAMElectronics Před 3 lety

      @@ashlington79cool...thanks

    • @leoportopassos
      @leoportopassos Před 3 lety

      I have the same doubt... Can anyone help, please?

  • @tombruckner2556
    @tombruckner2556 Před rokem +1

    Thanks for the tutorial!

  • @nelsongomez8547
    @nelsongomez8547 Před 2 lety +1

    Hello friend, I hope you're very well.
    Excellent your video.
    Is possible use ML-agents in this project?
    If you answer is "yes", Could give me some resource, video... As help, PLEASE..
    I need information for i begin

  • @letmedwight
    @letmedwight Před 3 lety +1

    How can I compare the spoken words, e.g. like using Windows.Speech; with: "if (args.text == m_Keywords [0])", where what is said is compared with the entered sentence from the array "[0]" and the if query is then executed if it matches?

  • @tonytran07
    @tonytran07 Před 3 lety +2

    Wait...... Android and IOS has STT and TTS for free built-in?!!!!

  • @jzjMacwolfz
    @jzjMacwolfz Před 4 lety +1

    thanks man for the explanation! really good!
    Encountered an unexpected glitch..ish?
    When the volume is up the recognition takes almost ten seconds to recognize, without volume it's instantly, I'm trying to check why is that happening

  • @ivanrodriguezovin
    @ivanrodriguezovin Před 3 lety +3

    Hi everyone! First of all, thanks for the tutorial! TTS is working fine, but STT isn´t. What could it be? My OS is Android 11 and the LANG_CODE i´m using is 'es-ES', i don´t know if that affects

  • @kora_lee
    @kora_lee Před rokem

    9:40 Thank you for the tutorial!

  • @richardmorgan9708
    @richardmorgan9708 Před 11 měsíci

    Great video! Is there a better way to handle STT and TTS on iOS with Unity in 2023?

  • @josephallancruz4867
    @josephallancruz4867 Před 2 lety +1

    thanks for the tutorial sir. is there any way to save the audio after converting the speech to text? thanks a lot

  • @vineetbhat1114
    @vineetbhat1114 Před 4 lety +2

    Hi, I did the exact thing as in the video but my android app is not asking for microphone permissions. Can anyone help?

    • @tborth
      @tborth Před 3 lety +1

      Same issue ?? Did it fix

  • @ferdibayir2433
    @ferdibayir2433 Před 4 lety +1

    That's amazing bro! Thank you very much ^^

  • @robinleprince7172
    @robinleprince7172 Před 4 lety +2

    Is it possible to make it work in the Unity Editor?

  • @bardockevans6014
    @bardockevans6014 Před 5 měsíci

    Hello good afternoon, I have the following problem: when the start listening is executed in the mobile build, it crashes. I'm not sure why this could be happening. Any ideas?

  • @DimitryArsenev
    @DimitryArsenev Před rokem +1

    Plugin not work anymore - github project just make crash app.

  • @Quantum_Tripathi
    @Quantum_Tripathi Před 7 měsíci

    This work fine but i need audioclip so that i can perform lipsync. Thanks

  • @perpixlstudios5144
    @perpixlstudios5144 Před 3 lety +1

    HELP PLEASEEEEEEEEEE................................
    How can I compare the spoken words, e.g. like using Windows.Speech; with: "if (args.text == m_Keywords [0])", where what is said is compared with the entered sentence from the array "[0]" and the if query is then executed if it matches?
    THANKS IN ADVANCE

  • @yasasvitennety4885
    @yasasvitennety4885 Před rokem

    Hi, thanks for the tutorial. But it doesn't seem to be worlong for me. The app builds and the google microphone popup works, but it does not show the recorded audio on the text component attached. This leads me to believe that it's not working properly

  • @kasundodanwala
    @kasundodanwala Před 6 měsíci

    I get this error saying "probably the android SDK is read only", which doesn't seem to be the case. Something is wrong with the plugins or assets. There're no compilation errors. It's just build errors. Anybody know to fix them?

  • @DaringKreatif
    @DaringKreatif Před 2 lety +1

    hi Matthew, is this possible to speech in other language?

  • @jjaylee6095
    @jjaylee6095 Před rokem

    Why do I click two out, one down and one up, and then when importing to the phone, press the blue square and it will flash back

  • @maythesciencebewithyou
    @maythesciencebewithyou Před 3 lety +1

    How much extra size does this give your app?

  • @gaboandres
    @gaboandres Před 2 lety

    Great VIdeo! Really appreciated!

  • @mageshwaranr1453
    @mageshwaranr1453 Před 4 lety

    Amazing man. How to reduce the speaking speed in start speaking cube?

  • @muntasirangeles7722
    @muntasirangeles7722 Před 10 měsíci

    how to fix the crash when it detects what you said? please help me coz this for my capstone project :(

  • @snubnosegenopeak
    @snubnosegenopeak Před 3 lety +3

    Great tutorial! Thanks! Anyone know how to get rid of the beep notifications sounds?

    • @ashlington79
      @ashlington79 Před 3 lety

      Hi, did you ever work this out? its very annoying :D

    • @hasancolak2270
      @hasancolak2270 Před 3 lety

      For now, the only way I know is to set my phone on silent.

    • @justinwhite2725
      @justinwhite2725 Před 3 lety

      Likely not possible. It's a security/privacy feature of the phone (same as the shutter snapping sound whenever you take a picture with your phone)

  • @hehsusss
    @hehsusss Před 3 lety

    Trying to include this in an existing project but can't get it to work. Got the Plugins (deleted androidmanifest) and SpeechAndText folder as mentioned but when I test it on my app it won't play anything. Just in case, I also build an apk from the UnityProject included and that works.

  • @mathieutimba8996
    @mathieutimba8996 Před 4 lety +2

    Hi , thanks for this tutorials.
    I got a XCode build error :
    Undefined symbols for architecture arm64:
    "_OBJC_CLASS_$_SFSpeechAudioBufferRecognitionRequest", referenced from:
    objc-class-ref in SpeechRecorderViewController.o
    "_OBJC_CLASS_$_SFSpeechRecognizer", referenced from:
    objc-class-ref in SpeechRecorderViewController.o
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    any idea ?
    Thanks
    Mat.

    • @mohamedmmc
      @mohamedmmc Před rokem +1

      same
      i got the exact same error, did u handle this error ?
      please tell me how

    • @Quantum_Tripathi
      @Quantum_Tripathi Před 7 měsíci

      Add speach recognition platform in your xcode your problem will be solve

  • @hajarakotoarimahaisaiaprec8452

    First of all big thanks for the tuto. I have a question. For the TTS French language is available?

    • @nickwinbritto7674
      @nickwinbritto7674 Před rokem

      The permission window for microphone is not popping in the app so the speech to text is also not working any solutions?

  • @ashishv1185
    @ashishv1185 Před 4 lety +2

    Hi Matthew, nice tutorial on that native textspeech plugin. Pls help, trying to find how to make the tts voice be feed to SALSA lipsync model, as the voice is playing through the native plugin. By the way, I have tried it with EASY AR SDK and text to speech working cool. Just making it work with SALSA lip sync, can you share some guidance on it.

    • @user-ws1lw2kx2s
      @user-ws1lw2kx2s Před rokem +1

      Just saw this recently, have you solved this problem yet? grateful!

  • @robba-tv
    @robba-tv Před 2 lety

    Greate tutorial. but not working on recent android version device with STT. I Couldn't find the reason :(

  • @nguyenhuynhhaidang93
    @nguyenhuynhhaidang93 Před 3 lety

    thank you for tutorial, how to build with high API(ex:24), I build with arfoundation, but your plugin have API low

  • @dubeybhai6918
    @dubeybhai6918 Před rokem +1

    thanks

  • @soundmartell
    @soundmartell Před rokem

    Hey, thanks. When I copy the plugin and SpeechAndText folders to the asset folder i get this errors: 1- 1 - The type or namespace name 'iOS' does not exist in the namespace 'UnityEditor'
    2 - The type or namespace name 'PBXProject' could not be found (are you missing a using directive or an assembly reference?

    • @omaral-laham8655
      @omaral-laham8655 Před 11 měsíci

      make sure your version has ios support available

  • @jingf5356
    @jingf5356 Před 4 lety +1

    Amazing tutorial. The TTS voice on my Android device sounds really weird, nothing like yours. Is there any other language code I can use besides "en-US"?

    • @jingf5356
      @jingf5356 Před 4 lety +2

      I found the reason. It's the TTS voice lib on my phone.

  • @jt9564
    @jt9564 Před 2 lety

    Awesome, am I able to add voice command to a button, example: start game, then the game starts?

  • @rnjt8960
    @rnjt8960 Před rokem

    Hello admin, now I start learning develops android apps, I done every steps that you show on this video, everything look fine until I clicked record voice on my phone, the program has crashed, it seems there is only voice recording that leading to this. After it showed what I speak then it crashed I don’t know how to fix this 😢😢😢

  • @jaybob19904
    @jaybob19904 Před rokem

    Is it possible to get this to work for a pc application I only need the text to speech function but I need it to read the text of a specific part and then speak it while it updates. Any help on this would be greatly appreciated.

  • @levrisfirst3291
    @levrisfirst3291 Před rokem

    It ONLY workeble for android and no WINDOWS support ?

  • @dclxviclan
    @dclxviclan Před 2 lety

    Perfect practice

  • @acayipacayipseyler8703

    Hi. This works on all android devices, but ios 14 also comes with a black screen and the application does not open.
    There is no problem with ios 13.

  • @newstrangerX
    @newstrangerX Před rokem

    how i can remove the sound of start listening is started and end sound? please

  • @aayushjain9562
    @aayushjain9562 Před 3 lety

    Great tutorial. Any resources or leads to use the generated audio from text to speech for lip syncing?

    • @alexbethke8665
      @alexbethke8665 Před 2 lety

      Microsoft Azure can provide text to speech voice generation along with visemes data for lipsyncing

  • @diamondglitter205
    @diamondglitter205 Před 2 lety

    thank you!. Does it use Google speech services under the hood? and is it free for thousand of users? and can it be offline?

  • @user-lw2jc2qf3i
    @user-lw2jc2qf3i Před 3 lety +1

    Hi thanks for your tutorial. May I know is there any way to use a UI Button or Image as button instead of 3D cube? Thanks in advance!

    • @gilanganandaakbar708
      @gilanganandaakbar708 Před 2 lety

      hello, r u know how to make it now? im stuck in this problem, can u help me how to use button or image instead 3d cube? thans

    • @generichuman_
      @generichuman_ Před 2 lety +3

      Little tip, the thing you are trying to do has nothing to do with speech to text, it's plain vanilla Unity functionality, so instead of asking the creator of a very specific Unity video how to do something basic and hope that he has time to get back to you, just google or CZcams "How to create a UI button in Unity". You'll get a million results and you won't have to wait. Learning how to find the information you need quickly is your biggest asset as a developer. 99% of my job as a developer is googling shit.

  • @THEJABTHEJAB
    @THEJABTHEJAB Před 4 lety +1

    This works perfectly on iOS when launched using Xcode debugger. But will show a blank screen and crash after a few seconds if run directly on the device. Tried Unity 2019 and 2020 and two iOS devices. Any ideas?

    • @DimitryArsenev
      @DimitryArsenev Před rokem +1

      On android its crash too. I think its make crash on many systems.

    • @rnjt8960
      @rnjt8960 Před rokem

      My Android too, any idea how to fix

  • @to_ciex8760
    @to_ciex8760 Před 3 lety

    how to add/change to local language? and how to check available language? thanks

  • @hashanmadusanka6128
    @hashanmadusanka6128 Před rokem

    Thank you so much

  • @pointpic
    @pointpic Před rokem +1

    Is it still valid in 2023 ?

  • @rutulthakkar9289
    @rutulthakkar9289 Před 3 lety

    how can i pass speech context phrases for better transcription for speech to text api from C# script ?

  • @dnslv_
    @dnslv_ Před 3 lety +1

    Hey, man. Do you think it's possible to achieve continuous speech recognition with this plugin?
    At the moment I coded my application to call StartRecording() as soon as it presents an error callback. But this is not very ideal.
    Thanks for the tutorial!

    • @Logan_Wolf_Online
      @Logan_Wolf_Online Před 7 měsíci +1

      (keep in mind, not tried this on mobile, so milage may vary)
      You could probably run it through the microphone command parsing loop you are using, have a command_level variable that can switch between command_level=0 (for detecting listen command), command_level=1 (for basic commands) and what not. have the "Listening" method run on a loop from the start, but have it start with command_level=0. Use whatever string query system you are making use of within a switch(command_level) block. It should not be too difficult to port that over to mobile (again, not tried mobile voice commands yet myself).

  • @Miablosumimasen
    @Miablosumimasen Před 3 lety +1

    Is there anyways to have this working for phrases? I can get the audio to be picked up but not sure how to have phrases impact gameplay

    • @amuzak9063
      @amuzak9063 Před 3 lety

      I'm working on something similar, you could have it simply look for certain keywords in the string that stores the voice input, then fire a corresponding callback based on the word/words detected. It won't be very modular, or very extensible right off the bat, but it's a starting point

    • @Miablosumimasen
      @Miablosumimasen Před 2 lety

      @@amuzak9063 Did you just use an if statement to have the code look directly for that string? Honestly, I'm not super strong in coding but I did manage to get it to work pretty seamlessly using Unity's Native Voice recognition stuff and on PC but still struggling to get it to work on mobile.

  • @toannguyenxuan4291
    @toannguyenxuan4291 Před 3 lety

    Thank you very much!!!

  • @GadgetHamster123
    @GadgetHamster123 Před 3 lety

    Was just wondering if it works on pc as well? Thinking of making a robot baddy that can dynamically say your name.

  • @leoportopassos
    @leoportopassos Před 3 lety

    Can someone help me?
    How do I display a message (eg, "I didn't hear what you said") when the user doesn't say anything and so the system doesn't hear a word?

  • @tborth
    @tborth Před 3 lety

    I my phone it not ask for microphone permission

  • @JhollQodesh
    @JhollQodesh Před 3 lety

    Hello Matthew Hallberg! Sorry for my English, I live in Brazil and I'm starting in Unity and I want to develop for IOS, I have an Ipad Pro 2020 and I know that I need a MacOS to use XCode after Unity, my doubt is: I can do the entire development process of do I play on my Windows PC and later on MacOS to use XCode or do I need to do the entire process on MacOS (install ynity on Mac too)? Another question is: I have a very low budget to buy a Mac now, if only to run XCode what is the minimum or cheapest I need to have it? (Macbook Pro, Air, Macmini)? I don't even know which old model runs Xcode. Thank you!

    • @Leto
      @Leto Před 3 lety

      Maybe you can try downloading MacOS to a Virtual Machine! And even rent a Virtual Machine (For example, Paperspace, that is a high quality perfomance virtual machine and you can pay for use hour). And also, sorry for my English, I'm a native spanish speaker haha

  • @CatanYZ
    @CatanYZ Před 3 lety +1

    Hey I did more or less everything like you but when I cloud build on ios I keep getting this :
    41: ▸ ❌; Undefined symbols for architecture arm64
    42: ▸ ❌; ld: symbol(s) not found for architecture arm64
    43: ▸ ❌; clang: error: linker command failed with exit code 1 (use -v to see invocation)
    Am I the only one ?

  • @Glitchesftw
    @Glitchesftw Před 4 lety

    For Android, when I click the microphone button in the Scene I get ERROR: Insufficient Permissions. Then when I let go, I get ERROR: Client Side Error. I have already allowed the Microphone Permissions. Can anyone help? SOLVED: I had to re-enable Voice in my Google App permissions

  • @JoaoPaulo-mk8ro
    @JoaoPaulo-mk8ro Před 3 lety

    I subscribed a method to the OnDoneCallback but it's never called, does anyone know how to solve this?

  • @mrji3g4xjp6
    @mrji3g4xjp6 Před 4 lety

    You are my HERO

  • @user-vf7be9nx3i
    @user-vf7be9nx3i Před rokem

    does any one has the problem with textmeshpro not updating?

  • @airsupply1606
    @airsupply1606 Před 4 lety +2

    Hi admin, how to do if I want to change scene using voice command?

    • @themeatynoob3886
      @themeatynoob3886 Před 3 lety +1

      Use "using UnityEngine.SceneManagement;"
      then on voice command do
      "SceneManagement.LoadScene(*SceneName*);*
      That should work

    • @airsupply1606
      @airsupply1606 Před 3 lety

      @@themeatynoob3886 thankz admin 😊👍🏻

  • @itayhilel2168
    @itayhilel2168 Před 2 lety

    loved it

  • @agrimarora111
    @agrimarora111 Před 4 lety +2

    It doesn't run with vuforia platform .

    • @MatthewHallberg
      @MatthewHallberg Před 4 lety +1

      Interesting that you commented this cause I just had the same issue today! Will update you with a fix as soon as I figure it out. Are you getting Vuforia won’t init error?

    • @agrimarora111
      @agrimarora111 Před 4 lety

      Yeah that was a main bug couldn't understand why it didn't work so did couple research like changed the License of Vuforia 2-3 times and then installed some XR plugin and rotation to potrait mode from player settings and also added a toggle button at end so while it detects the ground it doesn't create a problem on touch for the cube . It worked for me now and now I think I'm ready to complete my project thanks for the TTS and STT plugin it works perfectly now...

    • @agrimarora111
      @agrimarora111 Před 4 lety

      Can you help with combining image tracking of Vuforia with AR foundation I think there are limitations using both together ..

    • @LucasonGuitarz
      @LucasonGuitarz Před 4 lety

      @@MatthewHallberg I am having the same issue. Been trying to combine Vuforia image tracking and this TTS plugin.

    • @mariaks9525
      @mariaks9525 Před 3 lety

      @Hardik Shah having the same issue, any luck?

  • @imnotcaseoh
    @imnotcaseoh Před 2 lety

    Hey man, thanks for the video. I can't seem to find where the sample is that includes the text to speech and speech to text files. Could you help me find those files?

  • @davoodjoon
    @davoodjoon Před 2 lety

    Hi, how record voice in android smartphone ( unity3d )

  • @Pavetl
    @Pavetl Před rokem

    I think this plugin is really buggy. Anyone has an update to make it work? I would appreciate it

  • @miqdadnaduthodi7193
    @miqdadnaduthodi7193 Před 5 měsíci

    Got an error SpeechToText does not contain a defintion for instance. Pls help

    • @kaanvardar4575
      @kaanvardar4575 Před 4 měsíci

      make it Instance, not instance with the letter case sensitive

  • @audacityfilmsproductions5334

    Can you show how to do this with JUST voice commands like the user says “jump” and the player jumps in game, like a voice button.

    • @hologramsfunforever7083
      @hologramsfunforever7083 Před 4 lety +2

      Fantastic tutorial.. Thanks.. I am also struggling with the same issue (voice commands) .. !!

    • @klortak
      @klortak Před 4 lety +6

      if you still need an answer what I did is add this to my OnFinalSpeechResult method
      if (result.Contains("command"))
      {
      //do something cool
      }

    • @audacityfilmsproductions5334
      @audacityfilmsproductions5334 Před 3 lety

      @@klortak did you ever run into this error? "Undefined Symbol: _OBJC_CLASS_$_SFSpeechRecognizer" on build.

    • @audacityfilmsproductions5334
      @audacityfilmsproductions5334 Před 3 lety +1

      Don't forget to add the Speech frame work to your unity framework in xcode fellas(for ios)

    • @leoportopassos
      @leoportopassos Před 3 lety

      Thank you so much,@@klortak!
      Can you help me once more?
      When the user says, for example, "left", one thing happens, when he says "right", something else happens, and when he says any word other than "left" or "right", a third thing happens.
      But I want a fourth thing to happen when the user doesn't say anything. For example, the message "I didn't hear what you said".
      Do you know how I can do this?

  • @globalhellinside2967
    @globalhellinside2967 Před 3 lety

    i try install speech.apk from plugin but SpeechToText doesn't work

  • @farzanaamin5717
    @farzanaamin5717 Před 3 lety

    Hi, is it possible to implement the speech for android in MAXST AR?

  • @javokhirbozorov2120
    @javokhirbozorov2120 Před 2 lety

    Bro how did you add ui text to the voice controller.

  • @mohammedshalu5525
    @mohammedshalu5525 Před 2 lety

    it's worked fine under IOS 15...
    Not working in IOS 15
    Anyone solved this..?

  • @mkousar11
    @mkousar11 Před rokem

    Can I run it on Nreal Glasses Computing Unit as .apk file?

  • @tiger.gamedeveloper6582

    can this be used in vr too?

  • @SoftwareAndServices
    @SoftwareAndServices Před rokem

    Something must have changed. Nothing works. The APP comes up. Then nothing works.

  • @jocelynfrancis3067
    @jocelynfrancis3067 Před 2 lety

    is it possible to use this code in PC? (MacOs specifically)

  • @beFrah
    @beFrah Před 3 lety

    " 'TextToSpeech' does not contain a definition for 'onDoneCallBack' and no accessible extension method 'onDoneCallBack' accepting a first argument of type 'TextToSpeech' could be found" HELP PLS!!!

    • @nitroidalrashid2157
      @nitroidalrashid2157 Před 3 lety

      Hey its not 'onDoneCallBack' with "B" to Back but back so its should be 'onDoneCallback'

  • @RitikAgarwal21
    @RitikAgarwal21 Před rokem

    will this work with oculus?

  • @aboodriazy3387
    @aboodriazy3387 Před rokem

    what about webgl

  • @ravinduyasith9548
    @ravinduyasith9548 Před rokem

    Text to speech is working on my android, but when i press the button for speech to text the application crashes..any fix for that?

    • @Need2pee
      @Need2pee Před 10 měsíci

      Hey which phone are you using please respond? For me it doesn't work at all It shows the pop up for the voice mic but does not update the text box

    • @ravinduyasith9548
      @ravinduyasith9548 Před 10 měsíci

      @@Need2pee Google pixel 3.

  • @ramkeshsingh4051
    @ramkeshsingh4051 Před 2 lety

    Can we use in oculus quest 2?

  • @audacityfilmsproductions5334

    How in the world do you get this to work for iOS??????

  • @christianbellamy8726
    @christianbellamy8726 Před 3 lety

    Could this be used on the quest?

  • @2-TheMoon
    @2-TheMoon Před 3 lety

    how to make using mp3 file?

  • @criadabatterista8647
    @criadabatterista8647 Před 3 lety

    Hey this is a freat tutorial, but when I tried to do speech to text, it starts pop up a google interface, and not changing my text :(