$client
$client : \GuzzleHttp\ClientInterface
Convert a string of a text to spoken word audio.
setClient(\GuzzleHttp\ClientInterface $client) : \duncan3dc\Speaker\Providers\ProviderInterface
Get the guzzle client instance to use.
\GuzzleHttp\ClientInterface | $client |
__construct(string $login, string $application, string $password, string $voice = null, integer $speed = null)
Create a new instance.
string | $login | The username to access the service |
string | $application | The name of the application |
string | $password | The password to access the service |
string | $voice | The voice to use |
integer | $speed | The speech rate |
withVoice(string $voice) : self
Set the voice to use.
Visit http://www.acapela-vaas.com/ReleasedDocumentation/voices_list.php for available voices
string | $voice | The voice to use (eg 'Graham') |