Project #2 --RIFF Musical Instrument
Wow, it’s page 21!
The Randomly Influenced Finger Flute, or R.I.F.F. is a super-simple musical instrument, played by touching the contacts on the Arduino. It only requires an Arduino and a speaker, so there’s no reason not to give it a try!
After we build our RIFF, SmartBot will teach us about music and BuilderBot will show us how to build something even cooler!
Looking for the code? Copy and paste the following into your Arduino IDE, hook up your speaker & Arduino, press upload and try it out!
As soon as you upload the code, your speaker will start to make sounds! Touch under the analog pins and other pins at the same time to get it to change tones and make some music.
This software is licensed under the CC-GNU GPL version 2.0 or later.