Add microphone streaming ASR example for C API (#650)

This commit is contained in:
Fangjun Kuang
2024-03-08 19:31:46 +08:00
committed by GitHub
parent d3287f9494
commit 4b708e055c
8 changed files with 285 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
# Introduction
This folder contains examples for real-time speech recognition from a microphone
using sherpa-onnx C API.
**Note**: You can call C API from C++ files.
## ./c-api-alsa.cc
This file uses alsa to read a microphone. It runs only on Linux. This file
does not support macOS or Windows.