Using a speech engine to highlight words: Difference between revisions

m
→‎{{header|Phix}}: clarification
m (→‎{{header|Phix}}: clarification)
Line 128:
 
=={{header|Phix}}==
Requires 0.8.2+, and as-is, this will only work on Windows 32 bit (sorry)<br>
(You can of course run it on a 64-bit OS using a 32-bit version of the compiler/interpreter.)
<lang Phix>-- demo/rosetta/Speech.exw
include pGUI.e
Line 145 ⟶ 146:
lo += power(2,flags[i])
end for
-- NB 2*64-bit as 4*32-bit:
atom res = cominvk(pVoice,ISpVoice_SetInterest,{lo,hi,lo,hi})
if res!=S_OK then crash("invalid") end if
Line 226 ⟶ 228:
 
main()</lang>
 
=={{header|REXX}}==
{{works with|Windowx/XP or later}}
7,820

edits