Hi,

Sorry for having missed your report for so long.

Andy Bennett, on mer. 26 avril 2017 00:23:34 +0100, wrote:
echo "$string" | text2wave |aplay -q

This now no longer works under Jessie.

Indeed, text2wave now uses fseek, which can't work with pipes.

I have forwarded the report to upstream, but I'm afraid it'll be
difficult for them to work back to avoid using fseek. It probably means
you will have to use a temporary file.

No worries and thanks for getting back to me.

I've been using a temporary file thus:

-----
TMP=`mktemp`
echo "$string" | text2wave > $TMP
aplay -q $TMP
rm $TMP
-----

...and if that's the intended behaviour then it'd be nice to get an error when it gets a pipe rather than just nothing. Better still would be to change the interface to only deal with named files and not output to stdout at all.





Regards,
@ndy

--
[email protected]
http://www.ashurst.eu.org/
0x7EBA75FF

Reply via email to