Hello together,
i put out voice via my pi and via jack to speakers. That works well with a small script. But the voice was so many deep frequenzies and i decide to use alsa equalizer plugin. After activiation of this plugin i get sound over console without any problems, but i get an error if pimatic and execute plugin send this voice via my script. Without alsa equal it works fine. I can’t find this error. I’m not sure if this error will throw out of missing rights or anything. So if any body has an idea to help me out would be fine.
Script:
#!/bin/bash
rannumber=$RANDOM
wavpath=/tmp/${rannumber}.wav
say() {
/usr/bin/pico2wave --lang=de-DE --wave=$wavpath "$*"; /usr/bin/aplay $wavpath; $
}
say $*
Error:
error [pimatic-shell-execute]: [ShellActionHandler] stderr output from command /home/pi/speech.sh CPU 3.08: aplay: main:722: Fehler beim Öffnen des Gerätes: Die Operation ist nicht erlaubt
Thanks.