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
14 lines
250 B
Markdown
14 lines
250 B
Markdown
# 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`.
|