mirror of
https://github.com/k2-fsa/sherpa-onnx.git
synced 2026-01-09 07:41:06 +08:00
The recording example can be used for speech recognition while the playing example can be used for text to speech. The portaudio wrapper for object pascal is copied from https://github.com/UltraStar-Deluxe/USDX/blob/master/src/lib/portaudio/portaudio.pas
Introduction
portaudio.pas requires that the portaudio library is installed on your system.
On macOS, you can use
brew install portaudio
and it will install portaudio into /usr/local/Cellar/portaudio/19.7.0.