forked from realthunder/ld3320
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAsrItem.h
62 lines (58 loc) · 1.63 KB
/
AsrItem.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef AsrItemH
#define AsrItemH
#define MIC_VOL 0x4a //调节麦克风的灵敏度,数值越大,反应越灵敏,
#define SPEAKER_VOL 0x08 //数值越大,声音越大
#define ITEM_COUNT 16 //定义识别语音个数
//======识别结果有语音播放============
#define STR_00 "bei jing" //北京
#define STR_01 "shang hai" //上海
#define STR_02 "tian jin" //天津
#define STR_03 "chong qing" //重庆
#define STR_04 "guang zhou" //广州
#define STR_05 "hang zhou" //杭州
#define STR_06 "cheng du" //成都
#define STR_07 "nan jing" //南京
#define STR_08 "ni hao" //你好
#define STR_09 "guan deng" //关灯,两个等同时关闭
#define STR_10 "tai deng kai" //台灯开启,JDQ01
#define STR_11 "tai deng guan" //台灯关闭,JDQ01
#define STR_12 "bi deng kai" //壁灯开启,JDQ02
#define STR_13 "bi deng guan" //壁灯关闭,JDQ02
#define STR_14 "kai deng"
//=======更多识别语音请在下面自行添加,并修改相应代码========
#define STR_15 "wa sai" //哇塞
#define STR_16 ""
#define STR_17 ""
#define STR_18 ""
#define STR_19 ""
#define STR_20 ""
#define STR_21 ""
#define STR_22 ""
#define STR_23 ""
#define STR_24 ""
#define STR_25 ""
#define STR_26 ""
#define STR_27 ""
#define STR_28 ""
#define STR_29 ""
#define STR_30 ""
#define STR_31 ""
#define STR_32 ""
#define STR_33 ""
#define STR_34 ""
#define STR_35 ""
#define STR_36 ""
#define STR_37 ""
#define STR_38 ""
#define STR_39 ""
#define STR_40 ""
#define STR_41 ""
#define STR_42 ""
#define STR_43 ""
#define STR_44 ""
#define STR_45 ""
#define STR_46 ""
#define STR_47 ""
#define STR_48 ""
#define STR_49 ""
#endif