$directory
$directory : \duncan3dc\Sonos\Interfaces\Utils\DirectoryInterface
Convert a string of a text to spoken word audio.
$directory : \duncan3dc\Sonos\Interfaces\Utils\DirectoryInterface
__construct(string $text, \duncan3dc\Sonos\Interfaces\Utils\DirectoryInterface $directory, \duncan3dc\Speaker\Providers\ProviderInterface $provider)
Create a TextToSpeech object.
string | $text | The text to convert |
\duncan3dc\Sonos\Interfaces\Utils\DirectoryInterface | $directory | The directory to store the audio file in |
\duncan3dc\Speaker\Providers\ProviderInterface | $provider | The tts provider to use |