REPORT  ZRICO_SPEAK.
 
include ole2incl.
 
data:ole type ole2_object,
     voice type ole2_object.
 
parameters:p_text type string.
 
start-of-selection.
 
create object voice 'SAPI.SpVoice'.
 
call method of voice 'Speak' = ole
 
exporting #1 = p_text. 

 

转载于:https://www.cnblogs.com/ricoo/p/10170117.html

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐