Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a2a3b5d

Browse files
Merge pull request #817 from arduino/jcarolinares/nicla-voice/link-improvement
Link updated
2 parents 914035c + dd7090e commit a2a3b5d

File tree

1 file changed

+4
-4
lines changed
  • content/hardware/06.nicla/boards/nicla-voice/tutorials/getting-started-ml

1 file changed

+4
-4
lines changed

‎content/hardware/06.nicla/boards/nicla-voice/tutorials/getting-started-ml/content.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The goals of this tutorial are:
3838
## Hardware & Software Needed
3939

4040
- Arduino IDE ([online](https://create.arduino.cc/) or [offline](https://www.arduino.cc/en/main/software)).
41-
- [Arduino Nicla Voice](https://store.arduino.cc/pages/nicla-voice) x1
41+
- [Arduino Nicla Voice](https://store.arduino.cc/nicla-voice) (x1)
4242
- [Arduino Cloud](https://cloud.arduino.cc/)
4343
- [Edge Impulse®](https://www.edgeimpulse.com/)
4444

@@ -96,7 +96,7 @@ Make sure to have a good training/test data split ratio of around 80/20. The tes
9696

9797
Now that we acquired the data samples, we can move on to designing the Impulse. In a nutshell, an Impulse is a pipeline that the model will use for training and it consists of an input block, a processing block and a learning block. The input block indicates the type of data being used in the model, which will be audio in this case. The processing block extracts meaningful features from your data. The Audio Syntiant processing block we are using in this tutorial extracts time and frequency features from the audio used in the model. The learning block uses a neural network classifier that will take the input data and the audio that was captured in the previous step and provides a probability that indicates how likely it is that the input data belongs to a particular class as its output.
9898

99-
Now that we have the data samples, we can move on to designing the Impulse. An Impulse is in a nutshell the pipeline that the model will use for training. Consisting of an input block, processing block and a learning block. The input block indicates the type of data being used in the model, which will be audio in this case. The processing block extracts meaningful features from your data. The Audio Syntiant processing block we are using in this tutorial extracts time and frequency features from the audio used in the model. The learning block uses a neural network classifier that will take the input data, the audio that was captured in the previous step, then give us a probability that indicates how likely it is that the input data belongs to a particular class.
99+
Now that we have the data samples, we can move on to designing the Impulse. An Impulse is in a nutshell the pipeline that the model will use for training. Consisting of an input block, processing block and a learning block. The input block indicates the type of data being used in the model, which will be audio in this case. The processing block extracts meaningful features from your data. The Audio Syntiant processing block we are using in this tutorial extracts time and frequency features from the audio used in the model. The learning block uses a neural network classifier that will take the input data, the audio that was captured in the previous step, and then give us a probability that indicates how likely it is that the input data belongs to a particular class.
100100

101101
In the menu navigate to "Create Impulse" under "Impulse Design" and add an Audio processing block, which will be "Syntiant" in this case, as well as a Classification block. The page should now look like the image below.
102102

@@ -118,7 +118,7 @@ Go to the "Classifier" tab under "Impulse design". We can keep the default setti
118118

119119
![Stats from the generated features](assets/generated-features-stats.svg)
120120

121-
Ideally, you want to get as close to 100% accuracy as possible for each class. If the results are poor, the sound recorded may not be representative of the audio that is being classified as. The audio that is incorrect should then be removed from the data set and replaced if the data set becomes too small.
121+
Ideally, you want to get as close to 100% accuracy as possible for each class. If the results are poor, the sound recorded may not be representative of the audio that it is being classified as. The audio that is incorrect should then be removed from the data set and replaced if the data set becomes too small.
122122

123123
### Deploying the Model
124124

@@ -154,7 +154,7 @@ To make sure everything is working open the Arduino IDE, select the correct port
154154

155155
![Correct firmware and model loaded on the Nicla Voice](assets/fw-loaded-serial-monitor.svg)
156156

157-
Now you can go ahead and say your wake up words to the Nicla Voice. The board should then blink the blue LED when sound is registered. If the LED does not blink try moving closer to the Nicla Voice or pronounce the wake up words differently. The board will print what class it thinks the sounds recognized belongs to, as seen in the image below. This makes it easy to see if the board will recognize the desired phrase or if it recognized as a different class. If the board has problems recognizing the right phrase it might be a good idea to take another look at the model and the data that has been collected.
157+
Now you can go ahead and say your wake up words to the Nicla Voice. The board should then blink the blue LED when a sound is registered. If the LED does not blink try moving closer to the Nicla Voice or pronounce the wake up words differently. The board will print what class it thinks the sounds recognized belongs to, as seen in the image below. This makes it easy to see if the board will recognize the desired phrase or if it is recognized as a different class. If the board has problems recognizing the right phrase it might be a good idea to take another look at the model and the data that has been collected.
158158

159159
![Serial monitor showing sound recognized](assets/phrase-recognition.svg)
160160

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /