https://github.com/rhasspy/wyoming-snd-external
Wyoming protocol server that calls an external program to play audio
https://github.com/rhasspy/wyoming-snd-external
Last synced: 11 days ago
JSON representation
Wyoming protocol server that calls an external program to play audio
- Host: GitHub
- URL: https://github.com/rhasspy/wyoming-snd-external
- Owner: rhasspy
- License: mit
- Created: 2023-11-30T17:09:32.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-28T21:16:04.000Z (12 months ago)
- Last Synced: 2025-03-28T08:12:08.848Z (28 days ago)
- Language: Python
- Size: 14.6 KB
- Stars: 15
- Watchers: 4
- Forks: 13
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Wyoming External Sound
[Wyoming protocol](https://github.com/rhasspy/wyoming) server that runs an external program to play audio.
The external program must receive raw PCM audio on its standard input.
The format will match the `--rate`, `--width`, and `--channel` arguments provided to the server.## Installation
``` sh
script/setup
```## Example
Run a server that plays audio with `aplay`:
``` sh
script/run \
--uri 'tcp://127.0.0.1:10601' \
--program 'aplay -r 22050 -c 1 -f S16_LE -t raw' \
--rate 22050 \
--width 2 \
--channels 1
```