• このフォーラムは、www.cad3d.it/forum1 - イタリアのデザインコミュニティの機械翻訳です。いくつかの用語は正しく翻訳されていません。

autocadのparlante

  • Thread starter Thread starter arri
  • Start date Start date

arri

Guest
if you are using windows xp (and higher) and a pc with a sound card, you can easily make your autocad talk.
for speech-output you can use the sapi interface in windows and call it from autocad e.g. through lisp:


(setq sapi (vlax-create-object "sapi.spvoice"))
(vlax-invoke sapi "speak" "here is your autocad" 0)
(vlax-release-object sapi)

http://www.cadforum.cz/cadforum_en/qaid.asp?tip=5404
 
Last edited:
lisp dedicato a questa funzione

sayit is a utility that allows autocad to speak using the windows speech program. the applications are up to your imagination, and can also include dialog messages. included is an example to add to your acaddoc.lsp file that will be executed when autocad starts up
 
lisp dedicato a questa funzione

sayit is a utility that allows autocad to speak using the windows speech program. the applications are up to your imagination, and can also include dialog messages. included is an example to add to your acaddoc.lsp file that will be executed when autocad starts up

io ho provato il lisp ma mi da il seguente errore:
; errore: tipo di argomento errato: vla-object nil

devo settare qaulacosa??
 
ho usato questo codice e funziona:

Code:
(vl-load-com)
(setq phrase$ "hi fabio.")
(setq sapi (vlax-create-object "sapi.spvoice"))
(vlax-invoke sapi "speak" phrase$ 0)
(vlax-release-object sapi)
(princ)

però la voce è quella predefinita di sam. adesso io ho installato le tts3000 in italiano, la sapi runtime 4.0 e lo lo "speech control panel". sapete che modifiche devo fare al codice per usare la voce in italiano??
 

Forum statistics

Threads
46,674
Messages
380,976
Members
2
Latest member
loop80
このフォーラムは、www.cad3d.it/forum1 - イタリアのデザインコミュニティの機械翻訳です。いくつかの用語は正しく翻訳されていません。

Members online

No members online now.
Back
Top