Arsip Piksi-L

Tanggal Sebelumnya Tanggal Berikutnya Ulir Sebelumnya Ulir Berikutnya

Indeks - Tanggal   Indeks - Ulir Diskusi

[PIKSI-L] Adding speech to Age of Empires II (AoE II)

From Asep Abdurohman <asepa @ somewhere.in.the.world>
Date Mon, 13 May 2002 13:36:43 +0700

FYI, dari
http://www.microsoft.com/speech/techInfo/whitepapers/papers/programming.asp
Beberapa tahun yg lalu juga sudah sangat mudah membuat sistem yg mengenal
perintah suara  untuk mengontrol peralatan rumah tangga. Msvoice digabung
dengan app VB, app VB kirim data ke serial port COMM1/2/... yg nyambung ke
mikrokontroler MCS51, MCS51 nyambung ke OPTO-FET yang berupa electrical
switch yang bisa mengendalikan alat2 bertegangan jala2 listrik PLN 110/220V
biasa (lampu, motor, dll). Lebih menarik dan lebih mudah lagi dengan
tambahan teknologi dari Microsoft ini (Speech SDK 5.1).

-asp-

Programming Approaches for Speech-Enabled Applications
Adding speech to applications
+++++++++++++++++++++++++++++
Adding speech to applications is not a difficult task. As mentioned earlier,
many applications may be retrofitted for speech; that is, speech may be
added to existing packages. These changes need not be extensive, and in some
cases, require no modifications to existing code. In general, there are
three approaches to adding speech: Without code changes, with code changes,
and from the ground up. 

The least intrusive method is without code changes. Legacy software
incorporates speech without have to change any of the code. This approach
takes advantage of external hooks which are already present in the software.
These hooks are usually intended for COM, automation, or keyboard
interfaces. However, an external application or executable is needed. This
executable has the responsibility of handling speech and exporting the
features in the appropriate format for the hooks. As an example, the
Microsoft SAPI 5.0 SDK demonstrates how to add speech to Age of Empires II
(AoE II). In fact, the AoE II program does not need to be modified;
expecting users to run a patch would be prohibitive. Rather, the
demonstration uses a separate executable: AOESAPI.exe. After handling all
the speech and recognition, the output to AoE II is sent with the Win32 call
SendInput(), simulating a keystroke. In this way, developers can create
speech interfaces for many games and other applications using a keyboard. 

Existing applications may also be modified directly to accept speech. This
requires changes to the application's code base and therefore is more
complex. Before doing this, look at existing commands where speech adds
value. This may be as direct as adding speech commands to access menus and
menu items. This adds only a small amount of code. Also, the interface
remains the same and does not risk confusing the user. 

Finally, applications can be created from the ground up. This is the most
radical approach but also the more effective for incorporating the newest
speech technology. Here, designers attempt radical, or at least vastly
different, applications than those that are currently available. In the case
of existing paradigms (word processors, for example), designers may be
interested in incorporating speech in fundamental or integral ways so that
modifying existing code is not an option. New kinds of applications
including voice telephony, smart phone Web browsers, hand held computers or
other new devices will also require a ground up approach.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/DlIU9C/4m7CAA/Ey.GAA/IYOolB/TM
---------------------------------------------------------------------~->

----------
Piksi-L @ somewhere.in.the.world merupakan 'mailing-list' alumni asisten Piksi,
ITB, Indonesia.

Opini yang disampaikan di forum ini merupakan pendapat/sikap
pribadi, kecuali secara eksplisit dinyatakan lain, dan *sama sekali*
tidak berkaitan dengan kelembagaan Piksi ITB secara formal.

Untuk berhenti, kirim email ke piksi-l-unsubscribe @ somewhere.in.the.world
Pengelola Piksi-L: piksi-l-owner @ somewhere.in.the.world
Informasi Piksi-L: http://www.yahoogroups.com/group/piksi-l
 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


 

Dihasilkan pada Thu Sep 22 18:42:10 2005 | menggunakan mhonarc 2.6.10