You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Install software required for this Learning Path
9
+
## Install dependencies
10
10
11
-
In this learning path, you will compile an Android application, so you first need to download and install the latest version of [Android Studio](https://developer.android.com/studio) on your computer.
11
+
In this learning path, you will compile an Android application, so you first need to download and install the latest version of [Android Studio](https://developer.android.com/studio) on your development machine.
12
12
13
-
You then need to ensure you have the following tools:
13
+
You then need to install the following tools:
14
14
-`cmake`, the software build system
15
15
-`git`, the version control system for cloning the Voice Assistant codebase
16
16
-`adb`, the Android Debug Bridge, a command-line tool to communicate with a device and perform various commands on it
@@ -19,9 +19,10 @@ These tools can be installed by running the following command (depending on your
These three steps correspond to specific components used in the Voice Assistant application. A more detailed description of each one follows.
18
+
These three steps correspond to specific components used in the Voice Assistant application. A more detailed description of each step is provided.
19
19
20
20
## Speech to Text Library
21
21
22
22
Speech-to-Text is also known as Automatic Speech Recognition. This part of the pipeline focuses on converting spoken language into written text.
23
23
24
24
Speech recognition is done in the following stages:
25
-
- The device's microphone captures spoken language as an audio waveform,
26
-
- The audio waveform is broken into small time frames, and features are extracted to represent sound,
27
-
- A neural network is used to predict the most likely transcription of audio based on grammar and context,
25
+
- The device's microphone captures spoken language as an audio waveform.
26
+
- The audio waveform is broken into small time frames, and features are extracted to represent sound.
27
+
- A neural network is used to predict the most likely transcription of audio based on grammar and context.
28
28
- The final recognized text is generated for the next stage of the pipeline.
29
29
30
30
## Large Language Models Library
@@ -35,6 +35,6 @@ The text transcription from the previous part of the pipeline is used as input t
35
35
36
36
## Text to Speech Component
37
37
38
-
Currently, this part of the application pipeline uses the Android Text-to-Speech API with some extra functionality to ensure smooth and natural speech output.
38
+
This part of the application pipeline uses the Android Text-to-Speech API with some extra functionality to ensure smooth and natural speech output.
39
39
40
-
In synchronous mode, speech is only generated after the full response from the LLM is received. By default, the application operates in asynchronous mode, where speech synthesis starts as soon as a sufficient portion of the response (such as a half or full sentence) is available. Any additional responses are queued for processing by the Android Text-to-Speech engine.
40
+
In synchronous mode, speech is only generated after the full response from the LLM is received. By default, the application operates in asynchronous mode, where speech synthesis starts as soon as a sufficient portion of the response (such as a half or full sentence) is available. Any additional responses are queued for processing by the Android Text-to-Speech engine.
Copy file name to clipboardExpand all lines: content/learning-paths/mobile-graphics-and-gaming/voice-assistant/4-run.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ weight: 6
7
7
layout: learningpathall
8
8
---
9
9
10
-
In the previous section, we built the Voice Assistant app. Now, we need to install it on the phone. The easiest way to do this is to put the Android phone in developer mode and use a USB cable to upload the application.
10
+
In the previous section, you built the Voice Assistant application. Now, you will install this application on your Android phone. The easiest way to do this is to put your Android phone in developer mode and use a USB cable to upload the application.
11
11
12
12
## Switch your phone to developer mode
13
13
@@ -26,7 +26,7 @@ The Voice Assistant will welcome you with this screen:
Copy file name to clipboardExpand all lines: content/learning-paths/mobile-graphics-and-gaming/voice-assistant/_index.md
+9-14Lines changed: 9 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,24 @@
1
1
---
2
2
title: Accelerate a Voice Assistant with KleidiAI and SME2
3
3
4
+
draft: true
5
+
cascade:
6
+
draft: true
7
+
4
8
minutes_to_complete: 30
5
9
6
-
who_is_this_for: This Learning Path is an introductory topic on improving the performances of a voice assistant by using KleidiAI and SME2.
10
+
who_is_this_for: This is an introductory topic for software developers interested in running a voice assistant with improved performance on their Android phones by using KleidiAI and SME2.
7
11
8
12
learning_objectives:
9
-
- Compile an Android application
10
-
- Use KleidAI and SME2 to improve the performance of the voice assistant
13
+
- Learn how to compile a voice assistant Android application.
14
+
- Use KleidiAI and SME2 to improve the performance of the voice assistant.
11
15
12
16
prerequisites:
13
-
- an Android phone
14
-
- Android Studio
15
-
- CMake
16
-
- adb
17
-
- git
17
+
- An Android phone with support for i8mm (tested on Google Pixel 8 Pro).
18
+
- A development machine with [Android Studio](https://developer.android.com/studio) installed.
0 commit comments