2017 © Pedro Peláez
 

library synthesizer

Text-to-Speech Synthesizer

image

dayrev/synthesizer

Text-to-Speech Synthesizer

  • Friday, June 30, 2017
  • by dsposito
  • Repository
  • 1 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Synthesizer

Build Status Coverage Status Latest Stable Version, (*1)

Overview

Synthesizer provides an elegant interface to synthesize text to speech (audio url) using a variety of third-party providers., (*2)

Supported Providers:, (*3)

  • Amazon Polly
  • Google
  • IBM Watson
  • iSpeech

Installation

Run the following composer command to add the package to your project:, (*4)

composer require dayrev/synthesizer

Alternatively, add "dayrev/synthesizer": "^1.0" to your composer.json file., (*5)

Usage

$provider = Provider::instance('amazon', [
    'key' => 'YOUR_AMAZON_API_KEY',
    'secret' => 'YOUR_AMAZON_API_SECRET',
]);
$content = $synthesizer->synthesize($text);

$synthesizer = DayRev\Synthesizer\Provider::instance('google');
$content = $synthesizer->synthesize($text);

$synthesizer = DayRev\Synthesizer\Provider::instance('ibm', [
    'username' => 'YOUR_IBM_USERNAME',
    'password' => 'YOUR_IBM_PASSWORD',
]);
$content = $synthesizer->synthesize($text);

$synthesizer = DayRev\Synthesizer\Provider::instance('ispeech', [
    'apikey' => 'YOUR_ISPEECH_API_KEY'
]);
$content = $synthesizer->synthesize($text);

Tests

To run the test suite, run the following commands from the root directory:, (*6)

composer install
vendor/bin/phpunit -d ibm_username=YOUR_IBM_USERNAME -d ibm_password=YOUR_IBM_PASSWORD -d ispeech_api_key=YOUR_ISPEECH_API_KEY -d amazon_api_key=YOUR_AMAZON_API_KEY -d amazon_api_secret=YOUR_AMAZON_API_SECRET

Note: API credentials are required when running the integration tests but the values don't have to be valid., (*7)

The Versions

30/06 2017

dev-master

9999999-dev https://github.com/dayrev/synthesizer

Text-to-Speech Synthesizer

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

php google ibm watson text-to-speech tts synthesizer ivona ispeech

30/06 2017

v1.0.1

1.0.1.0 https://github.com/dayrev/synthesizer

Text-to-Speech Synthesizer

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

php google ibm watson text-to-speech tts synthesizer ivona ispeech

30/06 2017

v1.0.0

1.0.0.0 https://github.com/dayrev/synthesizer

Text-to-Speech Synthesizer

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

php google ibm watson text-to-speech tts synthesizer ivona ispeech