After you install the SAPI 5.1 SDK available from Microsoft by clicking HERE, you will find that it gives you most of the important methods, events, types and constants through a registered type library. This means that you can access SAPI 5.1 functionality through late bound or early bound Automation.
When you are done, you will see 19 new components on your SAPI 5.1 palette page! Each of these components makes it easy to drop on your forms and access the interface associate with it. You will see the TSpVoice component which we use in the sample programs to do the speaking with SpVoice events, methods and properties. There are also the SpMMAudioOut component that lets us link a speech stream to a windows audio output device and SpAudioFormat which lets us control wave formats. They don't seem to come with unique icons, which makes it hard to tell them apart from each other without getting hover help or memorizing their position in the list, but it sure is nice to have them componentized. If you look in the Delphi 5, 6 and 7 folders under SAPI 5.1 you will find the component packages for each of these versions. NOTE: Delphi 6 had a bug that causes it to not to be able to import the type library properly, so you will have to create it in another version of Delphi and copy it in yourself. Sumber: http://www.exceletel.com/support/whtpapers/speech/delphi.htm |
Masih Kosong
Senin, 03 Oktober 2011
Cara Instalasi Microsoft SAPI speech SDK pada komponen Delphi
Label:
ADC,
Delphi,
Mikrokontroler,
Software,
Tutorial,
Tutorial Mikrokontroler
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar