[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

emacspeak speaking engine for personal needs



this will not work because dtk-speak causes the previous
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

    Dm> -----------------------------------------------------------------------------
    Dm> To unsubscribe from the emacspeak list or change
    Dm> your address on the emacspeak list send mail to
    Dm> "emacspeak-request@xxxxxxxxxxx" with a subject of
    Dm> "unsubscribe" or "help"

-- 
Best Regards,
--raman

      
Email:  raman@xxxxxxxxxxx
WWW: http://www.cs.cornell.edu/home/raman/             
PGP:    http://www.cs.cornell.edu/home/raman/raman.asc 

-----------------------------------------------------------------------------
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