Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duncan3dc/speaker
A PHP library to convert text to speech using various web services
https://github.com/duncan3dc/speaker
php text-to-speech tts
Last synced: 4 days ago
JSON representation
A PHP library to convert text to speech using various web services
- Host: GitHub
- URL: https://github.com/duncan3dc/speaker
- Owner: duncan3dc
- License: apache-2.0
- Created: 2015-05-19T11:52:43.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2022-04-14T10:59:44.000Z (over 2 years ago)
- Last Synced: 2024-10-27T21:14:43.349Z (16 days ago)
- Topics: php, text-to-speech, tts
- Language: PHP
- Size: 925 KB
- Stars: 107
- Watchers: 7
- Forks: 34
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# speaker
A PHP library to convert text to speech using various servicesFull documentation is available at http://duncan3dc.github.io/speaker/
PHPDoc API documentation is also available at [http://duncan3dc.github.io/speaker/api/](http://duncan3dc.github.io/speaker/api/namespaces/duncan3dc.Speaker.html)[![release](https://poser.pugx.org/duncan3dc/speaker/version.svg)](https://packagist.org/packages/duncan3dc/speaker)
[![build](https://github.com/duncan3dc/speaker/workflows/.github/workflows/buildcheck.yml/badge.svg?branch=master)](https://github.com/duncan3dc/speaker/actions?query=branch%3Amaster+workflow%3A.github%2Fworkflows%2Fbuildcheck.yml)
[![coverage](https://codecov.io/gh/duncan3dc/speaker/graph/badge.svg)](https://codecov.io/gh/duncan3dc/speaker)## Quick Example
```php
$google = new \duncan3dc\Speaker\Providers\GoogleProvider;
$tts = new \duncan3dc\Speaker\TextToSpeech("Hello World", $google);
file_put_contents("/tmp/hello.mp3", $tts->getAudioData());
```_Read more at http://duncan3dc.github.io/speaker/_
## Services
* __Acapela__ - _Paid voice as a service_
* __AmazonPolly__ - _AWS service with a 12 month free tier_
* __Google__ - _Unadvertised service with 100 character limit_
* __Picotts__ - _An offline command line version_
* __ResponsiveVoice__ - _Unadvertised service running over a javascript engine_
* __Voice RSS__ - _Free/paid service requires [registration](http://www.voicerss.org/personel/)_## Changelog
A [Changelog](CHANGELOG.md) has been available since the beginning of time## Where to get help
Found a bug? Got a question? Just not sure how something works?
Please [create an issue](//github.com/duncan3dc/speaker/issues) and I'll do my best to help out.
Alternatively you can catch me on [Twitter](https://twitter.com/duncan3dc)## duncan3dc/speaker for enterprise
Available as part of the Tidelift Subscription
The maintainers of duncan3dc/speaker and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-duncan3dc-speaker?utm_source=packagist-duncan3dc-speaker&utm_medium=referral&utm_campaign=readme)