Recent

Author Topic: sak (Speaker Assistive Kit) is here !  (Read 31003 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
sak (Speaker Assistive Kit) is here !
« on: June 14, 2013, 02:03:33 pm »
Hello.  ;)

I am very happy to announce the birth of sak for fpc.

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, etc...

All is included in the kit (+- 1 mega).
Of course the kit can be shared with other applications.

How it works ?

Only call SAKloadlib when you want and your application becomes assistived with no other code added.
Call  SAKunloadlib to unload it at runtime too.

sak recognizes aswell your new forms created at run time.

sak uses the espeak and portaudio libraries (espeak Windows code adapted to use portaudio with agreement of the author).

Here all sources, examples, libraries and binaries demos :
http://fredvs.github.io/sak/

Here compiled binaries demos of sak with LCL GTK2(32/64), LCL Qt(32/64), LCL Win32, fpGUI Linux(32/64) and fpGUI win32 widgetsets.
https://sites.google.com/site/fiensprototyping/sk_bin_demos.zip

PS : It is the first release, of course all the existing components are not yet "assistived".

Have fun.
« Last Edit: June 14, 2013, 02:16:27 pm by Fred vS »
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

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #1 on: June 15, 2013, 10:25:38 am »
Hello.  ;)
The wiki is there :
http://wiki.lazarus.freepascal.org/sak
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

exdatis

  • Hero Member
  • *****
  • Posts: 668
    • exdatis
Re: sak (Speaker Assistive Kit) is here !
« Reply #2 on: June 15, 2013, 01:07:37 pm »
Thank you very much!
Regards

el-mono

  • New member
  • *
  • Posts: 7
Re: sak (Speaker Assistive Kit) is here !
« Reply #3 on: June 15, 2013, 05:39:53 pm »
Is excellent man. Thanks very much

 :)

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: sak (Speaker Assistive Kit) is here !
« Reply #4 on: June 19, 2013, 05:36:43 pm »
Nice work!
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

laggyluk

  • Jr. Member
  • **
  • Posts: 69
Re: sak (Speaker Assistive Kit) is here !
« Reply #5 on: July 16, 2013, 03:48:01 am »
I tried the demo  on windows and it gives me "The program can’t start because MSVCR110.dll is missing from your computer." when clicking 'load sak'

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: sak (Speaker Assistive Kit) is here !
« Reply #6 on: July 16, 2013, 10:06:03 am »
@LaggyLuk: this indicates sak needs the correct Microsoft Visual C++ runtime package installed. You can get it from Microsoft.

If Fred is distributing some dlls that require this, he could include the required msvcrt installer and call it (it has a quiet mode IIRC).
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #7 on: July 16, 2013, 12:22:17 pm »
Quote
"The program can’t start because MSVCR110.dll is missing from your computer."

What version of Windows do you use ?
I have try with XP and Windows 7 without problems...

Have you try the Windows binaries demos included ?
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

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #8 on: July 16, 2013, 12:45:54 pm »
@ BigChimp :
Quote
If Fred is distributing some dlls that require this, he could include the required msvcrt installer and call it (it has a quiet mode IIRC).

With pleasure but what other dll must be installed, i do not understand and how to know what other dll are needed ? ...
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

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: sak (Speaker Assistive Kit) is here !
« Reply #9 on: July 16, 2013, 12:57:23 pm »
If you distribute a dll that requires the msvcrt runtime, please distribute the msvcrt installer as well.

Apparently some dll that sak uses requires msvcrt110 -
See
http://msdn.microsoft.com/en-us/library/abx4dbyh%28v=vs.110%29.aspx

If you are not distributing dll files but asking people to install/download dlls, you could add a note to your installation instructions mentioning the msvcrt requirement.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #10 on: July 16, 2013, 01:12:29 pm »
Quote
If you distribute a dll that requires the msvcrt runtime, please distribute the msvcrt installer as well.

OK, i gonna add the msvcrt installer ( but i think that, usually, it is installed by default on all Windows system...)

Many thanks for the links and have nice holidays...
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

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #11 on: July 16, 2013, 01:53:27 pm »
Quote
Microsoft Visual C++ runtime package installed

Pfffff, this is why i hate to have to deal with MS Visual Studio.

But i have no choice, impossible to compile eSpeak with MinGW...  :(
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

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: sak (Speaker Assistive Kit) is here !
« Reply #12 on: July 16, 2013, 02:13:18 pm »
well to be honest there is no difference most of the mingw compiled dlls required their own dlls as well for example the mingw QT libraries require the mingwm10.dll and the libgcc_s_dw2-1.dll, nothing changes but the delivery medium in which case MS made sure that you deliver all the required dlls along side the MSVCR110.dll required or not by your application/library.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #13 on: July 16, 2013, 02:23:19 pm »
@ Taazz : thanks for explain.
 
Quote
in which case MS made sure that you deliver all the required dlls along side the MSVCR110.dll required or not by your application/library.

Hum, so how to know what other dll are needed...?
Should i un-install MS Visual Studio and try to load the demos and see what dll are missing ? But not sure that, with un-install MS Visual Studio, all the installed dll will be deleted...
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

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: sak (Speaker Assistive Kit) is here !
« Reply #14 on: July 16, 2013, 02:32:08 pm »
There was a tool called depends that came with all microsoft IDEs last time I used it was on vb6 days. I think they still have it in there some where. You can use it to open the dll with that and it will show all dependencies aka the dlls it links too. You can use it on all the windows dlls regardless of what compiler made them. In case that they have stopped including it, which I find doubtful, here is a similar free utility. http://dependencywalker.com/
« Last Edit: July 16, 2013, 02:34:16 pm by taazz »
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018