In this super cool lesson, you'll discover:
Definition: Text-To-Speech (TTS) is like magic technology that turns written words into spoken words - just like having a robot friend read to you!
:bulb: Did you know?
Your phone, tablet, and computer can all talk to you using TTS! Many people use this technology to help them read books, websites, and messages. It's super helpful!
TTS tools are everywhere! You can find them on:
Graphical Illustration of how Text-To-Speech works
In MIT App Inventor, we can make our app super smart! We can:
:information_source: Remember! Different countries speak the same language with different accents! British English sounds different from American English - how cool is that? 🇬🇧🇺🇸
Wow! Look at all these amazing languages your app can speak! :emoji:
Abbreviation | Language | Abbreviation | Language |
---|---|---|---|
de | German | ja | Japanese |
en | English | sl | Slovenian |
es | Spanish | sv | Swedish |
fr | French | ko | Korean |
it | Italian | hu | Hungarian |
ru | Russian | hi | Hindi |
th | Thai | ar | Arabian |
pt | Portuguese | ca | Catalan |
ro | Romanian | cs | Czech |
uk | Ukrainian | zh | Chinese |
et | Estonian | ku | Kurdish |
vi | Vietnamese | bn | Bengali |
sk | Greek | id | Indonesian |
For more abbreviations and languages, go to https://goo.gl/ziHVyT
:bulb: Fun Fact!
Did you know that there are over 7,000 languages spoken in the world? MIT App Inventor supports many of them! Maybe you can make an app that speaks your family's language! :star2:
Here's something super cool: The same language can sound different in different countries!
For example:
By setting a country code, you can make your app speak with different accents! However, remember that NOT every country code will change every language.
Country Code | Country | Country Code | Country | Country Code | Country |
---|---|---|---|---|---|
AUS | Australia | HKG | Hong Kong | NAM | Namibia |
AUT | Austria | IND | India | NZL | New Zealand |
BEL | Belgium | IRL | Ireland | PAK | Pakistan |
BLZ | Belize | ITA | Italy | PHL | Philippines |
BWA | Botswana | JAM | Jamaica | SGP | Singapore |
CAN | Canada | LIE | Liechtenstein | TTO | Trinidad and Tobago |
CHE | Switzerland | LUX | Luxembourg | USA | United States |
DEU | Germany | MCO | Monaco | VIR | Virgin Islands, U.S. |
ESP | Spain | MHL | Marshall Islands | ZAF | South Africa |
FRA | France | MLT | Malta | ZWE | Zimbabwe |
GBR | United Kingdom |
For more country codes and countries, go to https://goo.gl/5R6wkg
MIT App Inventor TTS Language and Country Settings
Here's a cool trick! When you choose "Default" for "Country" and "Language", your app becomes super smart! :emoji:
It will automatically:
:information_source: Remember! If your phone is set to Spanish, and you choose "Default", your app will speak Spanish too! Magic! :sparkles:
Now let's learn about the opposite - making your app LISTEN to you! How awesome is that? :tada:
Definition: Speech Recognizer is like giving your app super hearing powers! It listens to what you say and turns your words into text that the app can understand.
Electronic devices with speech recognition can:
:bulb: Did you know?
When you say "Hey Google" or "Hey Siri", you're using speech recognition! Your device is listening and understanding your words. Pretty amazing, right? :emoji:
Let's see the magic behind speech recognition:
Graphical Illustration of how speech recognizer works
Here's the super cool process of how your app understands what you say:
First, the speech recognizer takes your voice (which is like a sound wave) and turns it into digital information that computers can understand.
The recognizer breaks words into tiny sound pieces called phonemes. These are like the building blocks of words!
For example, the word "cat" has three phonemes:
The app is super smart! It:
Finally, your spoken words appear as text on the screen! Magic! :emoji:
Speech Recognition Process in MIT App Inventor
:information_source: Remember! Speech recognition works best when you:
Congratulations, young app developer! You've learned about two amazing technologies:
Now you can create apps that can have real conversations with people! How cool is that?
With these superpowers, you can create:
Keep practicing and have fun making your apps talk and listen! Remember, the best apps are the ones that help people and make them smile! :emoji:
:bulb: Challenge Time!
Try making an app that listens to you say a word in English, then speaks it back in another language! It's like having your own translation buddy! :emoji: