easyvr speech synthesis setup

easyvr shield
have speech recognition working
have built and uploaded sound table and is working

need commands to run speech synthesis
is this the command? easyvr.playSound(1, EasyVR::VOL_FULL);

also need to know how and what to #include.
i've tried #include "Pinghead.h" and placed a copy of it into the easyvr library
am getting ERROR 'far' does not name a type

also need to know how and what to #include.

In what? For what purposes?

i've tried #include "Pinghead.h" and placed a copy of it into the easyvr library
am getting ERROR 'far' does not name a type

I'm sure that there was a lot more to that error message than that AND the compiler got to see your code.

If we can't, I suggest you look at the code at the line number, listed in the real error message, in the file referenced, and fix the problem.

hi PaulS

in what? what purpose? not sure what this means or what you need to know, i’ll get it for you though.

This is the PINGHEAD.H file (not sure why they capitalize it (i may need to also?))

// external declaration of sound table:
extern far cdata SNDTBL_PINGHEAD;
// external declarations of addresses of sounds for direct access:
extern far cdata SX_yes_master;
extern far cdata SX_you_talkin_to_me;
// constants defining sounds as entries in the sound table:
#define SND_yes_master 1
#define SND_you_talkin_to_me 2

i’m getting 3 error messages
arduino/libraries/easyvr/pinghead.h:3: error: ‘far’ does not name a type
arduino/libraries/easyvr/pinghead.h:7: error: ‘far’ does not name a type
arduino/libraries/easyvr/pinghead.h:8: error: ‘far’ does not name a type

no line number visible
would posting all code help?

not sure what this means or what you need to know, i'll get it for you though.

You asked what you needed to include, and how to do it. In order to answer that, we need to know what you are wanting to include things in, and what you want to include stuff for.

For instance, if you have an Arduino with an Ethernet shield, and you want it to act as a server, then you need a sketch, and you need to include Ethernet.h.

Without knowing what you are trying to do, it's really difficult to tell you what to include.

Where did you get the pinghead.h file?

you helped!!! thankyou thankyou

it works. its an arduino uno with easyvr, sound recognition with sound synthesis

i needed to #define each sound byte, i thought that was done in the soundfile.h, i guess i had to do it

thanks paul again.