HomeAboutCodePastes
#include <espeak-ng/speak_lib.h>
int main() {
    espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, NULL, 0);
    const char *input = "hello.";
    printf("%s", espeak_TextToPhonemes((const void **)&input, espeakCHARS_8BIT, 0));
    return 0;
}

plain