Skip to content

Wyoming protocol server that calls an external program to get microphone input

License

Notifications You must be signed in to change notification settings

rhasspy/wyoming-mic-external

Repository files navigation

Wyoming External Microphone

Wyoming protocol server that runs an external program to get microphone input.

The external program must stream raw PCM audio to its standard output, and its format must match the --rate, --width, and --channel arguments provided to the server. It's recommended that you only stream 16Khz 16-bit mono.

Installation

script/setup

Example

Run a server that streams audio from arecord:

script/run \
  --program 'arecord -r 16000 -c 1 -f S16_LE -t raw' \
  --rate 16000 \
  --width 2 \
  --channels 1 \
  --uri 'tcp://127.0.0.1:10600'