sherpa
1.3
  • Introduction
  • Download pdf
  • Social groups
  • Run Next-gen Kaldi in your browser
  • Pre-trained models

k2-fsa/sherpa

  • sherpa

k2-fsa/sherpa-ncnn

  • sherpa-ncnn

k2-fsa/sherpa-onnx

  • sherpa-onnx
    • Tutorials
    • Installation
    • Frequently Asked Question (FAQs)
    • Python
    • C API
    • Java API
    • Javascript API
    • Kotlin API
    • Swift API
    • Go API
    • C# API
    • Pascal API
    • Lazarus
    • WebAssembly
    • Android
    • HarmonyOS
      • Pre-built HAPs
      • On-device speaker identification (本地说话人识别)
      • On-device text-to-speech (TTS)
      • On-device VAD + ASR
      • How to build sherpa_onnx.har
    • iOS
    • Flutter
    • WebSocket
    • Hotwords (Contextual biasing)
    • Keyword spotting
    • Punctuation
    • Audio tagging
    • Spoken language identification
    • VAD
    • Pre-trained models
    • Moonshine
    • SenseVoice
    • FireRedAsr
    • Dolphin
    • Speaker Diarization
    • Speaker Identification
    • Speech enhancement
    • rknn
    • Text-to-speech (TTS)

Triton

  • Triton
sherpa
  • »
  • sherpa-onnx »
  • HarmonyOS
  • Edit on GitHub

HarmonyOS

In this section, we describe how to build an HarmonyOS app with sherpa-onnx.

Hint

For real-time speech recognition, it does not need to access the Internet. Everyting is processed locally on your phone.

  • Pre-built HAPs
  • On-device speaker identification (本地说话人识别)
    • Open the project with DevEco Studio
    • Select a model
      • Use 3dspeaker_speech_eres2net_base_200k_sv_zh-cn_16k-common.onnx
  • On-device text-to-speech (TTS)
    • Open the project with DevEco Studio
    • Select a text-to-speech model
      • Use vits-melo-tts-zh_en
      • Use vits-piper-en_US-libritts_r-medium
  • On-device VAD + ASR
    • Open the project with DevEco Studio
    • Download a VAD model
    • Select a non-streaming ASR model
      • Use sherpa-onnx-moonshine-tiny-en-int8
      • Use sherpa-onnx-sense-voice-zh-en-ja-ko-yue-2024-07-17
  • How to build sherpa_onnx.har
    • Download commandline-tools
    • Build sherpa-onnx for HarmonyOS
    • Build sherpa_onnx.har
      • From the command-line
      • Use DevEco Studio
    • Use sherpa_onnx.har in your project
    • Colab demo
Previous Next

© Copyright 2022-2025, sherpa development team.

Built with Sphinx using a theme provided by Read the Docs.