Bird Chirp Simulator

This project simulates some (more or less believable) bird sounds. As written, the program generates them randomly, but you can make up your own specific sounds with calls to the Chip function.

For instance: Chirp(400,3000,500,3)

This starts at 400 hz and ends at 3000 hz over a period of 500 milliseconds (approximately). It repeats this 3 times.

The second frequency can be greater or less than the first one.

Here is a suggested circuit...

You can use any pin on your Arduino board or chip that you designated in the program. Also, you can substitute just about any NPN transistor for the 2n3904 or any diode for the 1N914.

Here is the CODE.

Have fun!