This serves as a guide to help people who wish to setup Nicla Voice, for audio recording and processing purposes.
Arduino IDE
and use the board manager/ library manager to install the default required libraries (Click Yes to install all when prompted).~\Documents/Arduino/libraries
by following this guide https://roboticsbackend.com/install-arduino-library-from-github/arduino-audio-tools
, be sure to change the version to v0.9.4
by using command git checkout v0.9.4
as latest version has breaking changesAfter loading the program into Nicla Voice, you would need to pipe the captured audio from serial output to a file
ls /dev/tty.*
screen
program, run screen -L -Logfile arduino_output.g722 /dev/tty.<port-number> 115200
screen -L -Logfile arduino_output.g722 /dev/tty.usbmodem00F1F5FF3 115200
ctrl + A
and ctrl + \
.Using a program like Audacity, you can import the .g722 compressed file and play the audio