$$ \newcommand{\floor}[1]{\left\lfloor{#1}\right\rfloor} \newcommand{\ceil}[1]{\left\lceil{#1}\right\rceil} \renewcommand{\mod}{\,\mathrm{mod}\,} \renewcommand{\div}{\,\mathrm{div}\,} \newcommand{\metar}{\,\mathrm{m}} \newcommand{\cm}{\,\mathrm{cm}} \newcommand{\dm}{\,\mathrm{dm}} \newcommand{\litar}{\,\mathrm{l}} \newcommand{\km}{\,\mathrm{km}} \newcommand{\s}{\,\mathrm{s}} \newcommand{\h}{\,\mathrm{h}} \newcommand{\minut}{\,\mathrm{min}} \newcommand{\kmh}{\,\mathrm{\frac{km}{h}}} \newcommand{\ms}{\,\mathrm{\frac{m}{s}}} \newcommand{\mss}{\,\mathrm{\frac{m}{s^2}}} \newcommand{\mmin}{\,\mathrm{\frac{m}{min}}} \newcommand{\smin}{\,\mathrm{\frac{s}{min}}} $$

Prijavi problem


Obeleži sve kategorije koje odgovaraju problemu

Još detalja - opišite nam problem


Uspešno ste prijavili problem!
Status problema i sve dodatne informacije možete pratiti klikom na link.
Nažalost nismo trenutno u mogućnosti da obradimo vaš zahtev.
Molimo vas da pokušate kasnije.

Sound

The ability to add sound to our sprites, in addition to bubbles with thoughts and text in them, gives us the opportunity to create more dynamic and interesting programs.

Scratch has a rich library of sounds, as well as the possibility to record our own voice or download sound recordings from our computer in .wav or .mp3 format. The blocks, which allow us to hear sounds, are located in the Sound category.

Sprite Sounds

We will upgrade the program Farm, which can be found on the link https://scratch.mit.edu/projects/326422653/, so that the girl (Avery) really says “Go, go!”, and the Chick chirps after a good meal.

The first step would be to record the sound - our voice: we will make the recording and add it to the script belonging to the girl; on the recording, we should say: “Go, go!”

Recording the sound

Before we record the sound, we should:

  • ensure that the girl sprite is active (the thumbnail of the sprite should have a blue frame around it in the sprites list);

  • click on the Sound tab;

  • choose the option Record.

_images/Avery.png

The Record Sound window will open; within this window, we can start recording the sound.

  1. Click the red button and say: “Go, go!”;

  2. You can listen to the recording by pressing the Play button, if you are satisfied, you should click the button Save, and if not, click the button Re-record and do it again;

  3. A visual representation of the recording will appear in the Sound tab;

  4. Blocks that allow our voice to be heard during the running of the program, will appear in the category Sound.

_images/GoGo.png

The chick’s chirping sound can be found in the sound library and uploaded from it.

We must not forget that the chick sprite has to be active; otherwise, the chirping sound will be added to the girl sprite.

_images/Chirp.png

We are ready to add command blocks to the code.

_images/KodFarmaZvuk.png
Uradi Remix the project Farm, which can be found on the link https://scratch.mit.edu/projects/326422653/. Record the sound and add the appropriate block to the script that belongs to the girl sprite. From the sound library, add the appropriate chirping sound to the script that belongs to the chick sprite.

    Q-11: In the program Farm, we chose the block GG to add the sound, and not the block GGUD. Why?

  • If we had chosen the other block, we would have heard our voice first. The text bubble would have appeared only after the sentence had been spoken.
  • You are absolutely right!
  • We could have used the second block, and the program would have run the same way.
  • This is not correct. In the program *Farm*, replace the block presented in the figure above, run the program and analyze the result.

Composing music

Composing music requires the addition of a new block category to the Scratch interface. This is done by clicking on the button Ekstenzija, which is located in the bottom left corner of the screen, and then choosing the extension Music.

_images/Music.png

No matter what language they speak, people from all over the world know the lullaby Frère Jacques. If you don’t know the song, look it up on YouTube, and we will help you compose it in Scratch.

As our instrument, we will choose the electric piano (1), and then we will connect the notes so that, when we run the program, this famous lullaby starts playing.

_images/FJ.png

Uradi Remix the project Frère Jacques, which can be found on the link https://scratch.mit.edu/projects/326431999/ and add the blocks that will contribute to the “fullness of sound” (drums or the rhythm section). Use the instruments from the drop-down list of the block Drums. By using the appropriate block from the category Sound increase the volume of each verse by 10.

Izazov Try to sing the song Frère Jacques without the music and record it. Add it to the Scratch program Frère Jacques. We know for sure that it will be an interesting arrangement!