A "chirp" in sound lingo is a sound that has a continually increasing frequency. As an example, suppose we started playing a 1000 Hz sound, then smoothly increase it to 1001, 1002, 1003, etc. What would it sound like?
We have a function called play_chirp() that allow you to generate a chirp.
Move the mouse over a dotted box for more information.
Now you try. See what cool sounds you can create by playing chirps!
Type your code here:
See your results here:
The default code will play a chirp starting at 1000 Hz and ending at 3000 Hz, for 2 seconds. The frequency will be gradually increased while the chirp is played.
Share your code
Show a friend, family member, or teacher what you've done!