[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Speechd-el say all
From: |
Pierre Lorenzon |
Subject: |
Speechd-el say all |
Date: |
Sun, 26 Aug 2018 04:08:57 +0200 (CEST) |
From: Nicolas Graner <address@hidden>
To: address@hidden
Subject: Re: Speechd-el say all
Date: Sat, 25 Aug 2018 10:39:23 +0200
> Pierre Lorenzon <devel at pollock-nageoire.net> a ?crit le 25/08/2018 ?
> 05h22 :
>> From: Rapha?l POITEVIN <rpoitevin at hypra.fr>
>> In fact ! Somebody has done what I said that have to be
>> done. Anyway I am curious to know how client may follow the
>> speech flue once it have been sent to the server. I will have
>> a look at this code if I have time !
>
> This code bypasses the protocol and calls spd-say repeatedly as a
> separate process. I've written a simple function to read from point to
> end of buffer in the same way, which works well. Pressing any key will
> terminate reading and the cursor will be located right after the last
> line read.
>
> (defun speak-to-end ()
> (interactive)
> (while-no-input
> (while (not (eobp))
> (call-process "spd-say" nil nil nil "--wait"
> (buffer-substring (point)
> (progn (forward-line) (point)))))))
>
> This is a minimal proof of concept eimproved in many ways.
OK !
Pierre
>
> Nicolaswhich could
>
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd
- Speechd-el say all, (continued)
Speechd-el say all, Raphaël POITEVIN, 2018/08/24
Speechd-el say all,
Pierre Lorenzon <=
Speechd-el say all, Raphaël POITEVIN, 2018/08/25
Speechd-el say all, Pierre Lorenzon, 2018/08/25
Speechd-el say all, Milan Zamazal, 2018/08/26
Speechd-el say all, Samuel Thibault, 2018/08/25