Difference between revisions of "Speecher Assistive Kit"
Line 3: | Line 3: | ||
Easy and independent, you do not have to change anything in your original code. | Easy and independent, you do not have to change anything in your original code. | ||
− | You do not need external libraries like at-spi, sapi, nor install anything in your system | + | You do not need external libraries like at-spi, sapi, nor install anything in your system... |
All is included in the kit (+- 1 mega). | All is included in the kit (+- 1 mega). | ||
+ | sak uses [http://espeak.sourceforge.net/ eSpeak] and [http://www.portaudio.com/ PortAudio] Open Source libraries. | ||
Of course the kit can be shared with other applications. | Of course the kit can be shared with other applications. | ||
− | + | Download it from gitHub here : | |
[http://fredvs.github.io/sak/ sak Speecher Assistive Kit] | [http://fredvs.github.io/sak/ sak Speecher Assistive Kit] | ||
Line 16: | Line 17: | ||
Copy the '''sakit''' folder into your application-folder. | Copy the '''sakit''' folder into your application-folder. | ||
+ | Add also sak.pas, uos_portaudio.pas and uos_espeak.pas into your application-folder. | ||
Revision as of 21:00, 16 June 2013
sak is the Speecher Assistive Kit who transforms your applications into multi-language speaking assisted applications.
Easy and independent, you do not have to change anything in your original code.
You do not need external libraries like at-spi, sapi, nor install anything in your system...
All is included in the kit (+- 1 mega). sak uses eSpeak and PortAudio Open Source libraries. Of course the kit can be shared with other applications.
Download it from gitHub here : sak Speecher Assistive Kit
How to use it ?
Copy the sakit folder into your application-folder.
Add also sak.pas, uos_portaudio.pas and uos_espeak.pas into your application-folder.
In your uses section add:
uses sak,...
In your program :
When you want your application becomes assistive call:
SAKLoadLib;
To unload it :
SAKUnLoadLib;
You may change the default gender and language.
gender : male or female
language : langage code
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 :
SAKFreeLib;