Object pascal examples for recording and playing audio with portaudio. (#1271)

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
This commit is contained in:
Fangjun Kuang
2024-08-18 19:51:08 +08:00
committed by GitHub
parent f93f0ca94d
commit e34a1a2aa3
9 changed files with 1562 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
# Introduction
[portaudio.pas](./portaudio.pas)
requires that the portaudio library is installed on your system.
On macOS, you can use
```bash
brew install portaudio
```
and it will install `portaudio` into `/usr/local/Cellar/portaudio/19.7.0`.