# How to Make a Meow Translator

How to.png__PID:631be34b-f2b9-402e-8885-a74d92918119

Imagine what it would be like for your cat to be able to communicate with humans through technology. With the continuous development of artificial intelligence technology, this dream has become a reality.

We are pleased to introduce our latest innovation, the Cat Cat Translator. This device deciphers your cat's meows and translates them into various languages displayed on the CyberPi, making communication between you and your cat easier than ever.

This #How to use mBlock's newly launched Machine Learning 2.0 feature, paired with CyberPi, teaches you how to make a Meow translator that will change the way you interact with your pet.

The role of machine learning 2.0 features in making Meow Translator

1. Data collection and analysis:
• Audio data processing: By collecting a large number of sound samples from cats, machine learning algorithms can analyze and process this audio data to extract sound features and patterns.
• Behavioral data correlation: Machine learning can correlate and analyze a cat's voice with its behavioral data, helping to identify correspondences between specific sounds and behaviors.

2. Pattern Recognition and Classification:
• Sound Pattern Recognition: machine learning algorithms are able to recognize different types of cat sounds, such as purring, meowing, hissing, etc., and categorize them.
Emotion analysis: by analyzing features such as frequency, pitch, and duration of sounds, machine learning can determine the emotional state of cats when they make these sounds, such as happiness, hunger, anxiety, etc.

3. Human-computer interaction and user experience:
• Enhanced Understanding: With the Cat Translator, pet owners can better understand their cat's needs and emotional state, enhancing communication and emotional connection with their pets.
• Improved care: machine learning can help owners more accurately identify their cat's health and needs, leading to better care and quality of life.

It's important to note that our understanding of the correlation between cat sounds and their meanings is largely based on research conducted by Špinka et al. (2019) [1]. Their study, published in Animals, provides valuable insights into feline vocalizations and their potential interpretations. For a deeper dive into this research, you can read the full essay here.

[1] Automatic Classification of Cat Vocalizations Emitted in Different Contexts. M. Špinka, P. Lhotský, M. Pleva, P. Jirků, P. Hanuš, L. Ošťádalová, J. Čermáková, P. Pudil (2019). Animals, 9(8), 543.

How to Translate Cat Language by Programming

Step 1:Preparation

Substep 1.1: Material Required
• One CyberPi
• Type C cable*1
• A computer with internet access

Use the data cable to connect the CyberPi to your computer.

img_v3_02d2_c11d1139-c0cf-42f0-9624-25dd144a08bg.jpg__PID:c885a74d-9291-4119-a2ac-3ff83c07d7ad

Substep 1.2: Open mBlock
Visit the mBlock website: https://mblock.cc/
Click【Code with Block】to open the editor

Step 2:Machine learning


Substep 2.1: Add Extension

图片1.png__PID:a74d9291-8119-42ac-bff8-3c07d7ad42f6

Click on【extension】in 【Sprites
Download and add Machine Learning 2.0
Create/Manage model in 【Machine learning

Substep 2.2: Training model

图片2.png__PID:92918119-a2ac-4ff8-bc07-d7ad42f6d222

• Create a new 【Audio project】 project
And then the first thing we need to do is add an audio sample of the background noise

图片3.png__PID:8119a2ac-3ff8-4c07-97ad-42f6d2226a6d

Click 【Mic】 to expand the background noise recording interface
Press 【Record 20 seconds】 to start recording background noise
After 20 seconds, click 【Extract samples】 to finish and use the background noise
The purpose of sampling background noise is to minimize the errors and effects of background noise when the machine is discriminating between sounds.

Once the background noise sampling is complete, we are going to sample the cat's voice. Here we sample the kitten in the three moods of tired, hungry, and annoyed

图片4.png__PID:a2ac3ff8-3c07-47ad-82f6-d2226a6de757

First, click on 【Class 1】 and then name it
Then click 【Record 2 seconds】 to start recording
Click 【Extract samples】 to take samples
Note: Steps 2 and 3 need to be repeated a minimum of 4 times, taking at least 8 audio samples

图片5.png__PID:3ff83c07-d7ad-42f6-9222-6a6de757f74b

After all the recordings are finished, click 【Train model】 to start training the model
After training, use the model

Step 3:Built-in program

img_v3_02d3_55b6fdae-073f-4e2c-be39-9e70ac2328ag.jpg__PID:42f6d222-6a6d-4757-b74b-799713233c37

Start building the program block in 【Sprites

图片6.png__PID:f74b7997-1323-4c37-a215-135dd716dbb9

Start by creating a hat block
Then drag in the trained recognition block
• Repeat execution: send an upload pattern message with the recognition results
Once the build is complete, we'll be able to send the recognized cat language like CyberPi, and then we'll start building CyberPi's program block

图片7.png__PID:d7ad42f6-d222-4a6d-a757-f74b79971323

Select 【Devices】 to start programming
Add 【Upload Mode Broadcast
Select 【Upload
Creating hat blocks for program building

图片8.png__PID:dbb905f2-0cd8-404c-9c6d-b3c9278753d5

After creating the hat block, set the font size to big first
Then set the decision condition: upload mode information = corresponding idea
Finally, the incoming message is translated into human language and displayed on the CyberPi's screen
After this step, click 【Upload Code】, wait for the upload to be successful, and you'll have a cat translator!

图片9.png__PID:404c5c6d-b3c9-4787-93d5-682471fda1a2

Download

Click on the image below to download the full program

图片10.png__PID:278753d5-6824-41fd-a1a2-856860c98c46POSTER2.png__PID:71fda1a2-8568-40c9-8c46-ab1f4b5a9de2
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming

Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming

$59.99
View Details
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
learn block based coding and python
Easy to Teach Robotics Building
STEM Education
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
coding robot for multiple ways to connect
powerful robot kit
robotics and coding tutorial for kids
robotics and coding tutorial for kids
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
learn block based coding and python
Easy to Teach Robotics Building
STEM Education
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
coding robot for multiple ways to connect
powerful robot kit
robotics and coding tutorial for kids
robotics and coding tutorial for kids
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning
Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning

Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning

$144.00
View Details

Related Articles