Open jie-ss opened 1 day ago
Where did you see the file I2S_Codec_PDMA.axf? Please provide detailed information about your issue. Thank you.
there is such function in MainWindow::init() -> QProcess::execute("/opt/ma35d1_demo.sh 9"), and which leading to "echo -n I2S_Codec_PDMA.axf > /sys/class/remoteproc/remoteproc0/firmware".
in RTP-KWS linux driver: rtp_kws.c, it reports the inputs as Key0~Key9, Key_F1~KeyF6, however, I guess the voice recognition is handled in RTP, that means, the I2S_Codec_PDMA.axf.
In a word, what I want is to add custom voices but not only english "one, two, three, ..."
You have to download MA35D1 RTP BSP: https://github.com/OpenNuvoton/MA35D1_RTP_BSP
The sample code source path: https://github.com/OpenNuvoton/MA35D1_RTP_BSP/tree/master/SampleCode/StdDriver/I2S_Codec_PDMA
Please use ARM Keil IDE to build the project, and find I2S_Codec_PDMA.axf in "obj" folder.
Thanks for your instant reply
Checked out the I2S_Codec_PDMA, but to my knowledge, it looks there is no KWS handling in it. Compared the I2S_Codec_PDMA.axf on reference board and what I built from SampleCode/StdDriver/I2S_Codec_PDMA, they are 769912 bytes and 304744 bytes respectively
I'm not quite sure about your question. Which application are you running on Linux? Please provide complete information.
/opt/MA35D1_DEMO, the default application on HMI-MA35D1-S1 that is auto running after power on the 5th item: key word spotting:
but KWP in MA35D1_DEMO almost do nothing but start/stop RTP only ,and RTP's FW should be I2S_Codec_PDMA
I just want to add more keywords to RTP KWS like left/right/up/down/接通/挂断? is that feasible to implemented?