We can use the festival text-to-speech tool in Linux to give audio status information from the MCP.

In ubuntu, do the following to get the necessary libraries:

sudo apt-get install festival-dev libncurses5-dev

Sample hello world program - festivaltest.cpp:

#include "festival/festival.h"

int main(int argc, char **argv)
    int heap_size = 210000;  // default scheme heap size
    int load_init_files = 1; // we want the festival init files loaded


    festival_say_text("hello world");

    return 0;

To build the sample program, type:

g++ festivaltest.cpp /usr/lib/libFestival.a /usr/lib/speech_tools/lib/libestools.a  \ 
/usr/lib/speech_tools/lib/libestbase.a /usr/lib/speech_tools/lib/libeststring.a \
-ltermcap -lesd -I/usr/include/festival -I/usr/include/speech_tools

For the purposes of the MCP, we should call festival_initialize during the initialization of the MCP's control program. Then festival_say_text() can be called at any time afterwards.