Impressed by how an ambulance siren clears the road so easily. Program the sound in this project!
What’s in it for you
An ambulance’s siren is one of the most recognizable sounds in the world, don’t you think. In this project, you’ll be able to program your buzzer to replicate the sound in a few simple steps!
Tools of the trade
To be able to program your buzzer to play the ambulance sound, you’ll need some software and hardware devices :
A laptop or computer
GizmoBot hardware
mBlock Version 3 software (ready for download here!)
At the end of the project
When you’ve completed all the steps in the project, you’ll have before you a buzzer that plays two sounds one of high frequency and one of low frequency playing alternatively.
You’ll also have timed the sounds to play at intervals as they do on a real ambulance.
Sneak peeks at key steps
You’ll probably want to know what steps are involved in creating an ambulance sound with simple software and hardware. Here’s a glimpse to satisfy your curiosity:
Drag an if-then condition from the Control Block
Set values for the = operators
Set frequencies using the tone-playing block
You’ll have great fun programming your buzzer to imitate ambulance sounds, so sign up for the project to get started!
Hints for programmers
Use a forever loop to make sure that your buzzer plays the ambulance siren every time you click the onboard switch.
Stuck in a rut
This is a more advanced MBlock V3 project, so if you need help programming your buzzer or experimenting with the steps, reach out to your project leader.
See it in action
So you have a benchmark as to what your buzzer will look and sound like, here’s the final project in action:
Want to brave a tougher challenge
These steps are simple guidelines for mimicking an ambulance sound on your buzzer. Feel free to experiment with the process and see what you can come up with creativity is your weapon!
Recent Comments
Anna Sthesia
June 28, 2019
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal tion of letters, as opposed to using 'Content here
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.
Recent Comments