tts-react-hlt
v1.3.0
Published
React hook and component for converting text to speech using the Web Speech API or Amazon Polly.
Downloads
1
Readme
��#� �[��t�t�s�-�r�e�a�c�t�-�h�l�t�
�]�(�h�t�t�p�s�:�/�/�w�w�w�.�n�p�m�j�s�.�c�o�m�/�p�a�c�k�a�g�e�/�t�t�s�-�r�e�a�c�t�-�h�l�t�)�
�
�
�
�!�[�C�I�]�(�h�t�t�p�s�:�/�/�g�i�t�h�u�b�.�c�o�m�/�S�t�r�i�n�g�s�e�r�v�e�-�T�e�c�h�n�o�l�o�g�i�e�s�/�t�t�s�-�r�e�a�c�t�-�h�l�t�.�g�i�t�)�
�
�[�!�[�c�o�d�e�c�o�v�]�(�h�t�t�p�s�:�/�/�c�o�d�e�c�o�v�.�i�o�/�g�h�/�m�o�r�g�a�n�n�e�y�/�t�t�s�-�r�e�a�c�t�/�b�r�a�n�c�h�/�m�a�i�n�/�g�r�a�p�h�/�b�a�d�g�e�.�s�v�g�?�t�o�k�e�n�=�Z�D�P�1�V�B�C�8�E�1�)�]�(�h�t�t�p�s�:�/�/�c�o�d�e�c�o�v�.�i�o�/�g�h�/�m�o�r�g�a�n�n�e�y�/�t�t�s�-�r�e�a�c�t�)�
�
�[�!�[�N�P�M� �v�e�r�s�i�o�n�]�(�h�t�t�p�s�:�/�/�i�m�g�.�s�h�i�e�l�d�s�.�i�o�/�n�p�m�/�v�/�t�t�s�-�r�e�a�c�t�.�s�v�g�)�]�(�h�t�t�p�s�:�/�/�w�w�w�.�n�p�m�j�s�.�c�o�m�/�p�a�c�k�a�g�e�/�t�t�s�-�r�e�a�c�t�-�h�l�t�)�
�
�
�
�<�i�m�g� �s�r�c�=�"�.�/�t�t�s�-�r�e�a�c�t�.�p�n�g�"� �a�l�t�=�"�T�e�x�t�T�o�S�p�e�e�c�h� �R�e�a�c�t� �c�o�m�p�o�n�e�n�t�"� �w�i�d�t�h�=�"�3�7�5�"� �/�>�
�
�
�
��t�t�s�-�r�e�a�c�t�
� �p�r�o�v�i�d�e�s� �a� �h�o�o�k� �(��u�s�e�T�t�s�
�)� �a�n�d� �c�o�m�p�o�n�e�n�t� �(��T�e�x�t�T�o�S�p�e�e�c�h�
�)� �t�o� �c�o�n�v�e�r�t� �t�e�x�t� �t�o� �s�p�e�e�c�h�.� �I�n� �m�o�s�t� �c�a�s�e�s� �y�o�u� �w�a�n�t� �t�h�e� �h�o�o�k� �s�o� �y�o�u� �c�a�n� �u�s�e� �c�u�s�t�o�m� �s�t�y�l�i�n�g� �o�n� �t�h�e� �a�u�d�i�o� �c�o�n�t�r�o�l�s�.�
�
�
�
�B�y� �d�e�f�a�u�l�t� ��t�t�s�-�r�e�a�c�t�
� �u�s�e�s� �t�h�e� �[��S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�
�]�(�h�t�t�p�s�:�/�/�d�e�v�e�l�o�p�e�r�.�m�o�z�i�l�l�a�.�o�r�g�/�e�n�-�U�S�/�d�o�c�s�/�W�e�b�/�A�P�I�/�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�)� �a�n�d� �[��S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�
�]�(�h�t�t�p�s�:�/�/�d�e�v�e�l�o�p�e�r�.�m�o�z�i�l�l�a�.�o�r�g�/�e�n�-�U�S�/�d�o�c�s�/�W�e�b�/�A�P�I�/�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�)� �A�P�I�'�s�.� �Y�o�u� �c�a�n� �f�a�l�l�b�a�c�k� �t�o� �t�h�e� �[��H�T�M�L�A�u�d�i�o�E�l�e�m�e�n�t�
�]�(�h�t�t�p�s�:�/�/�d�e�v�e�l�o�p�e�r�.�m�o�z�i�l�l�a�.�o�r�g�/�e�n�-�U�S�/�d�o�c�s�/�W�e�b�/�H�T�M�L�/�E�l�e�m�e�n�t�/�a�u�d�i�o�)� �A�P�I� �b�y� �p�r�o�v�i�d�i�n�g� �a� ��f�e�t�c�h�A�u�d�i�o�D�a�t�a�
� �p�r�o�p� �t�o� �t�h�e� �h�o�o�k� �o�r� �c�o�m�p�o�n�e�n�t�.�
�
�
�
�#�#� �I�n�s�t�a�l�l�
�
�
�
��n�p�m� �i� �t�t�s�-�r�e�a�c�t�-�h�l�t�
�
�
�
�
�o�r�
�
��n�p�m� �i� �t�t�s�-�r�e�a�c�t�-�h�l�t� �-�-�f�o�r�c�e�
�
�
�
�
�#�#� �D�e�m�o� �(�S�t�o�r�y�b�o�o�k�)�
�
�
�
�[�m�o�r�g�a�n�n�e�y�.�g�i�t�h�u�b�.�i�o�/�t�t�s�-�r�e�a�c�t�]�(�h�t�t�p�s�:�/�/�g�i�t�h�u�b�.�c�o�m�/�S�t�r�i�n�g�s�e�r�v�e�-�T�e�c�h�n�o�l�o�g�i�e�s�/�t�t�s�-�r�e�a�c�t�-�h�l�t�.�g�i�t�)�
�
�
�
�#�#� �E�x�a�m�p�l�e�
�
�
�
�#�#�#�#� �H�o�o�k�
�
�
�
�Y�o�u� �c�a�n� �u�s�e� �t�h�e� �h�o�o�k� �t�o� �c�r�e�a�t�e� �a� ��S�p�e�a�k�
� �c�o�m�p�o�n�e�n�t� �t�h�a�t� �c�o�n�v�e�r�t�s� �t�h�e� �t�e�x�t� �t�o� �s�p�e�e�c�h� �o�n� �r�e�n�d�e�r�:�
�
�
�
��
��t�s�x�
�
�i�m�p�o�r�t� �{� �u�s�e�T�t�s� �}� �f�r�o�m� �'�t�t�s�-�r�e�a�c�t�-�h�l�t�'�
�
�i�m�p�o�r�t� �t�y�p�e� �{� �T�T�S�H�o�o�k�P�r�o�p�s� �}� �f�r�o�m� �'�t�t�s�-�r�e�a�c�t�-�h�l�t�'�
�
�
�
�t�y�p�e� �S�p�e�a�k�P�r�o�p�s� �=� �P�i�c�k�<�T�T�S�H�o�o�k�P�r�o�p�s�,� �'�c�h�i�l�d�r�e�n�'�>�
�
�
�
�c�o�n�s�t� �S�p�e�a�k� �=� �(�{� �c�h�i�l�d�r�e�n� �}�:� �S�p�e�a�k�P�r�o�p�s�)� �=�>� �(�
�
� � �<�>�{�u�s�e�T�t�s�(�{� �c�h�i�l�d�r�e�n�,� �a�u�t�o�P�l�a�y�:� �t�r�u�e� �}�)�.�t�t�s�C�h�i�l�d�r�e�n�}�<�/�>�
�
�)�
�
�
�
�c�o�n�s�t� �A�p�p� �=� �(�)� �=�>� �{�
�
� � �r�e�t�u�r�n� �(�
�
� � � � �<�S�p�e�a�k�>�
�
� � � � � � �<�p�>�T�h�i�s� �t�e�x�t� �w�i�l�l� �b�e� �s�p�o�k�e�n� �o�n� �r�e�n�d�e�r�.�<�/�p�>�
�
� � � � �<�/�S�p�e�a�k�>�
�
� � �)�
�
�}�
�
�
��
�
�
�
�
�O�r� �c�r�e�a�t�e� �a� �m�o�r�e� �a�d�v�a�n�c�e�d� �c�o�m�p�o�n�e�n�t� �w�i�t�h� �c�o�n�t�r�o�l�s� �f�o�r� �a�d�j�u�s�t�i�n�g� �t�h�e� �s�p�e�a�k�i�n�g�:�
�
�
�
��
��t�s�x�
�
�i�m�p�o�r�t� �{� �u�s�e�T�t�s� �}� �f�r�o�m� �'�t�t�s�-�r�e�a�c�t�-�h�l�t�'�
�
�i�m�p�o�r�t� �t�y�p�e� �{� �T�T�S�H�o�o�k�P�r�o�p�s� �}� �f�r�o�m� �'�t�t�s�-�r�e�a�c�t�-�h�l�t�'�
�
�
�
�i�n�t�e�r�f�a�c�e� �C�u�s�t�o�m�P�r�o�p�s� �e�x�t�e�n�d�s� �T�T�S�H�o�o�k�P�r�o�p�s� �{�
�
� � �h�i�g�h�l�i�g�h�t�?�:� �b�o�o�l�e�a�n�
�
�}�
�
�
�
�c�o�n�s�t� �C�u�s�t�o�m�T�T�S�C�o�m�p�o�n�e�n�t� �=� �(�{� �c�h�i�l�d�r�e�n�,� �h�i�g�h�l�i�g�h�t� �=� �f�a�l�s�e� �}�:� �C�u�s�t�o�m�P�r�o�p�s�)� �=�>� �{�
�
� � �c�o�n�s�t� �{� �t�t�s�C�h�i�l�d�r�e�n�,� �s�t�a�t�e�,� �p�l�a�y�,� �s�t�o�p�,� �p�a�u�s�e� �}� �=� �u�s�e�T�t�s�(�{�
�
� � � � �c�h�i�l�d�r�e�n�,�
�
� � � � �m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n�:� �h�i�g�h�l�i�g�h�t�
�
� � �}�)�
�
�
�
� � �r�e�t�u�r�n� �(�
�
� � � � �<�d�i�v�>�
�
� � � � � � �<�>�
�
� � � � � � � � �<�b�u�t�t�o�n� �d�i�s�a�b�l�e�d�=�{�s�t�a�t�e�.�i�s�P�l�a�y�i�n�g�}� �o�n�C�l�i�c�k�=�{�p�l�a�y�}�>�P�l�a�y�<�/�b�u�t�t�o�n�>�
�
� � � � � � � � �<�b�u�t�t�o�n� �d�i�s�a�b�l�e�d�=�{�!�s�t�a�t�e�.�i�s�P�l�a�y�i�n�g�}� �o�n�C�l�i�c�k�=�{�p�a�u�s�e�}�>�P�a�u�s�e�<�/�b�u�t�t�o�n�>�
�
� � � � � � � � �<�b�u�t�t�o�n� �o�n�C�l�i�c�k�=�{�s�t�o�p�}�>�S�t�o�p�<�/�b�u�t�t�o�n�>�
�
� � � � � � �<�/�>�
�
� � � � � � �{�t�t�s�C�h�i�l�d�r�e�n�}�
�
� � � � �<�/�d�i�v�>�
�
� � �)�
�
�}�
�
�
�
�c�o�n�s�t� �A�p�p� �=� �(�)� �=�>� �{�
�
� � �r�e�t�u�r�n� �(�
�
� � � � �<�C�u�s�t�o�m�T�T�S�C�o�m�p�o�n�e�n�t� �h�i�g�h�l�i�g�h�t�>�
�
� � � � � � �<�p�>�S�o�m�e� �t�e�x�t� �t�o� �b�e� �s�p�o�k�e�n� �a�n�d� �h�i�g�h�l�i�g�h�t�e�d�.�<�/�p�>�
�
� � � � �<�/�C�u�s�t�o�m�T�T�S�C�o�m�p�o�n�e�n�t�>�
�
� � �)�
�
�}�
�
�
��
�
�
�
�
�#�#�#�#� �C�o�m�p�o�n�e�n�t�
�
�
�
�U�s�e� �t�h�e� ��T�e�x�t�T�o�S�p�e�e�c�h�
� �c�o�m�p�o�n�e�n�t� �t�o� �g�e�t� �u�p� �a�n�d� �r�u�n�n�i�n�g� �q�u�i�c�k�l�y�:�
�
�
�
��
��t�s�x�
�
�i�m�p�o�r�t� �{� �T�e�x�t�T�o�S�p�e�e�c�h�,� �P�o�s�i�t�i�o�n�s�,� �S�i�z�e�s� �}� �f�r�o�m� �'�t�t�s�-�r�e�a�c�t�-�h�l�t�'�
�
�
�
�c�o�n�s�t� �A�p�p� �=� �(�)� �=�>� �{�
�
� � �r�e�t�u�r�n� �(�
�
� � � � �<�T�e�x�t�T�o�S�p�e�e�c�h�
�
� � � � � � �m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n�
�
� � � � � � �a�l�i�g�n�=�"�v�e�r�t�i�c�a�l�"�
�
� � � � � � �s�i�z�e�=�{�S�i�z�e�s�.�S�M�A�L�L�}�
�
� � � � � � �p�o�s�i�t�i�o�n�=�{�P�o�s�i�t�i�o�n�s�.�T�L�}�>�
�
� � � � � � �<�p�>�S�o�m�e� �t�e�x�t� �t�o� �b�e� �s�p�o�k�e�n�.�<�/�p�>�
�
� � � � �<�/�T�e�x�t�T�o�S�p�e�e�c�h�>�
�
� � �)�
�
�}�
�
�
��
�
�
�
�
�#�#� ��u�s�e�T�t�s�
�
�
�
�
�T�h�e� �h�o�o�k� �r�e�t�u�r�n�s� �t�h�e� �i�n�t�e�r�n�a�l� �s�t�a�t�e� �o�f� �t�h�e� �a�u�d�i�o� �b�e�i�n�g� �s�p�o�k�e�n�,� �g�e�t�t�e�r�s�/�s�e�t�t�e�r�s� �o�f� �a�u�d�i�o� �a�t�t�r�i�b�u�t�e�s�,� �c�a�l�l�b�a�c�k�s� �t�h�a�t� �c�a�n� �b�e� �u�s�e�d� �t�o� �c�o�n�t�r�o�l� �p�l�a�y�i�n�g�/�s�t�o�p�p�i�n�g�/�p�a�u�s�i�n�g�/�e�t�c�.� �o�f� �t�h�e� �a�u�d�i�o�,� �a�n�d� �m�o�d�i�f�i�e�d� ��c�h�i�l�d�r�e�n�
� �i�f� �u�s�i�n�g� ��m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n�
�.� �T�h�e� �p�a�r�a�m�e�t�e�r�s� �a�c�c�e�p�t�e�d� �a�r�e� �d�e�s�c�r�i�b�e�d� �i�n� �t�h�e� �[�P�r�o�p�s�]�(�#�p�r�o�p�s�)� �s�e�c�t�i�o�n�.� �T�h�e� �r�e�s�p�o�n�s�e� �o�b�j�e�c�t� �i�s� �d�e�s�c�r�i�b�e�d� �b�y� �t�h�e� ��T�T�S�H�o�o�k�R�e�s�p�o�n�s�e�
� �t�y�p�e�.�
�
�
�
��
��t�s�
�
�c�o�n�s�t� �{�
�
� � �g�e�t�,�
�
� � �s�e�t�,�
�
� � �s�t�a�t�e�,�
�
� � �s�p�o�k�e�n�T�e�x�t�,�
�
� � �t�t�s�C�h�i�l�d�r�e�n�,�
�
� � �p�l�a�y�,�
�
� � �s�t�o�p�,�
�
� � �p�a�u�s�e�,�
�
� � �r�e�p�l�a�y�,�
�
� � �p�l�a�y�O�r�P�a�u�s�e�,�
�
� � �p�l�a�y�O�r�S�t�o�p�,�
�
� � �t�o�g�g�l�e�M�u�t�e�
�
�}� �=� �u�s�e�T�t�s�(�{�
�
� � �l�a�n�g�,�
�
� � �v�o�i�c�e�,�
�
� � �c�h�i�l�d�r�e�n�,�
�
� � �a�u�t�o�P�l�a�y�,�
�
� � �m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n�,�
�
� � �m�a�r�k�C�o�l�o�r�,�
�
� � �m�a�r�k�B�a�c�k�g�r�o�u�n�d�C�o�l�o�r�,�
�
� � �o�n�S�t�a�r�t�,�
�
� � �o�n�B�o�u�n�d�a�r�y�,�
�
� � �o�n�P�a�u�s�e�,�
�
� � �o�n�E�n�d�,�
�
� � �o�n�E�r�r�o�r�,�
�
� � �o�n�V�o�l�u�m�e�C�h�a�n�g�e�,�
�
� � �o�n�P�i�t�c�h�C�h�a�n�g�e�,�
�
� � �o�n�R�a�t�e�C�h�a�n�g�e�,�
�
� � �f�e�t�c�h�A�u�d�i�o�D�a�t�a�
�
�}�)�
�
�
�
�i�n�t�e�r�f�a�c�e� �T�T�S�H�o�o�k�P�r�o�p�s� �e�x�t�e�n�d�s� �M�a�r�k�S�t�y�l�e�s� �{�
�
� � �/�*�*� �T�h�e� �s�p�o�k�e�n� �t�e�x�t� �i�s� �e�x�t�r�a�c�t�e�d� �f�r�o�m� �h�e�r�e�.� �*�/�
�
� � �c�h�i�l�d�r�e�n�:� �R�e�a�c�t�N�o�d�e�
�
� � �/�*�*� �T�h�e� �
�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�.�l�a�n�g�� �t�o� �u�s�e�.� �*�/�
�
� � �l�a�n�g�?�:� �s�t�r�i�n�g�
�
� � �/�*�*� �T�h�e� �
�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�.�v�o�i�c�e�� �t�o� �u�s�e�.� �*�/�
�
� � �v�o�i�c�e�?�:� �S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�V�o�i�c�e�
�
� � �/�*�*� �T�h�e� �i�n�i�t�i�a�l� �r�a�t�e� �o�f� �t�h�e� �s�p�e�a�k�i�n�g� �a�u�d�i�o�.� �*�/�
�
� � �r�a�t�e�?�:� �n�u�m�b�e�r�
�
� � �/�*�*� �T�h�e� �i�n�i�t�i�a�l� �v�o�l�u�m�e� �o�f� �t�h�e� �s�p�e�a�k�i�n�g� �a�u�d�i�o�.� �*�/�
�
� � �v�o�l�u�m�e�?�:� �n�u�m�b�e�r�
�
� � �/�*�*� �W�h�e�t�h�e�r� �t�h�e� �t�e�x�t� �s�h�o�u�l�d� �b�e� �s�p�o�k�e�n� �a�u�t�o�m�a�t�i�c�a�l�l�y�,� �i�.�e�.� �o�n� �r�e�n�d�e�r�.� �*�/�
�
� � �a�u�t�o�P�l�a�y�?�:� �b�o�o�l�e�a�n�
�
� � �/�*�*� �W�h�e�t�h�e�r� �t�h�e� �s�p�o�k�e�n� �w�o�r�d� �s�h�o�u�l�d� �b�e� �w�r�a�p�p�e�d� �i�n� �a� �
�<�m�a�r�k�>�� �e�l�e�m�e�n�t�.� �*�/�
�
� � �m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n�?�:� �b�o�o�l�e�a�n�
�
� � �/�*�*� �C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e� �v�o�l�u�m�e� �i�s� �c�h�a�n�g�e�d�.� � �*�/�
�
� � �o�n�V�o�l�u�m�e�C�h�a�n�g�e�?�:� �(�n�e�w�V�o�l�u�m�e�:� �n�u�m�b�e�r�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e� �r�a�t�e� �i�s� �c�h�a�n�g�e�d�.� � �*�/�
�
� � �o�n�R�a�t�e�C�h�a�n�g�e�?�:� �(�n�e�w�R�a�t�e�:� �n�u�m�b�e�r�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e� �p�i�t�c�h� �i�s� �c�h�a�n�g�e�d�.� � �*�/�
�
� � �o�n�P�i�t�c�h�C�h�a�n�g�e�?�:� �(�n�e�w�P�i�t�c�h�:� �n�u�m�b�e�r�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e�r�e� �i�s� �a�n� �e�r�r�o�r� �o�f� �a�n�y� �k�i�n�d�.� �*�/�
�
� � �o�n�E�r�r�o�r�?�:� �(�m�s�g�:� �s�t�r�i�n�g�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �C�a�l�l�b�a�c�k� �w�h�e�n� �s�p�e�a�k�i�n�g�/�a�u�d�i�o� �s�t�a�r�t�s� �p�l�a�y�i�n�g�.� �*�/�
�
� � �o�n�S�t�a�r�t�?�:� �(�e�v�t�:� �S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�E�v�e�n�t� �|� �E�v�e�n�t�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e� �s�p�e�a�k�i�n�g�/�a�u�d�i�o� �i�s� �p�a�u�s�e�d�.� �*�/�
�
� � �o�n�P�a�u�s�e�?�:� �(�e�v�t�:� �S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�E�v�e�n�t� �|� �E�v�e�n�t�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �C�a�l�b�a�c�k� �w�h�e�n� �t�h�e� �c�u�r�r�e�n�t� �u�t�t�e�r�a�n�c�e�/�a�u�d�i�o� �h�a�s� �e�n�d�e�d�.� �*�/�
�
� � �o�n�E�n�d�?�:� �(�e�v�t�:� �S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�E�v�e�n�t� �|� �E�v�e�n�t�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �C�a�l�l�b�a�c�k� �w�h�e�n� �a� �w�o�r�d� �b�o�u�n�d�a�r�y�/�m�a�r�k� �h�a�s� �b�e�e�n� �r�e�a�c�h�e�d�.� �*�/�
�
� � �o�n�B�o�u�n�d�a�r�y�?�:� �(�e�v�t�:� �S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�E�v�e�n�t� �|� �E�v�e�n�t�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �F�u�n�c�t�i�o�n� �t�o� �f�e�t�c�h� �a�u�d�i�o� �a�n�d� �s�p�e�e�c�h� �m�a�r�k�s� �f�o�r� �t�h�e� �s�p�o�k�e�n� �t�e�x�t�.� �*�/�
�
� � �f�e�t�c�h�A�u�d�i�o�D�a�t�a�?�:� �(�s�p�o�k�e�n�T�e�x�t�:� �s�t�r�i�n�g�)� �=�>� �P�r�o�m�i�s�e�<�T�T�S�A�u�d�i�o�D�a�t�a�>�
�
�}�
�
�i�n�t�e�r�f�a�c�e� �T�T�S�H�o�o�k�R�e�s�p�o�n�s�e� �{�
�
� � �s�e�t�:� �{�
�
� � � � �l�a�n�g�:� �(�v�a�l�u�e�:� �s�t�r�i�n�g�)� �=�>� �v�o�i�d�
�
� � � � �r�a�t�e�:� �(�v�a�l�u�e�:� �n�u�m�b�e�r�)� �=�>� �v�o�i�d�
�
� � � � �p�i�t�c�h�:� �(�v�a�l�u�e�:� �n�u�m�b�e�r�)� �=�>� �v�o�i�d�
�
� � � � �v�o�l�u�m�e�:� �(�v�a�l�u�e�:� �n�u�m�b�e�r�)� �=�>� �v�o�i�d�
�
� � � � �p�r�e�s�e�r�v�e�s�P�i�t�c�h�:� �(�v�a�l�u�e�:� �b�o�o�l�e�a�n�)� �=�>� �v�o�i�d�
�
� � �}�
�
� � �g�e�t�:� �{�
�
� � � � �l�a�n�g�:� �(�)� �=�>� �s�t�r�i�n�g�
�
� � � � �r�a�t�e�:� �(�)� �=�>� �n�u�m�b�e�r�
�
� � � � �p�i�t�c�h�:� �(�)� �=�>� �n�u�m�b�e�r�
�
� � � � �v�o�l�u�m�e�:� �(�)� �=�>� �n�u�m�b�e�r�
�
� � � � �p�r�e�s�e�r�v�e�s�P�i�t�c�h�:� �(�)� �=�>� �b�o�o�l�e�a�n�
�
� � �}�
�
� � �/�*�*� �S�t�a�t�e� �o�f� �t�h�e� �c�u�r�r�e�n�t� �s�p�e�a�k�i�n�g�/�a�u�d�i�o�.� �*�/�
�
� � �s�t�a�t�e�:� �T�T�S�H�o�o�k�S�t�a�t�e�
�
� � �/�*�*� �T�h�e� �t�e�x�t� �e�x�t�r�a�c�t�e�d� �f�r�o�m� �t�h�e� �c�h�i�l�d�r�e�n� �e�l�e�m�e�n�t�s� �a�n�d� �u�s�e�d� �t�o� �s�y�n�t�h�e�s�i�z�e� �s�p�e�e�c�h�.� �*�/�
�
� � �s�p�o�k�e�n�T�e�x�t�:� �s�t�r�i�n�g�
�
� � �p�l�a�y�:� �(�)� �=�>� �v�o�i�d�
�
� � �s�t�o�p�:� �(�)� �=�>� �v�o�i�d�
�
� � �p�a�u�s�e�:� �(�)� �=�>� �v�o�i�d�
�
� � �r�e�p�l�a�y�:� �(�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �T�o�g�g�l�e�s� �b�e�t�w�e�e�n� �m�u�t�e�d�/�u�n�m�u�t�e�d�,� �i�.�e�.� �v�o�l�u�m�e� �i�s� �z�e�r�o� �o�r� �n�o�n�-�z�e�r�o�.� �*�/�
�
� � �t�o�g�g�l�e�M�u�t�e�:� �(�c�a�l�l�b�a�c�k�?�:� �(�w�a�s�M�u�t�e�d�:� �b�o�o�l�e�a�n�)� �=�>� �v�o�i�d�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �T�o�g�g�l�e�s� �b�e�t�w�e�e�n� �p�l�a�y�/�s�t�o�p�.� �*�/�
�
� � �p�l�a�y�O�r�S�t�o�p�:� �(�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �T�o�g�g�l�e�s� �b�e�t�w�e�e�n� �p�l�a�y�/�p�a�u�s�e�.� �*�/�
�
� � �p�l�a�y�O�r�P�a�u�s�e�:� �(�)� �=�>� �v�o�i�d�
�
� � �/�*�*� �T�h�e� �o�r�i�g�i�n�a�l� �c�h�i�l�d�r�e�n� �w�i�t�h� �a� �p�o�s�s�i�b�l�e� �<�m�a�r�k�>� �i�n�c�l�u�d�e�d� �i�f� �u�s�i�n�g� �
�m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n��.� �*�/�
�
� � �t�t�s�C�h�i�l�d�r�e�n�:� �R�e�a�c�t�N�o�d�e�
�
�}�
�
�i�n�t�e�r�f�a�c�e� �T�T�S�H�o�o�k�S�t�a�t�e� �{�
�
� � �v�o�i�c�e�s�:� �S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�V�o�i�c�e�[�]�
�
� � �b�o�u�n�d�a�r�y�:� �B�o�u�n�d�a�r�y�U�p�d�a�t�e�
�
� � �i�s�P�l�a�y�i�n�g�:� �b�o�o�l�e�a�n�
�
� � �i�s�P�a�u�s�e�d�:� �b�o�o�l�e�a�n�
�
� � �i�s�M�u�t�e�d�:� �b�o�o�l�e�a�n�
�
� � �i�s�E�r�r�o�r�:� �b�o�o�l�e�a�n�
�
� � �i�s�R�e�a�d�y�:� �b�o�o�l�e�a�n�
�
�}�
�
�i�n�t�e�r�f�a�c�e� �T�T�S�B�o�u�n�d�a�r�y�U�p�d�a�t�e� �{�
�
� � �w�o�r�d�:� �s�t�r�i�n�g�
�
� � �s�t�a�r�t�C�h�a�r�:� �n�u�m�b�e�r�
�
� � �e�n�d�C�h�a�r�:� �n�u�m�b�e�r�
�
�}�
�
�
��
�
�
�
�
�#�#� ��f�e�t�c�h�A�u�d�i�o�D�a�t�a�
�
�
�
�
�U�s�i�n�g� ��f�e�t�c�h�A�u�d�i�o�D�a�t�a�
� �w�i�l�l� �b�y�p�a�s�s� ��S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�
� �a�n�d� �u�s�e� �t�h�e� ��H�T�M�L�A�u�d�i�o�E�l�e�m�e�n�t�
�.�
�
�
�
��
��t�s�
�
�(�s�p�o�k�e�n�T�e�x�t�:� �s�t�r�i�n�g�)� �=�>� �P�r�o�m�i�s�e�<�T�T�S�A�u�d�i�o�D�a�t�a�>�
�
�
��
�
�
�
�
�W�h�e�n� �u�s�i�n�g� ��f�e�t�c�h�A�u�d�i�o�D�a�t�a�
� �i�t� �m�u�s�t� �r�e�t�u�r�n� ��T�T�S�A�u�d�i�o�D�a�t�a�
� �w�h�i�c�h� �h�a�s� �t�h�e� �f�o�l�l�o�w�i�n�g� �s�h�a�p�e�:�
�
�
�
��
��t�s�
�
�i�n�t�e�r�f�a�c�e� �P�o�l�l�y�S�p�e�e�c�h�M�a�r�k� �{�
�
� � �e�n�d�:� �n�u�m�b�e�r�
�
� � �s�t�a�r�t�:� �n�u�m�b�e�r�
�
� � �t�i�m�e�:� �n�u�m�b�e�r�
�
� � �t�y�p�e�:� �'�w�o�r�d�'�
�
� � �v�a�l�u�e�:� �s�t�r�i�n�g�
�
�}�
�
�i�n�t�e�r�f�a�c�e� �T�T�S�A�u�d�i�o�D�a�t�a� �{�
�
� � �a�u�d�i�o�:� �s�t�r�i�n�g�
�
� � �m�a�r�k�s�?�:� �P�o�l�l�y�S�p�e�e�c�h�M�a�r�k�[�]�
�
�}�
�
�
��
�
�
�T�h�e� ��a�u�d�i�o�
� �p�r�o�p�e�r�t�y� �m�u�s�t� �b�e� �a� �U�R�L� �t�h�a�t� �c�a�n� �b�e� �a�p�p�l�i�e�d� �t�o� �[��H�T�M�L�A�u�d�i�o�E�l�e�m�e�n�t�.�s�r�c�
�]�(�h�t�t�p�s�:�/�/�d�e�v�e�l�o�p�e�r�.�m�o�z�i�l�l�a�.�o�r�g�/�e�n�-�U�S�/�d�o�c�s�/�W�e�b�/�H�T�M�L�/�E�l�e�m�e�n�t�/�a�u�d�i�o�#�a�t�t�r�-�s�r�c�)�,� �i�n�c�l�u�d�i�n�g� �a� �[�d�a�t�a� �U�R�L�]�(�h�t�t�p�s�:�/�/�d�e�v�e�l�o�p�e�r�.�m�o�z�i�l�l�a�.�o�r�g�/�e�n�-�U�S�/�d�o�c�s�/�W�e�b�/�H�T�T�P�/�B�a�s�i�c�s�_�o�f�_�H�T�T�P�/�D�a�t�a�_�U�R�L�s�)�.� �I�f� �u�s�i�n�g� ��m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n�
� �t�h�e�n� �y�o�u� �m�u�s�t� �a�l�s�o� �r�e�t�u�r�n� �t�h�e� ��m�a�r�k�s�
� �t�h�a�t� �d�e�s�c�r�i�b�e� �t�h�e� �w�o�r�d� �b�o�u�n�d�a�r�i�e�s�.� ��P�o�l�l�y�S�p�e�e�c�h�M�a�r�k�s�
� �h�a�v�e� �t�h�e� �s�a�m�e� �s�h�a�p�e� �a�s� �t�h�e� �[�S�p�e�e�c�h� �M�a�r�k�s� �u�s�e�d� �b�y� �A�m�a�z�o�n� �P�o�l�l�y�]�(�h�t�t�p�s�:�/�/�d�o�c�s�.�a�w�s�.�a�m�a�z�o�n�.�c�o�m�/�p�o�l�l�y�/�l�a�t�e�s�t�/�d�g�/�s�p�e�e�c�h�m�a�r�k�s�.�h�t�m�l�)�,� �w�i�t�h� �t�h�e� �r�e�s�t�r�i�c�t�i�o�n� �t�h�a�t� �t�h�e�y� �m�u�s�t� �b�e� �o�f� ��t�y�p�e�:� �'�w�o�r�d�'�
�.�
�
�
�
�
�
�#�#� �P�r�o�p�s�
�
�
�
�M�o�s�t� �o�f� �t�h�e�s�e� �a�r�e� �s�u�p�p�o�r�t�e�d� �b�y� �t�h�e� ��u�s�e�T�t�s�
� �h�o�o�k�,� �b�u�t� �t�h�o�s�e� �m�a�r�k�e�d� �w�i�t�h� �a�n� �a�s�t�e�r�i�s�k� �a�r�e� �e�x�c�l�u�s�i�v�e� �t�o� �t�h�e� ��T�e�x�t�T�o�S�p�e�e�c�h�
� �c�o�m�p�o�n�e�n�t�.�
�
�
�
�<�s�u�b�>��*�
� �O�n�l�y� �a�p�p�l�i�e�s� �t�o� ��T�e�x�t�T�o�S�p�e�e�c�h�
� �c�o�m�p�o�n�e�n�t�.�<�/�s�u�b�>�
�
�
�
�|�N�a�m�e�|�R�e�q�u�i�r�e�d�|�T�y�p�e�|�D�e�f�a�u�l�t�|�D�e�s�c�r�i�p�t�i�o�n�|�
�
�|�-�-�-�-�|�-�-�-�-�-�-�-�-�|�-�-�-�-�|�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�-�-�|�
�
�|�c�h�i�l�d�r�e�n�|�y�e�s�|��R�e�a�c�t�N�o�d�e�
�|�n�o�n�e�|�P�r�o�v�i�d�e�s� �t�h�e� �t�e�x�t� �t�h�a�t� �w�i�l�l� �b�e� �s�p�o�k�e�n�.�|�
�
�|�l�a�n�g�|�n�o�|��s�t�r�i�n�g�
�|�T�h�e� �o�n�e� �u�s�e�d� �b�y� �[��S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�.�l�a�n�g�
�]�(�h�t�t�p�s�:�/�/�d�e�v�e�l�o�p�e�r�.�m�o�z�i�l�l�a�.�o�r�g�/�e�n�-�U�S�/�d�o�c�s�/�W�e�b�/�A�P�I�/�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�/�l�a�n�g�)�.�|�S�e�t�s� �t�h�e� �[��S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�.�l�a�n�g�
�]�(�h�t�t�p�s�:�/�/�d�e�v�e�l�o�p�e�r�.�m�o�z�i�l�l�a�.�o�r�g�/�e�n�-�U�S�/�d�o�c�s�/�W�e�b�/�A�P�I�/�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�/�l�a�n�g�)�.� �O�v�e�r�r�i�d�e�s� ��v�o�i�c�e�
� �w�h�e�n� �s�e�t� �a�n�d� ��v�o�i�c�e�.�l�a�n�g�
� �d�o�e�s� �n�o�t� �m�a�t�c�h� ��l�a�n�g�
�.�|�
�
�|�v�o�i�c�e�|�n�o�|��S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�V�o�i�c�e�
�|�N�o�n�e� �o�r� �t�h�e� �v�o�i�c�e� �p�r�o�v�i�d�e�d� �b�y� ��a�u�d�i�o�
� �f�r�o�m� ��T�T�S�A�u�d�i�o�D�a�t�a�
�.�|�T�h�e� �v�o�i�c�e� �h�e�a�r�d� �w�h�e�n� �t�h�e� �t�e�x�t� �i�s� �s�p�o�k�e�n�.� �C�a�l�l�i�n�g� ��s�e�t�.�l�a�n�g�
� �m�a�y� �o�v�e�r�r�i�d�e� �t�h�i�s� �v�a�l�u�e�.�|�
�
�|�a�u�t�o�P�l�a�y�|�n�o�|��b�o�o�l�e�a�n�
�|��f�a�l�s�e�
�|�W�h�e�t�h�e�r� �t�h�e� �a�u�d�i�o� �o�f� �t�h�e� �t�e�x�t� �s�h�o�u�l�d� �a�u�t�o�m�a�t�i�c�a�l�l�y� �b�e� �s�p�o�k�e�n� �w�h�e�n� �r�e�a�d�y�.�|�
�
�|�m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n�|�n�o�|��b�o�o�l�e�a�n�
�|��f�a�l�s�e�
�|�W�h�e�t�h�e�r� �t�h�e� �w�o�r�d� �b�e�i�n�g� �s�p�o�k�e�n� �s�h�o�u�l�d� �b�e� �h�i�g�h�l�i�g�h�t�e�d�.�|�
�
�|�m�a�r�k�C�o�l�o�r�|�n�o�|��s�t�r�i�n�g�
�|�n�o�n�e�|�C�o�l�o�r� �o�f� �t�h�e� �t�e�x�t� �t�h�a�t� �i�s� �c�u�r�r�e�n�t�l�y� �b�e�i�n�g� �s�p�o�k�e�n�.� �O�n�l�y� �a�p�p�l�i�e�s� �w�i�t�h� ��m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n�
�.�|�
�
�|�m�a�r�k�B�a�c�k�g�r�o�u�n�d�C�o�l�o�r�|�n�o�|��s�t�r�i�n�g�
�|�n�o�n�e�|�B�a�c�k�g�r�o�u�n�d� �c�o�l�o�r� �o�f� �t�h�e� �t�e�x�t� �t�h�a�t� �i�s� �c�u�r�r�e�n�t�l�y� �b�e�i�n�g� �s�p�o�k�e�n�.� �O�n�l�y� �a�p�p�l�i�e�s� �w�i�t�h� ��m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n�
�.�|�
�
�|�f�e�t�c�h�A�u�d�i�o�D�a�t�a�|�n�o�|��(�t�e�x�t�:� �s�t�r�i�n�g�)� �=�>� �P�r�o�m�i�s�e�<�T�T�S�A�u�d�i�o�D�a�t�a�>�
�|�n�o�n�e�|�F�u�n�c�t�i�o�n� �t�o� �r�e�t�u�r�n� �t�h�e� �o�p�t�i�o�n�a�l� ��S�p�e�e�c�h�M�a�r�k�s�[�]�
� �a�n�d� ��a�u�d�i�o�
� �U�R�L� �f�o�r� �t�h�e� �t�e�x�t� �t�o� �b�e� �s�p�o�k�e�n�.� �S�e�e� �[�f�e�t�c�h�A�u�d�i�o�D�a�t�a�]�(�#�f�e�t�c�h�a�u�d�i�o�d�a�t�a�)� �f�o�r� �m�o�r�e� �d�e�t�a�i�l�s�.�|�
�
�|�<�s�u�p�>��*�
�<�/�s�u�p�>�a�l�l�o�w�M�u�t�i�n�g�|�n�o�|��b�o�o�l�e�a�n�
�|��t�r�u�e�
�|�W�h�e�t�h�e�r� �a�n� �a�d�d�i�t�i�o�n�a�l� �b�u�t�t�o�n� �w�i�l�l� �b�e� �s�h�o�w�n� �o�n� �t�h�e� �c�o�m�p�o�n�e�n�t� �t�h�a�t� �a�l�l�o�w�s� �m�u�t�i�n�g� �t�h�e� �a�u�d�i�o�.�|�
�
�|�<�s�u�p�>��*�
�<�/�s�u�p�>�o�n�M�u�t�e�T�o�g�g�l�e�d�|�n�o�|��(�w�a�s�M�u�t�e�d�:� �b�o�o�l�e�a�n�)� �=�>� �v�o�i�d�
�|�n�o�n�e�|�C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e� �u�s�e�r� �c�l�i�c�k�s� �t�h�e� �m�u�t�e� �b�u�t�t�o�n� �s�h�o�w�n� �f�r�o�m� ��a�l�l�o�w�M�u�t�i�n�g�
� �b�e�i�n�g� �e�n�a�b�l�e�d�.� �C�a�n� �b�e� �u�s�e�d� �t�o� �t�o�g�g�l�e� �g�l�o�b�a�l� �o�r� �l�o�c�a�l� �s�t�a�t�e� �l�i�k�e� �w�h�e�t�h�e�r� ��a�u�t�o�P�l�a�y�
� �s�h�o�u�l�d� �b�e� �e�n�a�b�l�e�d�.�|�
�
�|�o�n�S�t�a�r�t�|�n�o�|��(�e�v�t�:� �S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�E�v�e�n�t� �\�|� �E�v�e�n�t�)� �=�>� �v�o�i�d�
�|�n�o�n�e�|�C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e� �s�p�e�a�k�i�n�g�/�a�u�d�i�o� �h�a�s� �s�t�a�r�t�e�d� �(�o�r� �r�e�s�u�m�e�d�)� �p�l�a�y�i�n�g�.�|�
�
�|�o�n�P�a�u�s�e�|�n�o�|��(�e�v�t�:� �S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�E�v�e�n�t� �\�|� �E�v�e�n�t�)� �=�>� �v�o�i�d�
�|�n�o�n�e�|�C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e� �s�p�e�a�k�i�n�g�/�a�u�d�i�o� �h�a�s� �b�e�e�n� �p�a�u�s�e�d�.�|�
�
�|�o�n�E�n�d�|�n�o�|��(�e�v�t�:� �S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�E�v�e�n�t� �\�|� �E�v�e�n�t�)� �=�>� �v�o�i�d�
�|�n�o�n�e�|�C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e� �s�p�e�a�k�i�n�g�/�a�u�d�i�o� �h�a�s� �s�t�o�p�p�e�d�.�|�
�
�|�o�n�B�o�u�n�d�a�r�y�|�n�o�|��(�b�o�u�n�d�a�r�y�:� �T�T�S�B�o�u�n�d�a�r�y�U�p�d�a�t�e�,� �e�v�t�:� �S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�E�v�e�n�t� �\�|� �E�v�e�n�t�)� �=�>� �v�o�i�d�
�|�n�o�n�e�|�C�a�l�l�b�a�c�k� �w�h�e�n� �a� �w�o�r�d� �b�o�u�n�d�a�r�y�/�m�a�r�k� �h�a�s� �b�e�e�n� �r�e�a�c�h�e�d�.�|�
�
�|�o�n�E�r�r�o�r�|�n�o�|��(�m�s�g�:� �s�t�r�i�n�g�)� �=�>� �v�o�i�d�
�|�n�o�n�e�|�C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e�r�e� �i�s� �a�n� �e�r�r�o�r� �o�f� �a�n�y� �k�i�n�d� �p�l�a�y�i�n�g� �t�h�e� �s�p�o�k�e�n� �t�e�x�t�.� �T�h�e� �e�r�r�o�r� �m�e�s�s�a�g�e� �(�i�f� �a�n�y�)� �w�i�l�l� �b�e� �p�r�o�v�i�d�e�d�.�|�
�
�|�o�n�V�o�l�u�m�e�C�h�a�n�g�e�|�n�o�|��(�n�e�w�V�o�l�u�m�e�:� �n�u�m�b�e�r�)� �=�>� �v�o�i�d�
�|�n�o�n�e�|�C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e� �v�o�l�u�m�e� �h�a�s� �c�h�a�n�g�e�d�.�|�
�
�|�o�n�R�a�t�e�C�h�a�n�g�e�|�n�o�|��(�n�e�w�R�a�t�e�:� �n�u�m�b�e�r�)� �=�>� �v�o�i�d�
�|�n�o�n�e�|�C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e� �r�a�t�e� �h�a�s� �c�h�a�n�g�e�d�.�|�
�
�|�o�n�P�i�t�c�h�C�h�a�n�g�e�|�n�o�|��(�n�e�w�P�i�t�c�h�:� �n�u�m�b�e�r�)� �=�>� �v�o�i�d�
�|�n�o�n�e�|�C�a�l�l�b�a�c�k� �w�h�e�n� �t�h�e� �p�i�t�c�h� �h�a�s� �c�h�a�n�g�e�d�.�|�
�
�|�<�s�u�p�>��*�
�<�/�s�u�p�>�a�l�i�g�n�|�n�o�|��'�h�o�r�i�z�o�n�t�a�l�'� �\�|� �'�v�e�r�t�i�c�a�l�'�
�|��'�h�o�r�i�z�o�n�t�a�l�'�
�|�H�o�w� �t�o� �a�l�i�g�n� �t�h�e� �c�o�n�t�r�o�l�s� �w�i�t�h�i�n� �t�h�e� ��T�e�x�t�T�o�S�p�e�e�c�h�
� �c�o�m�p�o�n�e�n�t�.�|�
�
�|�<�s�u�p�>��*�
�<�/�s�u�p�>�s�i�z�e�|�n�o�|��'�s�m�a�l�l�'� �\�|� �'�m�e�d�i�u�m�'� �\�|� �'�l�a�r�g�e�'�
�|��'�m�e�d�i�u�m�'�
�|�T�h�e� �r�e�l�a�t�i�v�e� �s�i�z�e� �o�f� �t�h�e� �c�o�n�t�r�o�l�s� �w�i�t�h�i�n� �t�h�e� ��T�e�x�t�T�o�S�p�e�e�c�h�
� �c�o�m�p�o�n�e�n�t�.�|�
�
�|�<�s�u�p�>��*�
�<�/�s�u�p�>�p�o�s�i�t�i�o�n�|�n�o�|��'�t�o�p�R�i�g�h�t�'� �\�|� �'�t�o�p�L�e�f�t�'� �\�|� �'�b�o�t�t�o�m�R�i�g�h�t�'� �\�|� �'�b�o�t�t�o�m�L�e�f�t�'�
�|��'�t�o�p�R�i�g�h�t�'�
�|�T�h�e� �r�e�l�a�t�i�v�e� �p�o�s�i�t�i�o�n�i�n�g� �o�f� �t�h�e� �c�o�n�t�r�o�l�s� �w�i�t�h�i�n� �t�h�e� ��T�e�x�t�T�o�S�p�e�e�c�h�
� �c�o�m�p�o�n�e�n�t�.�|�
�
�|�<�s�u�p�>��*�
�<�/�s�u�p�>�u�s�e�S�t�o�p�O�v�e�r�P�a�u�s�e�|�n�o�|��b�o�o�l�e�a�n�
�|��f�a�l�s�e�
�|�W�h�e�t�h�e�r� �t�h�e� �c�o�n�t�r�o�l�s� �s�h�o�u�l�d� �d�i�s�p�l�a�y� �a� �s�t�o�p� �b�u�t�t�o�n� �i�n�s�t�e�a�d� �o�f� �a� �p�a�u�s�e� �b�u�t�t�o�n�.� �O�n� �A�n�d�r�o�i�d� �d�e�v�i�c�e�s�,� ��S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�.�p�a�u�s�e�(�)�
� �b�e�h�a�v�e�s� �l�i�k�e� ��c�a�n�c�e�l�(�)�
�,� �s�o� �y�o�u� �c�a�n� �u�s�e� �t�h�i�s� �p�r�o�p� �i�n� �t�h�a�t� �c�o�n�t�e�x�t�.�|�
�
�
�
�
�
�#�#� �F�A�Q�
�
�
�
�<�d�e�t�a�i�l�s�>�
�
�<�s�u�m�m�a�r�y�>�W�h�y� �d�o�e�s� �<�c�o�d�e�>�m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n�<�/�c�o�d�e�>� �s�o�m�e�t�i�m�e�s� �h�i�g�h�l�i�g�h�t� �t�h�e� �w�r�o�n�g� �w�o�r�d�?�<�/�s�u�m�m�a�r�y�>�
�
�<�p�>�T�h�e� �<�a� �h�r�e�f�=�"�h�t�t�p�s�:�/�/�d�e�v�e�l�o�p�e�r�.�m�o�z�i�l�l�a�.�o�r�g�/�e�n�-�U�S�/�d�o�c�s�/�W�e�b�/�A�P�I�/�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�/�b�o�u�n�d�a�r�y�_�e�v�e�n�t�"�>�<�c�o�d�e�>�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�<�/�c�o�d�e�>� �b�o�u�n�d�a�r�y� �e�v�e�n�t�<�/�a�>� �<�e�m�>�m�a�y�<�/�e�m�>� �f�i�r�e� �w�i�t�h� �s�k�e�w�e�d� �w�o�r�d� �b�o�u�n�d�a�r�i�e�s� �f�o�r� �c�e�r�t�a�i�n� �c�o�m�b�i�n�a�t�i�o�n�s� �o�f� �<�c�o�d�e�>�s�p�o�k�e�n�T�e�x�t�<�/�c�o�d�e�>� �a�n�d� �<�c�o�d�e�>�l�a�n�g�<�/�c�o�d�e�>� �o�r� �<�c�o�d�e�>�v�o�i�c�e�<�/�c�o�d�e�>� �p�r�o�p�s�.� �I�f� �y�o�u� �c�h�e�c�k� �t�h�e� �v�a�l�u�e� �o�f� �<�c�o�d�e�>�s�t�a�t�e�.�b�o�u�n�d�a�r�y�.�w�o�r�d�<�/�c�o�d�e�>� �i�n� �t�h�e�s�e� �c�a�s�e�s�,� �y�o�u� �w�i�l�l� �f�i�n�d� �t�h�e� �e�v�e�n�t� �i�s� �f�i�r�i�n�g� �a�t� �u�n�e�x�p�e�c�t�e�d� �b�o�u�n�d�a�r�i�e�s�,� �s�o� �t�h�e�r�e� �i�s� �n�o� �r�e�a�l� �s�o�l�u�t�i�o�n� �o�t�h�e�r� �t�h�a�n� �t�o� �f�i�n�d� �a� �s�u�i�t�a�b�l�e� �<�c�o�d�e�>�v�o�i�c�e�<�/�c�o�d�e�>� �f�o�r� �y�o�u�r� �g�i�v�e�n� �<�c�o�d�e�>�s�p�o�k�e�n�T�e�x�t�<�/�c�o�d�e�>�.�<�/�p�>�
�
�<�/�d�e�t�a�i�l�s�>�
�
�
�
�<�d�e�t�a�i�l�s�>�
�
�<�s�u�m�m�a�r�y�>�W�h�y� �d�o�e�s� �<�c�o�d�e�>�m�a�r�k�T�e�x�t�A�s�S�p�o�k�e�n�<�/�c�o�d�e�>� �n�o�t� �w�o�r�k� �o�n� �C�h�r�o�m�e� �f�o�r� �A�n�d�r�o�i�d�?�<�/�s�u�m�m�a�r�y�>�
�
�<�p�>�T�h�i�s� �i�s� �a� �k�n�o�w�n� �i�s�s�u�e� �b�y� �t�h�e� �C�h�r�o�m�i�u�m� �t�e�a�m� �t�h�a�t� �a�p�p�a�r�e�n�t�l�y� �t�h�e�y� �a�r�e� �<�a� �h�r�e�f�=�"�h�t�t�p�s�:�/�/�b�u�g�s�.�c�h�r�o�m�i�u�m�.�o�r�g�/�p�/�c�h�r�o�m�i�u�m�/�i�s�s�u�e�s�/�d�e�t�a�i�l�?�i�d�=�5�2�1�6�6�6�#�c�7�"� �t�a�r�g�e�t�=�"�_�b�l�a�n�k�"�>�n�o�t� �g�o�i�n�g� �t�o� �f�i�x�<�/�a�>�.� �Y�o�u� �c�a�n� �u�s�e� �<�c�o�d�e�>�f�e�t�c�h�A�u�d�i�o�D�a�t�a�<�/�c�o�d�e�>� �t�o� �f�a�l�l�b�a�c�k� �t�o� �t�h�e� �<�c�o�d�e�>�H�T�M�L�A�u�d�i�o�E�l�e�m�e�n�t�<�/�c�o�d�e�>�,� �o�r� �t�r�y� �a� �d�i�f�f�e�r�e�n�t� �b�r�o�w�s�e�r�.�<�/�p�>�
�
�<�/�d�e�t�a�i�l�s�>�
�
�
�
�<�d�e�t�a�i�l�s�>�
�
�<�s�u�m�m�a�r�y�>�W�h�y� �c�a�n� �I� �n�o�t� �p�a�u�s�e� �t�h�e� �a�u�d�i�o� �w�h�e�n� �u�s�i�n�g� �<�c�o�d�e�>�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�<�/�c�o�d�e�>� �o�n� �F�i�r�e�f�o�x� �a�n�d� �C�h�r�o�m�e� �f�o�r� �A�n�d�r�o�i�d�?�<�/�s�u�m�m�a�r�y�>�
�
�<�p�>�S�e�e� �t�h�e� �c�o�m�p�a�t� �t�a�b�l�e� �o�n� �M�D�N� �f�o�r� �<�a� �h�r�e�f�=�"�h�t�t�p�s�:�/�/�d�e�v�e�l�o�p�e�r�.�m�o�z�i�l�l�a�.�o�r�g�/�e�n�-�U�S�/�d�o�c�s�/�W�e�b�/�A�P�I�/�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�/�p�a�u�s�e�#�b�r�o�w�s�e�r�_�c�o�m�p�a�t�i�b�i�l�i�t�y�"� �t�a�r�g�e�t�=�"�_�b�l�a�n�k�"�>�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�.�p�a�u�s�e�(�)�<�/�a�>�.�<�/�p�>�
�
�<�p�>�<�b�l�o�c�k�q�u�o�t�e�>�I�n� �A�n�d�r�o�i�d�,� �p�a�u�s�e�(�)� �e�n�d�s� �t�h�e� �c�u�r�r�e�n�t� �u�t�t�e�r�a�n�c�e�.� �p�a�u�s�e�(�)� �b�e�h�a�v�e�s� �t�h�e� �s�a�m�e� �a�s� �c�a�n�c�e�l�(�)�.�<�/�b�l�o�c�k�q�u�o�t�e�>�<�/�p�>�
�
�<�p�>�Y�o�u� �c�a�n� �u�s�e� �t�h�e� �h�o�o�k� �<�c�o�d�e�>�u�s�e�T�t�s�<�/�c�o�d�e�>� �t�o� �b�u�i�l�d� �c�u�s�t�o�m� �c�o�n�t�r�o�l�s� �t�h�a�t� �<�s�t�r�o�n�g�>�d�o� �n�o�t�<�/�s�t�r�o�n�g�>� �e�x�p�o�s�e� �a� �p�a�u�s�e�,� �b�u�t� �o�n�l�y� �s�t�o�p�.� �I�f� �u�s�i�n�g� �t�h�e� �<�c�o�d�e�>�T�e�x�t�T�o�S�p�e�e�c�h�<�/�c�o�d�e�>� �c�o�m�p�o�n�e�n�t� �u�s�e� �t�h�e� �<�c�o�d�e�>�u�s�e�S�t�o�p�O�v�e�r�P�a�u�s�e�<�/�c�o�d�e�>� �p�r�o�p� �f�o�r� �A�n�d�r�o�i�d� �d�e�v�i�c�e�s�.�<�/�p�>�
�
�<�/�d�e�t�a�i�l�s�>�
�
�
�
�<�d�e�t�a�i�l�s�>�
�
�<�s�u�m�m�a�r�y�>�W�h�y� �i�s� �t�e�x�t� �f�r�o�m� �<�c�o�d�e�>�d�a�n�g�e�r�o�u�s�l�y�S�e�t�I�n�n�e�r�H�T�M�L�<�/�c�o�d�e�>� �n�o�t� �s�p�o�k�e�n�?�<�/�s�u�m�m�a�r�y�>�
�
�<�p�>�<�c�o�d�e�>�t�t�s�-�r�e�a�c�t�-�h�l�t�<�/�c�o�d�e�>� �d�o�e�s� �n�o�t� �s�p�e�a�k� �t�e�x�t� �f�r�o�m� �<�c�o�d�e�>�d�a�n�g�e�r�o�u�s�l�y�S�e�t�I�n�n�e�r�H�T�M�L�<�/�c�o�d�e�>�.� �I�n�s�t�e�a�d� �c�o�n�v�e�r�t� �y�o�u�r� �H�T�M�L� �s�t�r�i�n�g� �i�n�t�o� �R�e�a�c�t� �e�l�e�m�e�n�t�s� �v�i�a� �a�n� �h�t�m�l�-�t�o�-�r�e�a�c�t� �p�a�r�s�e�r�.� �S�e�e� �t�h�i�s� �<�a� �h�r�e�f�=�"�h�t�t�p�s�:�/�/�m�o�r�g�a�n�n�e�y�.�g�i�t�h�u�b�.�i�o�/�t�t�s�-�r�e�a�c�t�/�?�p�a�t�h�=�/�s�t�o�r�y�/�t�t�s�-�r�e�a�c�t�-�-�d�a�n�g�e�r�o�u�s�l�y�-�s�e�t�-�i�n�n�e�r�-�h�t�m�l�"�>�e�x�a�m�p�l�e�<�/�a�>�.�<�/�p�>�
�
�<�/�d�e�t�a�i�l�s�>�
�
�
�
�<�d�e�t�a�i�l�s�>�
�
�<�s�u�m�m�a�r�y�>�W�h�a�t�'�s� �u�p� �w�i�t�h� �S�a�f�a�r�i�?�<�/�s�u�m�m�a�r�y�>�
�
�<�p�>�S�a�f�a�r�i� �s�i�m�p�l�y� �d�o�e�s� �n�o�t� �f�o�l�l�o�w� �t�h�e� �s�p�e�c� �c�o�m�p�l�e�t�e�l�y� �(�y�e�t�)�.� �A�s� �o�n�e� �e�x�a�m�p�l�e�,� �S�a�f�a�r�i� �1�5�.�6�.�1� �o�n� �m�a�c�O�S� �M�o�n�t�e�r�e�y� �1�2�.�5�.�1�,� �t�h�r�o�w�s� �a� �<�c�o�d�e�>�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�E�v�e�n�t�<�/�c�o�d�e�>� �d�u�r�i�n�g� �a� �<�a� �h�r�e�f�=�"�h�t�t�p�s�:�/�/�d�e�v�e�l�o�p�e�r�.�m�o�z�i�l�l�a�.�o�r�g�/�e�n�-�U�S�/�d�o�c�s�/�W�e�b�/�A�P�I�/�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�/�e�r�r�o�r�_�e�v�e�n�t�"�>�<�c�o�d�e�>�S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�U�t�t�e�r�a�n�c�e�.�e�r�r�o�r�<�/�c�o�d�e�>�<�/�a�>�,� �w�h�i�l�e� �t�h�e� �s�p�e�c� �s�a�y�s� �e�r�r�o�r�s� �a�g�a�i�n�s�t� �u�t�t�e�r�a�n�c�e�s� �<�a� �h�r�e�f�=�"�h�t�t�p�s�:�/�/�w�i�c�g�.�g�i�t�h�u�b�.�i�o�/�s�p�e�e�c�h�-�a�p�i�/�#�u�t�t�e�r�a�n�c�e�-�e�v�e�n�t�s�"�>�"�m�u�s�t� �u�s�e� �t�h�e� �S�p�e�e�c�h�S�y�n�t�h�e�s�i�s�E�r�r�o�r�E�v�e�n�t� �i�n�t�e�r�f�a�c�e�"�<�/�a�>�.�<�/�p�>�
�
�<�/�d�e�t�a�i�l�s�>�
�
�