Recent

Author Topic: Reading text out loud?  (Read 577 times)

OC DelGuy

  • Full Member
  • ***
  • Posts: 204
Reading text out loud?
« on: March 22, 2025, 05:38:46 pm »
Is there a Control or Package that can be downloaded that has a function that reads out loud a string that is passed as a parameter?
Free Pascal Lazarus Version #: 2.2.4
Date: 24 SEP 2022
FPC Version: 3.2.2
Revision: Lazarus_2_2_4
x86_64-win64-win32/win64

jamie

  • Hero Member
  • *****
  • Posts: 6880
Re: Reading text out loud?
« Reply #1 on: March 22, 2025, 05:41:19 pm »
I have code that uses the windows text to speach.

But its windows only.

Search for "Text to speach", u should find something
The only true wisdom is knowing you know nothing

OC DelGuy

  • Full Member
  • ***
  • Posts: 204
Re: Reading text out loud?
« Reply #2 on: March 22, 2025, 09:35:23 pm »
I have code that uses the windows text to speach.

But its windows only.

Search for "Text to speach", u should find something
Is this code available for download?
Free Pascal Lazarus Version #: 2.2.4
Date: 24 SEP 2022
FPC Version: 3.2.2
Revision: Lazarus_2_2_4
x86_64-win64-win32/win64

Fred vS

  • Hero Member
  • *****
  • Posts: 3534
    • StrumPract is the musicians best friend
Re: Reading text out loud?
« Reply #3 on: March 22, 2025, 09:43:10 pm »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

avra

  • Hero Member
  • *****
  • Posts: 2539
    • Additional info
Re: Reading text out loud?
« Reply #4 on: March 22, 2025, 11:11:44 pm »
Is there a Control or Package that can be downloaded that has a function that reads out loud a string that is passed as a parameter?
Is there a reason to avoid forum search? Here is one of the results:
https://forum.lazarus.freepascal.org/index.php/topic,17592.msg97318.html#msg97318
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

jamie

  • Hero Member
  • *****
  • Posts: 6880
Re: Reading text out loud?
« Reply #5 on: March 23, 2025, 12:02:05 am »
Lets try this again, for some reason my post never mad it here.

The only true wisdom is knowing you know nothing

OC DelGuy

  • Full Member
  • ***
  • Posts: 204
Re: Reading text out loud?
« Reply #6 on: March 23, 2025, 08:05:01 pm »
This.
I downloaded this.  The form (.lfm) looks pretty cool.  It gave me some cool ideas!





Lets try this again, for some reason my post never mad it here.

This one made it.
I downloaded it.
Works like a charm!
I will implement it it in my application!
Thank you very much, Jamie!
Free Pascal Lazarus Version #: 2.2.4
Date: 24 SEP 2022
FPC Version: 3.2.2
Revision: Lazarus_2_2_4
x86_64-win64-win32/win64

jamie

  • Hero Member
  • *****
  • Posts: 6880
Re: Reading text out loud?
« Reply #7 on: March 23, 2025, 11:12:55 pm »
As note, you can down load more voices to add to the list to make it more flexable

I belive there maybe third party voices too .
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018