Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/libresign/espeak
espeak wrapper
https://github.com/libresign/espeak
composer composer-library espeak espeak-ng php php8
Last synced: 24 days ago
JSON representation
espeak wrapper
- Host: GitHub
- URL: https://github.com/libresign/espeak
- Owner: LibreSign
- License: agpl-3.0
- Created: 2024-02-20T22:01:15.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-27T16:30:57.000Z (11 months ago)
- Last Synced: 2024-05-17T00:23:42.938Z (9 months ago)
- Topics: composer, composer-library, espeak, espeak-ng, php, php8
- Language: PHP
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP wrapper for eSpeak NG
## 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
```php
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');
```## Library Documentation
https://github.com/espeak-ng/espeak-ng