[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
Re: emacspeak speaking engine for personal needs
- To: emacspeak@xxxxxxxxxxx
- Subject: Re: emacspeak speaking engine for personal needs
- From: "Dm. Paduchih" <paduch@xxxxxxxxxxx>
- Date: 17 Mar 2001 22:59:58 +0500
- In-Reply-To: <15027.36866.765794.323209@xxxxxxxxxxx>
- Resent-Date: Sat, 17 Mar 2001 13:08:27 -0500 (EST)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <"i4gC0D.A.XjC.9Y6s6"@hub>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
- User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
I thought emacspeak-dtk-sync should prevent flushing. Doesn't it?
>>>>> "TVR" == T V Raman <raman@xxxxxxxxxxx> writes:
TVR> this will not work because dtk-speak causes the previous
TVR> speech to flush.
>>>>> "Dm" == Dm Paduchih <paduch@xxxxxxxxxxx> writes:
Dm> Hi folks!
Dm> I would like to use emacspeak speaking possibilities
Dm> from within my own custom commands. But I have
Dm> found some difficulties with speaking out several
Dm> messages one by one. For example, i have written
Dm> the following simple routine to read text
Dm> continuously sentence by sentence. However it just
Dm> passes silently through all text or reads only some
Dm> part.
Dm> ;;; This reads buffer sentence by sentence
Dm> (defun my-read-book () (interactive)
Dm> (dtk-set-punctuations 'none) (emacspeak-dtk-sync)
Dm> (let ((old (point))) (while (re-search-forward
Dm> sentence-end nil t) (dtk-speak
Dm> (buffer-substring-no-properties old (point)))
Dm> (emacspeak-dtk-sync) (setq old (point)) )))
Dm> What is wrong with this code? Or maybe it is a
Dm> problem with my speech server? Has anyone this code
Dm> working?
Dm> Thanks. Dmitry
Best Regards. Dmitry
-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"
Emacspeak Files |
Subscribe |
Unsubscribe | Search