Hello everyone,
First of all, posted on the wrong forum. My bad i am sorry :( I am using the beaglebone black and i am editing the file continous.c. However, none of the edits i make appear once i execute pocketsphinx_continuous. I did do the make command prior to running pocketsphinx_continuous, and i did all with sudo. Can anyone help me? Please :(
printf("TESTING...\n");fflush(stdout);/* Finish decoding, obtain and print result */ps_end_utt(ps);hyp=ps_get_hyp(ps,NULL,&uttid);printf("%s: %s\n",uttid,hyp);printf("TESTING TESTING");fflush(stdout);/* Exit if the first word spoken was GOODBYE */if(hyp){sscanf(hyp,"%s",word);if(strcmp(hyp,"goodbye")==0){system("espeak\"goodbye\"");break;}elseif(strcmp(hyp,"hello")==0){system("espeak\"hello\"");}elseif(strcmp(word,"forward")==0){printf("TESTINGTESTING");system("espeak\"movingrobot\"");}}
i was trying to see if it would print any testings anywhere, but it didn't do it.... :/. Also, it gives me an error for espeak, it says system is not recognized
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know what i did wrong. Thank you very much for helping anyways. I was compiling a default continuous.c file. I fixed the problem. Thank you very much though nickolay V.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
First of all, posted on the wrong forum. My bad i am sorry :( I am using the beaglebone black and i am editing the file continous.c. However, none of the edits i make appear once i execute pocketsphinx_continuous. I did do the make command prior to running pocketsphinx_continuous, and i did all with sudo. Can anyone help me? Please :(
i was trying to see if it would print any testings anywhere, but it didn't do it.... :/. Also, it gives me an error for espeak, it says system is not recognized
Provide full build and install logs.
I know what i did wrong. Thank you very much for helping anyways. I was compiling a default continuous.c file. I fixed the problem. Thank you very much though nickolay V.
Last edit: Hassan SALLOUM 2018-07-08