Skip to content

Commit 89c61ba

Browse files
authored
Merge pull request #3203 from odincodeshen/v9_mnn
[mnn v9] Updated the audio links and clarified the flow in Section 5.
2 parents 3e2e83e + ff0647d commit 89c61ba

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

content/learning-paths/cross-platform/multimodel_mnn_v9/5_mnn_vision_audio.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,29 @@ To keep the output predictable, this module uses a single-line format with semic
1414

1515
## Prepare the audio asset
1616

17-
This example assumes that `restock_note.wav` contains a short spoken instruction describing what to restock.
17+
To simplify the demonstration and improve clarity for this learning path, directly download the prepared audio file:
1818

19-
A suitable recording might say:
19+
```bash
20+
mkdir ~/mnn/assets
21+
wget wget https://github.com/odincodeshen/multimodel_mnn_armv9/raw/main/assets/restock_note.wav -P ~/mnn/assets
22+
```
23+
24+
This audio `restock_note.wav` contains brief spoken instructions describing restocking tasks, such as:
2025

2126
- please restock the bottom-left large pet food bags, add ten bags
2227
- also restock the middle-left canned pet food, add twenty-four cans
2328
- finish before 3 PM today
2429
- if something is out of stock, use a similar substitute
2530

26-
From that audio, the model should extract:
31+
The model’s goal is to extract structured operational information from this audio, specifically:
2732

2833
- items
2934
- quantities
3035
- shelf zones
3136
- deadline
3237
- substitution policy
3338

34-
The goal is not full speech analytics. The goal is to turn a short spoken instruction into a compact operational ticket.
39+
The objective isn’t comprehensive speech analytics but efficiently converting spoken instructions into a compact operational ticket.
3540

3641
## Verify the audio format
3742

@@ -43,7 +48,7 @@ file ~/mnn/assets/restock_note.wav
4348

4449
You should see output indicating that the file is a RIFF/WAV audio file.
4550

46-
If you only have an MP3 recording, convert it to a speech-friendly WAV format:
51+
If you'd like to record the audio by yourself as MP3 format, please convert it to a speech-friendly WAV format:
4752

4853
```bash
4954
ffmpeg -y -i input.mp3 -ac 1 -ar 16000 -c:a pcm_s16le ~/mnn/assets/restock_note.wav

0 commit comments

Comments
 (0)