libresign / espeak
wrapper to espeak
dev-main
2024-02-27 16:30 UTC
Requires
None
Requires (Dev)
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-27 22:02:57 UTC
README
About eSpeak NG
eSpeak is a free and open-source, cross-platform, compact, software speech synthesizer.
About eSpeak NG in this project
Thinking about accessibility for visually impaired users when they need to fill out the contact form. We decided to implement the eSpeak NG library, which has the functionality to speak captcha characters.
Example
header('Content-Type: audio/wav'); header('Content-Disposition: inline;filename=captcha.wave'); echo (new Espeak()) ->setOption('stdout') ->setOption('s', '110') ->setOption('v', (new Espeak())->getVoiceCode($_SERVER['HTTP_ACCEPT_LANGUAGE'])) ->execute('Hello World');