Author Topic: Speech control  (Read 736 times)


  • Newbie
  • Posts: 2
Speech control
« on: July 15, 2019, 07:49:48 pm »

I've built a house control system to my disabled friend with AVR. I used Lazarus to make UI and the first prototype works fine.
The next step would be to add voice control to the system. I have found a few topics in this forum and also some old articles about delphi + SAPI but haven't got anything to work.

Would anyone have an up-to-date tip on how to implement speech control?
Is there any speech recognition engine that works well together with Lazarus?


  • Hero Member
  • *****
  • Posts: 2141
    • Additional info
Re: Speech control
« Reply #1 on: July 16, 2019, 01:06:42 am »
You should first define if you want to use some cloud speech recognition (high accuracy and many languages), some offline speech recognition (limited choice of languages), or you want to recognize specific words of a single speaker no matter the language. All that is not Lazarus specific. You can even run voice/speech recognition in a simple script and then start Lazarus applications based on it's input.

For speech synthesis take a look at:,17592.msg97318.html#msg97318

Voice recognition with AVR or STM32:µspeech/

Based on my understanding of your requirements this would be your best bet:

There are alternatives:

Enough to get you going.  ;)
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib


  • Newbie
  • Posts: 2
Re: Speech control
« Reply #2 on: July 17, 2019, 06:24:31 pm »
Thanks avra! I take a look at those links.
What I'm looking for is offline speech recognition, only one language and specific (25-30) words.

This home control software  is made for Windows so Sapi would be a good choice but it seems to be impossible to get it work with Lazarus.


TinyPortal © 2005-2018