You are on page 1of 38

Program voice command for control electronic in

house for cripple

1.
2.
3.
4.
5.
6.

MS Visual Basic




18
3

- Application MS Visual Basic 6.0


- MS Speech SDK 5.1
- Hardware IC
Relay Port Parallel


1) PPA
. ()

4

2) 2546
1. 433340-0
2.
433367-3

3) Text-to-Speech(Speech Synthesis)

2544

1. 413319-9
2. 413323-4

4)

2544

1. 416113-0
2. 416168-6


1. Hardware

Computer CPU Pentium4 2.4 GHz


RAM 256 MB Multimedia
MS Windows XP Professional OS
( Sound Card )
(Speaker)
(Microphone)

2. Software
MS Visual Basic 6.0
Adobe PhotoShop 7.0
Microsoft Speech SDK 5.1

( Software Specification )

Input / output Specification

Functional Specification

(Design)
add component
Microsoft Direct Speech Recognizition Microsoft Direct Text-toSpeech spchapi.exe
speech processing
inpout.dll inpout32.dll
windows/system32
Library inpout32.dll
7

A4 2

10


200
80
1,000
1,000
2,280


1.
2.
3.
4.
5.
6.
7.

Visual Basic
Speech Processing

8.

Grant chart

.. 2547

.. 2548

.. .. .. .. .. ..

..

1.
Visual Basic
2. Speech
Processing
3.

4.
5.
6.
7.

8.
10


MS Visual Basic 6.0

Speech Processing


MS Visual Basic 6.0
Speech Processing

Flow Diagram

11


1.
2.

-
-

Web page
http://project.cs.kku.ac.th/2547/project/g31/
12




Program voice command for control electronic in
house for cripple

13

1.

1.1 416113-0
416168-6

1.1.1
Client Browser

web browser
Server (Home User)

Switch Controller

TV

Radio

Fan

14

1.1.2
1.
2. login
web

1.1.3
1.1.3.1 login server web page

1.1.3.2
web
1.1.3.3 server ISA Card

15

1.1.4
-
-
1.
2. Control Card
-

16

1.2.

1.2.1
Training

(Profile)
2 text
text

17

1.2 .2
1.
2.

3.

4.

5.
6.

18

1.2.3
1)

2)
3) Tokenization & Word Segmentation
4) Voice Synthesis

5) Output

19

1.2.4

20

2.

Hardware
1.)
Interface Control Card ISA BUS
Parallel Port
2.)

Software
1.)
Web Server Application Program
Visual Basic 6.0
2.)
Borland Delphi 7.0
Visual Basic 6.0
21

2.1
1. Application Program and I/O System MS Visual Basic
6.0 Application


2. Circuit Controller IC (ULN2801)
8 pin 12
8 220

3. Electronic Device
18
22

User

Microphone

Speaker

Application
Program

Parallel
Port

Circuit
Controller

Electronic Devce

23

2.2
-Speech recognition Speech-to-Text


-Speech synthesis Text-to-Speech



-Phonemes
Text-to-Speech (TTS) engine

output 21
wave file
24

-Recognizer (Speech recognition engine) software driver


digital
recognizers

-Prosody ,

-Synthesizer software driver
Text-to-Speech
, ,

-Synthesis by Analysis


-Pitch Contour
25
(intonation)

2.3
1.
2.
3.
4.
5.
6.





18
26


MS Visual Basic 6.0
Adobe PhotoShop 7.0
Microsoft Speech SDK 5.1

27

2.4
1. Speech Profile
Profile
2.

3.
( )
4. IC

220 LED
5.

28



user profile
profile

profile

29

2.5

-

-



-
-
input
User Interface

30

2.6
1.

2.

2.7
-
-
-


-
-
-
31

2.8
1. Speech Profile

Profile

32

2. . Data
Port Parallel Port,

33

3.


34

4. ( )
IC
220
LED

35

5. Setting User Recognition Configuration Zone



8

36

2.9
Engine

1. Engine
2. Lexicon
Recognize
Recognize

Training
Training
Java (J2SE)
Hardware Java API
Hardware

MS Visual Basic 6.0

37

38

You might also like