5 lines
202 B
Bash
Executable file
5 lines
202 B
Bash
Executable file
#!/bin/sh
|
|
|
|
device="$(pactl info | grep 'Default Sink: ' | tuc -d 'Default Sink: ' -f 2)"
|
|
echo "device: $device"
|
|
sox --no-show-progress -t pulseaudio $device -d $(pocketsphinx soxflags) | pocketsphinx -
|