We found below string with voice phoneme in the example from https://github.com/espressif/esp-box.
Code: Select all
[b]// cmd, Language, id, string, phoneme, next ref[/b]
{SR_CMD_LIGHT_ON, SR_LANG_EN, 0, "Turn On the Light", "TkN nN jc LiT", {NULL}},
{SR_CMD_LIGHT_ON, SR_LANG_EN, 0, "Switch On the Light", "SWgp nN jc LiT", {NULL}},
{SR_CMD_LIGHT_OFF, SR_LANG_EN, 0, "Switch Off the Light", "SWgp eF jc LiT", {NULL}},
{SR_CMD_LIGHT_OFF, SR_LANG_EN, 0, "Turn Off the Light", "TkN eF jc LiT", {NULL}},
.
.
.
If we want to implement the direct custom command with example, can someone please help to know how we can generate phoneme for desired string?
I tried to search and tried using some online convertor but the device is not recognizing that string as voice. Is there any specific phoneme conversation is required to make custom voice command?