-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
37 lines (36 loc) · 969 Bytes
/
config.js
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
module.exports = {
lang: 'cht', // 'en', 'cht' or 'chs'
'stt-engine': 'google', // 'watson' or 'google',
'tts-engine': 'itri', // 'watson' or 'itri' or 'iflytek'
stt: {
sttSilenceInterval : 30,
sttSampleRate : 16000,
sttChannels : 1,
sttDebug : false,
watson: {
username: '',
passwd: ''
},
google: {
username: 'xxxxx',
passwd: '',
googleCredentialFile: '', //the location of your google auth credential file.
googleProjectName: '', //the project name which create your credential file.
googleLan: 'cmn-Hant-TW', // en-Us or cmn-Hant-TW
}
},
tts: {
watson: {
username: '',
passwd: ''
},
iflytek: {
appid: '<app_id>'
},
itri: {
username: '',
passwd: '',
speaker: '',
}
}
};