# Lesson goal: Play a chirp

Previous: Play a sine sum | Home | Next: Make a 3D-printable XY-graph

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.

play_chirp(start,end,duration,delay)

# Now you try. See what cool sounds you can create by playing chirps!

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. Dismiss.
Show a friend, family member, or teacher what you've done!