I am trying local audio inferencing for the first time. So it is evident that I will miss something out.
Here are the steps that I did:
- I trained the model in EI studio with my audio samples and downloaded the C++ library
- Cloned the Linux standalone repo and merged the downloaded C++ library contents as advised here
- Built the project and ran the binary file
However, it is not able to set the parameters as stated in the output shown below.
cris@T580:~/Downloads/example-standalone-inferencing-linux/build$ ./audio plughw:0,0 cannot set parameters (Cannot allocate memory)
Here is the output for the sound card query.
cris@T580:~/Downloads/example-standalone-inferencing-linux/build$ cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xdc248000 irq 167
Please let me know if I missed out something.