Recent

Author Topic: LAMW jSpeechToText  (Read 838 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
LAMW jSpeechToText
« on: March 22, 2020, 06:28:02 pm »
Hello to all. I need to simulate the behavior of "Alexa" or "Ei google" in an android application. Basically I have to register commands and then send them to my webhook. I thought it was enough to put a jSpeechToText component and use it with a jTimer. But when I don't say anything the jSpeechToText component tells me to click to try again. But I only have to interact through the voice. How can I do? Thank you
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: LAMW jSpeechToText
« Reply #1 on: March 24, 2020, 06:53:50 pm »
Look this example.
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

jmpessoa

  • Hero Member
  • *****
  • Posts: 1608
Re: LAMW jSpeechToText
« Reply #2 on: March 24, 2020, 08:00:52 pm »


OK. I Will try it!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: LAMW jSpeechToText
« Reply #3 on: March 26, 2020, 12:21:48 pm »
which is enough for me to avoid this screen when it detects nothing. because it blocks me and forces me to interact with my finger
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

Segator

  • Jr. Member
  • **
  • Posts: 97
    • https://github.com/Nenirey
Re: LAMW jSpeechToText
« Reply #4 on: July 10, 2020, 04:43:51 pm »
which is enough for me to avoid this screen when it detects nothing. because it blocks me and forces me to interact with my finger

Any progress to avoid this windows?.
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

jmpessoa

  • Hero Member
  • *****
  • Posts: 1608
Re: LAMW jSpeechToText
« Reply #5 on: July 10, 2020, 07:56:45 pm »

Can someone point to an android java example?

I can't find anything about here:
https://developer.android.com/reference/android/speech/tts/TextToSpeech
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

jmpessoa

  • Hero Member
  • *****
  • Posts: 1608
Re: LAMW jSpeechToText
« Reply #6 on: July 14, 2020, 03:14:46 am »

Now you can try the NEW  "jCustomSpeechToText"  Component!

and the NEW demo "AppCustomSpeechToTextDemo1"

Thanks to All!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Segator

  • Jr. Member
  • **
  • Posts: 97
    • https://github.com/Nenirey
Re: LAMW jSpeechToText
« Reply #7 on: July 18, 2020, 05:45:40 pm »
Tested, the component jcustomspeechtotext work very good, awesome very thanks.
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

Guser979

  • New Member
  • *
  • Posts: 21
Re: LAMW jSpeechToText
« Reply #8 on: August 01, 2020, 07:33:48 pm »
I´m using this in my application. Find a record quickly within more than 12000. Perfect and very useful. Many possibilities. thank you jm

 

TinyPortal © 2005-2018