Search Unity

  1. Click here to see what's on sale for the "Best of Super Sale" on the Asset Store
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[RELEASED] Unity Google Cloud Speech Recognition [VR\AR\Mobile\Desktop]

Discussion in 'Assets and Asset Store' started by FrostweepGames, Aug 6, 2015.

  1. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    350
    hello I just update Google Cloud Machine Learning Kit, the GCSpeechRecognition seems not working, yes it detect the audio but did not show the text , not error or any, the old version still working upload_2020-1-29_19-8-18.png
     
  2. FrostweepGames

    FrostweepGames

    Joined:
    Jan 2, 2015
    Posts:
    225
    Hello,

    this example you showed in screenshot mostly for comamnds detection.
    does it work in another example?

    Best
     
  3. FrostweepGames

    FrostweepGames

    Joined:
    Jan 2, 2015
    Posts:
    225
    Hello,

    next update of microphone webgl asset will directly work with GC spech recognition with just importing and deleting one file.

    Next update will come soon.

    alpha package I'll send you in discord as discussed.

    Best
     
  4. FrostweepGames

    FrostweepGames

    Joined:
    Jan 2, 2015
    Posts:
    225
    Hello.

    if you have any questions - fill free to ask us directly in our Official Discord Server
    There you will see announces, tutorials and our community that could help you.

    Best Regards
     
  5. kamihiro74

    kamihiro74

    Joined:
    May 15, 2013
    Posts:
    18
    Hi
    I purchased "Google Cloud Translation" and "Google Cloud Speech Recognition"
    Try to use both of them in the one project but I got the class conflict under the “_Generic”
    Can you let me know how to fix these error?

    Also I email frostweep@gmail.com
    but none write me back
     
  6. FrostweepGames

    FrostweepGames

    Joined:
    Jan 2, 2015
    Posts:
    225
    Hello,

    looks like issues fixed.

    Best
     
  7. Westmont

    Westmont

    Joined:
    Oct 26, 2016
    Posts:
    1
    please help how can i increase the microphone sensitivity?
    I think that should be responsible for this the property "Audio Volume Multiplier" in "GCSpeechRecognitonConfig", but it is not using in code
     
  8. LT23Live

    LT23Live

    Joined:
    Jul 8, 2014
    Posts:
    40
    @FrostweepGames I am working on an IOS app that relies on the continuous use of voice input. When using this plugin i notice that voice detection is causing a large drag on the system as it runs every frame. I am no audio engineer but i was wondering if there was a better way to check if the user is talking that would be less of a drag on my system?

    Code (CSharp):
    1.  
    2. if (DetectVoice)
    3.                 {
    4.                     bool isTalking = _voiceDetectionManager.HasDetectedVoice(AudioClip2ByteConverter.FloatToByte(_currentAudioSamples));
    5.  
    upload_2020-7-28_13-24-10.jpeg
     
  9. FrostweepGames

    FrostweepGames

    Joined:
    Jan 2, 2015
    Posts:
    225
    Hello,

    there is no way tooptimize code but you could try to record less size of audio chunk.

    I'm not sure that this function is targeted for mobile but I'm sure it works well on phones with good cpu.

    Currently we havent any possibility to optimize it, but we will work on it in future.

    Join our discord to get news faster. Or ask other customers about anything!

    Best Regards
     
  10. LT23Live

    LT23Live

    Joined:
    Jul 8, 2014
    Posts:
    40
    Thanks for the reply. We are targeting IOS. Using iPhone 11 Pro Max's. We're using this in conjunction with a web rtc system. When profiling and the phone is lagging it is showing that a majority of the usage is coming from that one line of code checking if the user is speaking. AudioClip2ByteConverter.
     
  11. FrostweepGames

    FrostweepGames

    Joined:
    Jan 2, 2015
    Posts:
    225
    Hello,

    hmm iphone 11 is quite enough for it..

    how long you record? does it start lag directly during firsst record?

    not sure that there a way to optimize it now and I would recommend to not use it till we find better solution for detecting voice level.
    conenct to our discrod server to get news faster!
    Best
     
  12. LT23Live

    LT23Live

    Joined:
    Jul 8, 2014
    Posts:
    40

    The recording goes anywhere from 5 to 30s depending upon the speaker. We are using the AutoDetectVoice feature and running this as a sort of transcription for a conference call.

    Can you provide me details to the discord channel?
     
  13. LT23Live

    LT23Live

    Joined:
    Jul 8, 2014
    Posts:
    40
    Perhaps the solution is changing the frequency that it checks for the user talking.
     
  14. FrostweepGames

    FrostweepGames

    Joined:
    Jan 2, 2015
    Posts:
    225
    Hello,

    https://discord.gg/TZdhnWy
     
unityunity