Hey,
I just recently purchased the Arduino wave shield, and have gotten everything running great. I’ve been having a lot of fun tinkering with the project for the last few days and added lots of stuff to the project including an LCD screen and getting my Arduino to talk to an old SNES controller to control the music player in many cool ways.
There is only one bump I seem to have hit. I wish to control my volume digitally rather than using the potentiometer that comes on the shield so that I can adjust my volume with my SNES controller rather than having to turn the pot, which will eventually be packed away in a project enclosure of some sort. It sounds so simple to do, but the site (shown here: http://www.ladyada.net/make/waveshield/examples.html) instructs that I must edit and recompile the header file in order to allow volume adjustments by software. It says “By changing the #define DVOLUME 1 in wave.cpp and recompiling you can do rudimentary software volume control as in this sketch.” I have downloaded a C++ compiler known as Eclipse to attempt to edit and recompile this header file, but any attempts I try to learn and use the program only seem to leave me ever more confused with how to do this.
Does anyone know where I can download a wave.h file that has this value changed, or how I can recompile this wave.cpp file into a header file? I have found where to edit DVOLUME in the cpp file, I just have no clue how to get it to compile.
Thanks,
Matthew Weiss