byte no longer available in 1.0, I have a lib that uses that.....

I am using a Fluxamasynth shield. It worked fine with my deomvilee. I get compile errors with the MEGA because the lib that goes with this expects byte for instance:

void setMasterVolume(byte level); //(0-255)

Any helpful suggestions?

Change that to unsigned char. Same thing, different name.

Maybe uint8 or uint8_t exists... should also be the same thing.

This is the compile error I get

In file included from flux_1_29_2012.cpp:23:
C:\Users\mike\Desktop\arduino-1.0-windows\arduino-1.0\libraries\Fluxamasynth/Fluxamasynth.h:8:22: error: WProgram.h: No such file or directory
In file included from flux_1_29_2012.cpp:23:
C:\Users\mike\Desktop\arduino-1.0-windows\arduino-1.0\libraries\Fluxamasynth/Fluxamasynth.h:17: error: 'byte' has not been declared
C:\Users\mike\Desktop\arduino-1.0-windows\arduino-1.0\libraries\Fluxamasynth/Fluxamasynth.h:17: error: 'byte' has not been declared
C:\Users\mike\Desktop\arduino-1.0-windows\arduino-1.0\libraries\Fluxamasynth/Fluxamasynth.h:17: error: 'byte' has not been declared
C:\Users\mike\Desktop\arduino-1.0-windows\arduino-1.0\libraries\Fluxamasynth/Fluxamasynth.h:18: error: 'byte' has not been declared
C:\Users\mike\Desktop\arduino-1.0-windows\arduino-1.0\libraries\Fluxamasynth/Fluxamasynth.h:18: error: 'byte' has not been declared
C:\Users\mike\Desktop\arduino-1.0-windows\arduino-1.0\libraries\Fluxamasynth/Fluxamasynth.h:19: error: 'byte' has not been declared
C:\Users\mike\Desktop\arduino-1.0-windows\arduino-1.0\libraries\Fluxamasynth/Fluxamasynth.h:19: error: 'byte' has not been declared

synth.noteOn(0, a5,127);

is an example

This is the FLUXAMASYNTH documentation
"
noteOn()
Turns on (plays) the note of a specified pitch and velocity on the specified channel.
Syntax
void noteOn(byte channel, byte pitch, byte velocity);
Parameters
channel
Channel to play note (0-15).
Values greater than 15 will wrap around.
pitch
Pitch of note to turn on, in semitones (0-127).
60 = middle C (C4) = 261.63Hz. See note table.
velocity
Note attack (0-127).
On a keyboard this corresponds to how hard the key was struck.

"
I don't know how to handle this without a byte operator.

Are you using Arduino IDE 1.0?

In file included from flux_1_29_2012.cpp:23:
C:\Users\mike\Desktop\arduino-1.0-windows\arduino-1.0\libraries\Fluxamasynth/Fluxamasynth.h:8:22: error: WProgram.h: No such file or directory
In file included from flux_1_29_2012.cpp:23

WProgram.h has been renamed Arduino.h

Thanks the guys at Modern Devices sent me a patch. Using 1.0.

"Byte" still an issue

"Byte" still an issue

Replace it with "uint8_t".