TextTo Speech with Attributes


#1

Hi,
I did this Extention at the request of my friend. Maybe it will be useful to someone else.

This is an augmented of the TextToSpeech Component to synchronize speech with actions.
Allows you to perform actions specified by attributes inserted into the text

Attributes Examples:

/pau=3000/ - Wait 3 seconds before continuing to talk;
/mrk=marker1/ - Insert bookmark (an event will be generated at this point);
/spr=1.2/ – Set Speech Rate to 1.2 (possible values 1.0 to 2.0).
/ptch=1.5/ – Set Pitch to 1.5 (possible values 1.0 to 2.0).
/ptch=1.5,spr=1.3/ - You can specify multiple attributes, with a comma separating.

One new event:


ScTextToSpeechA.aix (12.3 KB)
TestScTextToSpeech.aia (29.2 KB) Created by MIT App Inventor


#2

and how can you start that the app starts to hear you. ? And how does the app know my speech. You need internet connection that this component works or?


#3

This component does not “hear”, he “says” :slight_smile:
To listen you need to use another component. Possible offline


#4

together with your other component this is really powerful. I guess i have to test them. :+1:


#5

Brother, eu não entendi muito bem essa extenção, você poderia explicar melhor?
Outra pergunta… você conhece alguma extensão para poder tirar foto sem a interação humana, estou usando a sua outra extensão pra chamar a câmera, mas ao abri-la não da pra tirar a foto acionando-a por comando de voz… Você pode me dar alguma dica… Valew sou seu fã.


#6

Hola, amigo! Tu probaste bien el ejemplo mio? Cuales dudas tienes? El uso de extencion es muy facil.
La camara de android tiene ajuste para que puedes tomar fotos con comando de voz. Decir “Smile” por ejemplo. Tambien puedes usar Camera Extension juntos con Voice Recognition extension without Google Dialogue.