For those of you have always wondered, “Is it possible to generate music with our laptop touchpad?” Guess what; your doubt is solved here, as today we’re trying to build an incredible Touchpad with Infrared Music Synthesizer.
Basically, the touchpad with infrared music synthesizer uses a laptop and an infrared distance sensor to control various types of functions, including tone, volume and decay length of musical notes.
This device is operating in one of six modes, which is offering a variety of options for generating musical tones.
It’s very simple to use the device. With only a swipe of fingertips, you can produce interesting music instantly.
Obviously, the main purpose of the Touchpad with Infrared Music Synthesizer is for illustrating a fun approach for music generation.
Those six modes that play in this device are standard, chords, harmonics, double harmonics, decaying harmonics and sinusoidal sound. Once you’ve restarting the device, the default mode of play is automatically in standard mode. It consists of four octaves of individual notes, which can be played according to touchpad positioning. In this case, you can select a new mode, by simply gliding your finger across the touchpad.
The device is built with two ATmega644 MCUs, where is used to control the sound generation and touchpad interfacing. In addition, DDS is necessary for this project, as it used for outputting values to a DAC0808 with a variable input reference voltage from the distance sensor.