Lo-Fi Arduino Guitar Pedal

Heys guys:

I was making the Lo-Fi Arduino Guitar Pedal which is found on instructables.com (Lo-fi Arduino Guitar Pedal : 7 Steps (with Pictures) - Instructables) , but when I wanted to upload the code (which is found on step # 6 ) the compiler throws this error(using the 0022 version of the Arduino IDE and an Arduino UNO):

GlitchPedal\dsp.cpp.o: In function `output(int, short)':
C:\Users\Owner\Desktop\Programas\Utilities\arduino-0022\libraries\GlitchPedal/dsp.cpp:22: multiple definition of `output(int, short)'
dsp.cpp.o:C:\Users\Owner\AppData\Local\Temp\build2747389495505466526.tmp/dsp.cpp:22: first defined here
c:/users/owner/desktop/programas/utilities/arduino-0022/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
GlitchPedal\dsp.cpp.o: In function `setupIO()':
C:\Users\Owner\Desktop\Programas\Utilities\arduino-0022\libraries\GlitchPedal/dsp.cpp:7: multiple definition of `setupIO()'
dsp.cpp.o:C:\Users\Owner\AppData\Local\Temp\build2747389495505466526.tmp/dsp.cpp:7: first defined here
GlitchPedal\timers.cpp.o: In function `getTimer':
C:\Users\Owner\Desktop\Programas\Utilities\arduino-0022\libraries\GlitchPedal/timers.cpp:5: multiple definition of `getTimer(int)'
timers.cpp.o:C:\Users\Owner\AppData\Local\Temp\build2747389495505466526.tmp/timers.cpp:5: first defined here
GlitchPedal\timers.cpp.o: In function `getChannel(int)':
C:\Users\Owner\Desktop\Programas\Utilities\arduino-0022\libraries\GlitchPedal/timers.cpp:13: multiple definition of `getChannel(int)'
timers.cpp.o:C:\Users\Owner\AppData\Local\Temp\build2747389495505466526.tmp/timers.cpp:13: first defined here
GlitchPedal\timers.cpp.o: In function `getTimer':
C:\Users\Owner\Desktop\Programas\Utilities\arduino-0022\libraries\GlitchPedal/timers.cpp:5: multiple definition of `waveformGenerationMode(int, int)'
timers.cpp.o:C:\Users\Owner\AppData\Local\Temp\build2747389495505466526.tmp/timers.cpp:5: first defined here
GlitchPedal\timers.cpp.o: In function `getTimer':
C:\Users\Owner\Desktop\Programas\Utilities\arduino-0022\libraries\GlitchPedal/timers.cpp:5: multiple definition of `waveformGenerationMode(int, int, int)'
timers.cpp.o:C:\Users\Owner\AppData\Local\Temp\build2747389495505466526.tmp/timers.cpp:5: first defined here
GlitchPedal\timers.cpp.o: In function `getPrescale01':
C:\Users\Owner\Desktop\Programas\Utilities\arduino-0022\libraries\GlitchPedal/timers.cpp:60: multiple definition of `getPrescale01(int)'
timers.cpp.o:C:\Users\Owner\AppData\Local\Temp\build2747389495505466526.tmp/timers.cpp:60: first defined here
GlitchPedal\timers.cpp.o: In function `getPrescale2(int)':
C:\Users\Owner\Desktop\Programas\Utilities\arduino-0022\libraries\GlitchPedal/timers.cpp:71: multiple definition of `getPrescale2(int)'
timers.cpp.o:C:\Users\Owner\AppData\Local\Temp\build2747389495505466526.tmp/timers.cpp:71: first defined here
GlitchPedal\timers.cpp.o: In function `timerPrescale(int, int)':
C:\Users\Owner\Desktop\Programas\Utilities\arduino-0022\libraries\GlitchPedal/timers.cpp:45: multiple definition of `timerPrescale(int, int)'
timers.cpp.o:C:\Users\Owner\AppData\Local\Temp\build2747389495505466526.tmp/timers.cpp:45: first defined here
GlitchPedal\timers.cpp.o: In function `analogPrescale(int)':
C:\Users\Owner\Desktop\Programas\Utilities\arduino-0022\libraries\GlitchPedal/timers.cpp:86: multiple definition of `analogPrescale(int)'
timers.cpp.o:C:\Users\Owner\AppData\Local\Temp\build2747389495505466526.tmp/timers.cpp:86: first defined here

BTW I used the glitch pedal file

Thanks.

Sadly instructbles projects are normally rubbish, with authors not being too good. It looks like this is the case here. The posts after the article says he compiled it under Arduino release 15 so it looks like you should download that and try again. The way library functions are handled are different now.

Thanks very much, I'll try it out! :slight_smile:

Hey, I tried using Arduino release 0015, but it won't open! :~ Any idea why?

What do you mean by won't open?

I double-click the icon for arduino.exe and wait. I just doesn't open.

It might be wanting a different (older) version of Java.
This is really an issue you should take up with the author.
I have yet to see an instructables project that is anything but totally stupidly bad. The odds are it won't even work when you do get it to compile.