spokestack-android | Extensible Android mobile voice framework : wakeword , ASR | Speech library
kandi X-RAY | spokestack-android Summary
kandi X-RAY | spokestack-android Summary
Spokestack is an all-in-one solution for mobile voice interfaces on Android. It provides every piece of the speech processing puzzle, including voice activity detection, wakeword detection, speech recognition, natural language understanding (NLU), and speech synthesis (TTS). Under its default configuration (on newer Android devices), everything except TTS happens directly on the mobile device—no communication with the cloud means faster results and better privacy.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Encodes the given text
- Encode longest word pieces
- Removes all punctuation characters from the main word
- Encode the longest word pieces
- Generate OAuth message
- Encodes a byte array
- Sign the given string using the given secret key
- Pads two bytes at the end of the array
- Called when media has changed
- Initializes the maps to their default values
- Loads a Tensorflow model
- Completes the turn
- Load vocabulary
- Initialize the maps
- Handles the given HTTP response
- Apply all stages to speechack
- Builds a speech -ack pipeline
- Apply all stages in speechack
- Apply all stages
- Parse a raw value
- Called when an audio response is received
- Builds a pipeline
- Parses a userIntent
- Return null if not found
- Process a Turn result
- Returns null if no range is defined
spokestack-android Key Features
spokestack-android Examples and Code Snippets
private lateinit var spokestack: Spokestack
// ...
spokestack = Spokestack.Builder()
.setProperty("wake-detect-path", "$cacheDir/detect.tflite")
.setProperty("wake-encode-path", "$cacheDir/encode.tflite")
.setProperty("wake-filter-path",
android {
// ...
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
// ...
dependencies {
// ...
implementation 'io.spokestack:spokestack-android:1
ossrh
sonatype-username
sonatype-password
mvn release:clean release:prepare release:perform
Community Discussions
Trending Discussions on spokestack-android
QUESTION
How can I specify a custom wakeword name (eg "stack overflow" or "party time") in the spokestack-android configuration? I'm looking for something like:
...ANSWER
Answered 2020-Jan-14 at 23:15Currently, Spokestack Android only supports wakeword detection via a binary classifier, so we only recognize "Spokestack". In theory, this could be done via Android's platform ASR, with the caveat that the user would constantly be interrupted by Google Assistant-style audible dings as the ASR request times out and gets restarted, so it'd only be useful for informal demos, not real apps.
That said, it's theoretically possible, so feel free to open an issue, and it might show up in a future version if we get enough demand for it.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install spokestack-android
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page