Basic Bash Piper Book Reader. #493
clort81
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
Where does the command |
Beta Was this translation helpful? Give feedback.
1 reply
-
On my system, from the debian package 'buffer'. It is found in /usr/bin/buffer. It was an experiment to see if the buffer underruns were caused by piper, in which case a buffer inserted into the pipeline can help to ameliorate the underruns. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Piper's monophonic output can be promoted to stereo automatically by alsa, but as soon as something else is playing, alsa dumps the mono channel to left speaker.
Investigating how to work around this, I went down a rabbit hole of audio processing raw pcm streams.
Using the awesome ffmpeg swiss army knife, I got promotion to stereo, equalization to improve the sound (on my speakers). I added a 'reader' that will try to group an input text into paragraphs which it then sends to piper.
I was unable to avoid buffer underrunns 100% on my setup (AC97 motherboard, alsa).
This probably won't work 'out of the box' for you, but it is shared in hope that some of the work invested might be useful to others.
If anyone has questions or improvements, please share and discuss.
Beta Was this translation helpful? Give feedback.
All reactions