#include "flite.h"

cst_voice *register_cmu_us_kal(const char *voxdir);

int main(int argc, char **argv)
{
    cst_voice *v;
    if (argc != 2) {
        fprintf(stderr,"usage: flite_test FILE\n");
        exit(-1);
    }
    flite_init();
    v = register_cmu_us_kal(NULL);
    flite_text_to_speech(argv[1],v,"play");
    //flite_synth_text(argv[1],v);
    return 0;
}
