OpenNuvoton / MA35D1_Linux_Applications

MA35D1 Linux applications
0 stars 6 forks source link

is I2S_Codec_PDMA.axf source available for downloading? #4

Open jie-ss opened 1 day ago

jie-ss commented 1 day ago

I just want to add more keywords to RTP KWS like left/right/up/down/接通/挂断? is that feasible to implemented?

ychuang3 commented 1 day ago

Where did you see the file I2S_Codec_PDMA.axf? Please provide detailed information about your issue. Thank you.

jie-ss commented 1 day ago

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, ..."

ychuang3 commented 1 day ago

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.

jie-ss commented 1 day ago

Thanks for your instant reply

jie-ss commented 1 day ago

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

ychuang3 commented 1 day ago

I'm not quite sure about your question. Which application are you running on Linux? Please provide complete information.

jie-ss commented 1 day ago

/opt/MA35D1_DEMO, the default application on HMI-MA35D1-S1 that is auto running after power on the 5th item: key word spotting: image

jie-ss commented 1 day ago

but KWP in MA35D1_DEMO almost do nothing but start/stop RTP only ,and RTP's FW should be I2S_Codec_PDMA