| 1 | <?php |
||
| 5 | class TotalVoiceTtsMessage extends TotalVoiceMessage |
||
| 6 | { |
||
| 7 | use TotalVoiceMessageOptions; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @var int |
||
| 11 | */ |
||
| 12 | public $speed = 0; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | public $voice_type = 'br-Vitoria'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Set the speech speed option. (-10 ~ 10, 0=default). |
||
| 21 | * |
||
| 22 | * @param int $speed |
||
| 23 | * @return $this |
||
| 24 | */ |
||
| 25 | 2 | public function speed($speed) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * Set the voice type of the message. (br-Vitoria default). |
||
| 34 | * |
||
| 35 | * @param string $voice_type |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | 2 | public function voiceType($voice_type) |
|
| 44 | } |
||
| 45 |