synesthesiam / voice2json

Command-line tools for speech and intent recognition on Linux
MIT License
1.08k stars 63 forks source link

v2.1 - profile.defaults.yml: configure voice2json to use PulseAudio ? #60

Open OSS542 opened 2 years ago

OSS542 commented 2 years ago

voice2json does not currently use PulseAudio by default

in /usr/share/voice2json/etc/profile.defaults.yml :

it is possible to record/listen via PulseAudio as follows : record-command: "arecord -q -r 16000 -c 1 -f S16_LE -t raw -D pulse"

It should also be possible to play audio via PulseAudio as follows: play-command: "aplay -q -t wav -D pulse"