Scratch
Advanced
60 mins
130 points
What you need:

Record your own sound effects

Using a microphone, record and edit your own sound effects and add them to a project.

1 - Open the Racing Car Scratch project

In this project we're going to record some of our own sounds and add them to the Racing Car project.

If you completed the Racing Car project in the Driving and Traffic Lights pack then open your completed project in Scratch. We'll add the sound effects to your project.

If you haven't completed this project then you can use this starter project which has the Racing Car code already completed.

https://scratch.mit.edu/projects/462932742/editor/


2 - Turn down the volume

The first change we're going to make is to turn down the volume from 100% and set it to 30%.

Add the set volume to 30 % block to the car sprite, underneath the point in direction 90 block.

when green flag clicked set size to (10) % go to x:(0) y:(0) point in direction (90) set volume to (30) % // add this block here forever if < touching color [#3db000]? > then set [speed v] to (2) else set [speed v] to (6) end if < key [up arrow v] pressed? > then move (speed) steps end if < key [down arrow v] pressed? > then move (-2) steps end if < key [left arrow v] pressed? > then turn ccw (5) degrees end if < key [right arrow v] pressed? > then turn cw (5) degrees end end

3 - Record the "on your marks" sound

The first sound we are going to record and add to the project is the race starter saying the words "On your marks, get set, go!".

Record a new sound of you saying "On your marks, get set, go!".

Once you've recorded it, rename the sound from "recording1" to "on your marks".


4 - Add the "on your marks" sound

Now that you've recorded the sound, make it play at the start by adding the play sound [on your marks] until done block underneath the set volume to 30 % block.

when green flag clicked set size to (10) % go to x:(0) y:(0) point in direction (90) set volume to (30) % play sound (on your marks v) until done // add this block here forever if < touching color [#3db000]? > then set [speed v] to (2) else set [speed v] to (6) end if < key [up arrow v] pressed? > then move (speed) steps end if < key [down arrow v] pressed? > then move (-2) steps end if < key [left arrow v] pressed? > then turn ccw (5) degrees end if < key [right arrow v] pressed? > then turn cw (5) degrees end end

Click on the green flag and test that your sound plays OK. Notice that you can't make your car move until the sound has finished playing.

5 - Record an "engine" sound

The next sound we are going to record and add to the project is the sound of the engine.

Record a new sound of you making an engine noise. Use the trim tool to make it a VERY short sound as it will be playing over and over again quickly as your car moves forwards.

Once you've recorded it, rename the sound from "recording1" to "engine".


Join our club 😃

To view the remaining 4 steps and access hundreds of other coding projects please login or create an account.

Copyright Notice
This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. It is available for free at https://scratch.mit.edu
🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more