Sign in Join
Wiki copytemporary

Speecher Assistive Kit

About

sak is a Speecher Assistive Kit which transforms your applications into multi-language speaking assisted applications. Easy and independent, you do not have to change anything in your original code. Compatible with Lazarus, fpGUI, MSEgui and console.

For Linux, FreeBSD, macOS and Windows.

You do not need external libraries like at-spi, sapi, nor do you need to install anything in your system. Everything is included in the kit.

sak uses the eSpeak and PortAudio open source libraries.

Download

GitHub: https://github.com/fredvs/sak

License

sak uses eSpeak who is GPL license. So the license differs if you use eSpeak executable or eSpeak library.

Usage

Copy the sakit/ (or sakit_dll/) folder into your application-folder (from sak/ or sak_dll/, depend of the license you give...).

In the "uses" section of your program add:

In your main program: When you want your application becomes assistived call:

SAKLoadLib();

This will seek in program-directory for /sakit/ (if not, in system for eSpeak).

or

SAKLoadLib('/path/of/sakit/');

This loads some custom path.

To unload it :

SAKUnLoadLib;

You may change the default gender and language.

Here example for Portugues/Brasil woman:

SAKSetVoice(female,'pt');

In addition you may add your own speech with :

SAKSay(Text: string);

When you close your application, call :

SAKUnLoadLib;


From the Free Pascal wiki, page "Speecher Assistive Kit", as it stood on 2022-08-06 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.