Comments (1)
Do the ASR and TTS APIs use the Android NNAPI by default if it's compiled with android-27?
No.
Or do I need to pass in some config/flag to enable this?
Yes.
The steps are:
- Change
sherpa-onnx/build-android-arm64-v8a.sh
Line 87 in 49ee458
You need to replace 21
with 27
or greater.
- For ASR, you need to change
by replacing cpu
with nnapi
.
For TTS and other tasks you need to do the same thing as ASR. (I think you have got the ideas.)
from sherpa-onnx.
Related Issues (20)
- 在做ASR时,如果对麦克风收音做降噪处理? HOT 1
- TTS,除了命令行调用外,能否在Python里直接调用?想避免模型重复加载耗时 HOT 4
- [Help wanted] Add OnlineNeMoCtcModelConfig to C API
- [Help wanted] Flutter APP for text-to-speech
- 把SherpaOnnx 样例的Android kotlin代码转成Java就无法识别声音
- [csharp] Chinese char output ???????? while using OfflinePunctuation HOT 3
- 【csharp】SherpaOfflinePunctuationAddPunct: Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Repeat 2 times: HOT 5
- [feature request] remember speed HOT 3
- [csharp] SpeakerEmbeddingExtractor cost memory 6G and keep growing, does it normal or has memory leak? HOT 8
- [csharp] SherpaOfflinePunctuationAddPunct. Unhandled exception. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception HOT 2
- 安装Python Package CUDA版本失败 HOT 25
- whisper onnx convert to rknn HOT 6
- Hotwords encoding for phonemes HOT 5
- Getting end timestamp in result(s) HOT 2
- Runtime option to disable sherpa logs HOT 2
- Import Piper / VITS as iOS Custom System Voices for TTS using AVSpeechSynthesisProviderAudioUnit Extension in Swift HOT 1
- Convert new piper tts models. HOT 1
- Multi-language support issue with Sherpa ONNX conversion (on android device)
- Use offline model to stream online HOT 1
- Errors and Questions regarding exporting a model HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sherpa-onnx.