Hi All,

Tonights search brought up:

http://littlebits.cc/projects/get-your-bach-on-with-the-arduino-midi-organ

http://sandsoftwaresound.net/source/arduino-project-source/combo-organ/midivox-organ-comboorgan-ino/

both by Paul Drongowski.

I get compile errors even though the compile SEEMS to have found all the library files called up on my PC.

```
In file included from E:\My Documents\Arduino\MidiOrgan\MidiOrgan.ino:110:0:
Farf.h:25: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_C3[] = {
^
Farf.h:70: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_Db3[] = {
^
Farf.h:112: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_D3[] = {
^
Farf.h:152: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_Eb3[] = {
^
Farf.h:190: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_E3[] = {
^
Farf.h:226: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_F3[] = {
^
Farf.h:260: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_Gb3[] = {
^
Farf.h:292: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_G3[] = {
^
Farf.h:323: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_Ab3[] = {
^
Farf.h:352: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_A3[] = {
^
Farf.h:379: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_Bb3[] = {
^
Farf.h:405: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Farf_B3[] = {
^
In file included from E:\My Documents\Arduino\MidiOrgan\MidiOrgan.ino:112:0:
Vox.h:24: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_C3[] = {
^
Vox.h:68: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_Db3[] = {
^
Vox.h:110: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_D3[] = {
^
Vox.h:150: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_Eb3[] = {
^
Vox.h:188: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_E3[] = {
^
Vox.h:224: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_F3[] = {
^
Vox.h:258: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_Gb3[] = {
^
Vox.h:290: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_G3[] = {
^
Vox.h:321: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_Ab3[] = {
^
Vox.h:350: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_A3[] = {
^
Vox.h:377: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_Bb3[] = {
^
Vox.h:403: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM Vox_B3[] = {
^
In file included from E:\My Documents\Arduino\MidiOrgan\MidiOrgan.ino:114:0:
Tables.h:27: error: 'prog_uchar' does not name a type
prog_uchar PROGMEM MidiNotes[] = {
^
Tables.h:71: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM FarfNumOfSamples[] = {
^
Tables.h:87: error: 'prog_int16_t' does not name a type
PROGMEM const prog_int16_t* FarfWaves[] = {
^
Tables.h:106: error: 'prog_int16_t' does not name a type
prog_int16_t PROGMEM VoxNumOfSamples[] = {
^
Tables.h:122: error: 'prog_int16_t' does not name a type
PROGMEM const prog_int16_t* VoxWaves[] = {
^
MidiOrgan:288: error: expected unqualified-id before 'if'
if (genNote[I]) { \
^
MidiOrgan:318: error: expected declaration before end of line
#pragma GCC optimize ("-O2")
^
Multiple libraries were found for "MIDI.h"
Used: E:\My Documents\Arduino\libraries\MIDI
Not used: C:\Program Files\Arduino\libraries\Midi
exit status 1
'prog_int16_t' does not name a type
```

I'm obviously missing something here but do not have the wisdom, intuition or ability in C++ programming to understand what is not happening.

Neither website offers much in after-sales service. Mind you, I didn't have to pay, either.

Can anyone help?

Cheers!

Jim

PS I will collect all the libraries and attach them if necessary; I'm hoping that someone will point out the obvious which is currently not mine to discern.