Thanks for the demos, now can they have some comments on what they do?
IMUDemo.ino - What is an IMU? Where do I hget ei_model_imu.synpkg from? What does the overall sketch do?
BLExaDEMO - I assume this one is for connecting to the nicla using onboard bluetotooth, are there any instructions on how to connect from the other device and make use of the data coming from the Nicla?
Read_and_stream.ino - I am guessing this demo would stream audio to the arduino monitor and so you would need to be connected to a PC in order to do this. Seems not a very useful demo if you want to use the Nicla remotely. The commands provided in comments stty and cat appear to be Linux commands, are there equivalents for windows?
SensorTest.ino - I assume this is for checking all the peripherals, why does it need the synpackages here?
Ideally, can you update the libraries with suitable comments instead of replying here.
Example sketches in the IDE (FILE >> Examples >> Built-in examples >>) are for demonstrating basics to the new user. A newly installed IDE will only have these example sketches.
Example sketches found in library folders also show in FILE >> Examples >> (library) are to demonstrate some of the uses of newly installed library.
I (think I) understand... and sympathize... It would be nice for library example sketches to include comments with intended connection and usage. I like to find the library for the device, rather than finding the device for the library.
as xfpd stated, 3rd party libs and cores can install examples; so Arduino as company has no responsibility for the lack of good documentation; however, a well-constructed internet search will usually help:
I believe johnstaveley is referring to the examples for the "NDP" library that is bundled with the official "Arduino Mbed OS Nicla Boards" platform of the Nicla Voice board:
@ptillish has the answer in post #5, but I could not find the syn.pkg... so I went a-hunting...
Here:
I do not know...
/*
Stream the microphone audio to serial port
The file is compressed using G722 codec
Prerequisite libraries:
https://github.com/pschatzmann/arduino-libg722
https://github.com/pschatzmann/arduino-audio-tools/
Precedure to extract audio:
Setup the serial port as raw, for example with
stty -F /dev/ttyACM0 115200 raw
Dump the data
cat /dev/ttyACM0 > test.g722
Open Audacity
audacity test.g722
*/
Thanks, much appreciated for the questions you've managed to answer. I've concluded that the documentation around the Nicla voice and my experiences in using it is that once sold, Arduino don't really care much to explain to you how it works or how to get the best from it. After months of trying I can get it to recognise a single simple word (but not two).
Please post or provide a link to the NDP120 Neural Decision Processor data sheet, and relevant Application Notes. Neither seems to be freely available from the manufacturer or suppliers.
This looks really good thanks, can you also provide a worked example where a trained model can tell the difference between 2 words as I can't make this work.