The sythesizer produces lots of different sounds. I need and easy way to select a sound an listen to it.
There are 127 voices, 127 notes, and 2 different channels.
A Nintendo Wii nunchuck is used to select voices, notes, and channels. It also is used to play the selected sound. An adapter is needed to connect to Arduino.
http://www.sparkfun.com/products/9281
Solder a header to the adapter and plug it into analog inputs 2-5. The "Wire" library will use the use analaog inputs 2 and 3 for power and inputs 4 and 5 as digital i2c I/O.
For a nunchuck libary that makes the interface really easy, here's a link to Todd Kurt's blog.
http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/
Download the Wiichuckdemo. Put the example program and nunchuck_funcs.h in the same sketchbook folder and open them together with the Arduino IDE.
Compile and upload to the Arduino to make sure everything works.
No comments:
Post a Comment