AISubs v3.5
It's cold and freezing winter, but everyone's passion for programming is burning hot, isn't it?
Programming lessons that make classes more fun and deeper using computers and tablets!
If you have 100 people, you can give 100 answers!
The answer is definitely not one!
Programming is a magical toy box!
Doesn't your heart skip a beat?
So, at Prosta, we provide you with useful information that will make your heart skip a beat many times!
The catchphrase is "I want to know now"!
Programming is actually deeply ingrained in our lives!
The fireworks of Amuro Namie are also being launched through programming!
Take a tour of society of the company you want to know about!
Create a homepage with programming!
Programming stars who have changed the world with the power of programming are also appearing one after another!
Prosta members will try programming-only!
The road to passing may not be easy!
Now, let's have fun and learn while playing!
"I want to know now"! Let's aim for programming stars!
Good morning, everyone!
Today is the second music lesson!
This time, we're going to scratch and make songs!
Last time, we used biscuits to make a keyboard, didn't we?
It was fun, wasn't it?
It was fun!
We're going to make songs for this week and next week,
but at the end of next week, we're going to sing a song that we all programmed!
Shinji, you're giving it your all, aren't you?
I'm glad you came!
I hope you'll see how cool I am!
Let's have a lively end to the day!
Yes!
Well, today we're going to use Scratch and drums to program the tempo!
In this music class, we're going to use Scratch to program the tempo!
"Tempo" is the speed of a song!
For example...
"Tempo" is the speed of a song!
If we slow it down...
The tempo slows down!
If we speed it up...
The tempo speeds up!
This tempo is important for music!
And what's important for understanding this tempo is...
"Fact"!
"Fact" is...
If we use this metronome's sound...
The part that goes "kachi", "kachi"!
It's the unit of this sound!
The sound "kachi" is played once, so "ippaku"!
The sound "kachi", "kachi" is played twice, so "nihaku"!
If we speed it up...
Or if we slow it down...
It's called "one night" because the sound is one time.
Did you get it?
And the next important thing is...
the cover!
The number of beats I explained earlier is called "cover".
In music, there are mainly three and four beats.
For example...
One...
Two...
Three...
Like this...
After three beats, it's called "three bars".
One...
Two...
Three...
Four...
One...
Two...
Three...
Four...
After four beats, it's called "four bars".
The songs you're listening to now are mostly four bars.
And...
When you make music, you can't forget...
"Novel" (shousetsu)
"Novel" is a combination of three and four bars.
Three bars of "one", "two", "three" and "one shousetsu".
Four bars of "one", "two", "three", "four" and "one shousetsu".
If you look at the chorus, it's divided into "one shousetsu", "two shousetsu", "three shousetsu" and...
The notes played in "one shousetsu" are shown in musical notes!
These are very important when you make the tempo you're studying today, so remember them!
Many children tend to stumble when studying music because of reading musical notes.
There are so many weird symbols and it's difficult!
But!
When you program, you can learn how to read musical notes at the same time.
So, get used to the music like you're playing a game!
This is...
The best part of learning various subjects through programming is that there are fewer children who are not good at music!
Then, can you teach us how to program, Prosta- chan?
Sure! First of all, I'd like to choose a drum sprite, so let's click on the cat mark at the bottom right!
Oh, there it is!
If you scroll down a little bit, you'll see a drum sprite, so let's click on it!
Oh, there's a drum sprite!
Oh, there it is!
This is it!
Once you've done this much, you can add a music palette!
Click on "Add Expansion Function" at the bottom left!
Then, click on "Music" at the top left!
I didn't do anything!
No way!
I used it when I was playing the micro beat!
Did you do it?
Did you do it, Imeri-san?
Then, we'll program the tempo from here!
First of all, select "When Space Key is pressed" from the event palette!
This is the basics of basics!
Next, let's connect "Turn Tempo to 60" from the music palette!
Turn Tempo to 60!
Then, check the "Tempo" block in the music palette!
Then, you'll see "Tempo" displayed on the stage!
This time, we want "Tempo" to be "120", so let's change "Turn Tempo to 60" from "60" to "120"!
It's doubled!
With this, "Tempo" won't change!
Let's press "space" key and change "Tempo"!
Now, let's program the drum sounds!
First, select "When flag is pressed" from "Event" palette.
Next, let's click "Music" palette!
This time, we want to program each sound for one night, so let's change "Snare Drum" from "Drum" to "0.25" from "Snare Drum" palette!
With this, we want to make one bar, so let's connect four "Snare Drum" from "Drum" to "0.25" from "Snare Drum"!
"0.25" means... "two", "three", "four", "three" means...
And, if you click "Snare Drum", you can play various instruments, so let's change all four instruments to "Closed Hi-hat"!
Can we change all four instruments?
Yes, you can!
Now, let's select "Repeat 10 times" from "Controls" palette and connect four "Snare Drum" to "0.25"!
Connect...
After connecting, let's change "0" to "4"!
4
In this way, we were able to program the four- second rhythm to be repeated four times!
With this programming, we were able to create this rhythm from scratch!
This alone is not enough sound, so let's add a little more drum sound!
From the "Event" palette, select "When the flag is pressed"!
Next, change "0.25" in the "Music" palette to "1"!
Once you've changed it, connect "One Night Rest" to "When the flag is pressed"!
Next, connect "One Night Rest" to "When the flag is pressed"!
In addition, connect "One Night Rest" and "One Night Rest" to "When the flag is pressed"!
With this, "One Night Rest" and "One Night Rest" "One Night Rest" and "One Night Rest" were completed!
And from the "Controls" palette, select "Repeat 10 times" block and change "10" to "4"!
Now, let's listen to Iori-chan's rhythm and see what kind of rhythm has been completed!
Yes, let's go!
Iori-chan, well done!
After this, today's work!
Try to make your own original rhythm!
This program is brought to you by PROSTA, a programming learning system.
From now on, today's work!
Try to make your own original rhythm using the drum programming you learned earlier!
"Scratch" not only has snares and closed hi-hats, but also various sounds prepared!
And while making a rhythm, notes are important!
Even if you make the same first bar, the number of notes will change depending on the note!
For example, if it is a quarter note, it will sound four times in one bar!
If it is an eighth note, it will sound eight times in one bar!
If it is a sixteenth note, it will sound sixteen times in one bar!
If you express this with programming, a quarter note will sound for one bar!
An eighth note will sound for 0.5 bars!
If it is a sixteenth note, it will sound for 0.25 bars!
How many bars of sound do you make?
Repeat "try" and "error" yourself and make your own original rhythm!
Well, how many times do you repeat this? How many times do you repeat it?
How many times do you repeat it?
What is this?
What kind of rhythm did you program?
Well, it's time to announce it!
First of all, Shinji!
I want to see it! I want to hear it!
Wow!
I wanted to do something like that!
You wanted to do something like that?
Yeah, like half a second or something like that.
Yeah.
Now, let's take a look at Shinji's programming!
Shinji doesn't just play music for one night at a time.
When he rests for 1.5 nights, he programs to play open hi-hat for 0.5 nights!
If you listen to just this sound...
And! When he rests for 3 nights, he programs to play bass drum for 1 night!
And! With the rhythm he programmed in his study, he came up with this rhythm!
As expected of Shonan no Kazu's young master! Well done!
Next up is Yori-chan!
This is funny!
No, I really wanted to make it more cheerful.
He couldn't program as he wanted, but that's also important for studying!
Next time you try again, let's program to bring you closer to your ideals!
Next up is Emily-chan!
Isn't this what Yori wanted to do?
Oh! What is it?
Wow!
Wow! Cheerful!
This is it!
A very cheerful rhythm!
What is "hakka" now?
Is it "giro"?
"Giro"?
It's like "giro".
He combined various sounds.
It's like "latte".
To make a cheerful rhythm, Emily-chan combined various sounds like "giro", "cowbell", and "vibrato rap".
She came up with a very fun-looking rhythm!
Last up is President!
Here we go!
Wow!
What a great sound!
It's really good!
I made it based on what I did in the first class.
I wanted to express the rhythm that we do in a live show.
It seems that the chairwoman programmed the hands that we often hear at live shows.
As expected of the chairwoman! You did a good job!
From now on, it's time for programming certification!
Go ahead! It's time for programming certification!
Hana-chan and Hitomi-chan studied Scratch for about three months to pass the exam.
This project will be repeated two more times.
So, you will finally take the exam next week!
When I heard about the last recording yesterday, I didn't think I would pass it.
Don't worry!
Today, Ms. Aikawa will also take the exam.
So, she will try to pass the exam and pass the one- ranked questions!
Thank you for your cooperation!
Today, I failed the exam and passed the frequently asked questions.
So, we will do a random quiz today!
Can Hitomi-chan and Hana-chan answer the questions?
Let's get started!
Question one!
This code is to duplicate a strawberry sprite like this with a lot of screens.
If you want to duplicate a lot of strawberry sprites with different colors,
where should you put the code that will change this color in the next four letters?
Question one!
Behind "kakusu".
Question two!
Behind "dokoka no basho e iku".
Question three!
Behind "kuroon sareta toki".
Question four!
Behind "hyouji suru".
Please answer in a new place!
Did Hana-chan and Hitomi-chan know the answer?
First of all, Hitomi-chan, please tell us your answer!
I chose behind "kakusu" in question one,
but I don't remember what "kuroon" means.
I'm not good at this.
Since it's "kuroon", I'd like to know what it means.
What did you choose, Hana-chan?
I chose number three.
"Gamen ippai ni" means "increase the number of strawberry sprites".
I don't know if this answer is correct or not,
but it means "increase the number of strawberry sprites",
so I thought I could change the color of the increased strawberry,
and I chose behind "kuroon sareta toki".
Hitomi-chan chose number one,
Hana-chan chose number three, and their opinions were divided.
Ms. Aikawa, please tell us the correct answer!
The correct answer is behind "kisada no seiku".
I know what it means.
I'm confused.
I know what you're talking about, but I'm confused.
I don't know which one it is.
Right.
They decided to change the color only once,
so I chose behind "zutto".
Right.
I thought we did it in the previous lesson.
The point of this question is to increase while changing the color,
so if you put it in a place other than number two in "zutto",
all strawberries will be reproduced with only one color change and "kuroon" will be reproduced.
Let's move on to the second question!
This chord I made to play background music in the song!
If you do this...
The sound overlaps!
Which of the following four programs can solve this problem?
1. Keep playing music and turn up the tempo to 60.
2. Keep playing music until it stops.
3. Keep playing music and wait for volume 3.
4. Keep playing music and stop all music.
Can you solve this problem?
The answer is... after the commercial!
I made this chord to play background music.
If you do this... The sound overlaps!
Which of the following four programs can solve this problem?
Hitomi and Hana, which one did you choose?
I chose number two.
If you play one song until it stops...
I thought you can't play the next song until it stops.
So I played one song until it stopped.
And if you play the next song from the beginning again,
I thought you can't overlap.
Hana, which one do you think is correct?
I also chose number two and four.
I thought you can't play the next song until it stops.
So I chose number four.
Hitomi chose number two.
Hana chose number three.
Let's try it!
Here we go!
Wow!
Isn't it too simple?
I mean...
What?
This is the simplest one.
I'm sorry, but I really can't do it.
No, you can't. Think about it.
Are you sure you want me to say it?
By the way, if you execute number four that Hana- chan chose,
as you can see, as soon as you hear a sound, you repeat "stop" the sound.
So, among the options for this question,
number two, which gave you instructions to make a sound until the end, is correct.
Let's move on to the third question!
If you execute script "a", you can draw a figure.
If you execute script "b", you can draw any figure.
Here are the options for this question.
Number one is "fun",
number two is "flower pattern",
number three is "one square",
and number four is "don't draw anything".
There are four keys to solving this problem.
First of all, what kind of figure can you draw with script "a"?
This is the preparation of drawing a figure by calling a sprite to a specified coordinate and dropping a pen.
If you do so, you will move 100 steps and repeat 90 degrees of rotation five times,
so you can draw a square with one angle of 90 degrees,
but here is the second key.
At this time, you can actually draw a square four times,
but since this is five times,
the sprite will stop 100 steps ahead of the original direction and rotate 90 degrees.
In the problem section, we will execute "script a" and multiply it by a diagram.
And now for the third key.
"script a" is the instruction to execute "script b" when receiving "message 1" from "script b",
so if you look at "script b",
you will see that there is a block called "send message 1 and wait" that repeats four times,
which means you will have to repeat "script a" four times.
The diagram you use for "script a" is square,
but when you call "sprite" to a specified coordinate after the second time,
the direction of "sprite" will remain rotated 90 degrees each time,
so you will have to draw four squares.
And now for the fourth key,
which is "script b",
you will notice that you don't need two blocks for "send message 1 and rotate 90 degrees" this time.
Did Hitomi and Hana-chan lead you to this answer?
It was hard for me to understand the problem.
I chose number four, "don't write anything",
but it said "send message 1 and rotate 90 degrees",
so I simply thought "don't write anything" for number four.
Which one did you choose?
I chose number one.
I was wondering whether I should choose number one or number four at the end.
If you look at "script a" alone, you can make one square,
but "script b" repeats four times,
so I've been thinking about choosing number one for a long time.
Which one is correct?
Hana-chan's answer is...
I did it!
- Wow! - I'm glad I thought of it!
I chose number four at the end.
Because when I looked back at the problem, it said that if you execute "a", you can multiply it by a figure.
The next test is finally the real thing! Can you pass it safely?
This program was provided by PROSTA of the Programming Learning System.
Ready, go!