Fix freedmr ambe file

Add FreeDMR identifier to ident
This commit is contained in:
Simon 2021-05-09 16:08:54 +01:00
parent 3ce7a0b90a
commit 4d6961ec07
3 changed files with 24 additions and 9 deletions

Binary file not shown.

View File

@ -568,6 +568,11 @@ def ident():
_say.append(words[character])
_say.append(words['silence'])
_say.append(words['silence'])
_say.append(words['silence'])
_say.append(words['silence'])
_say.append(words['silence'])
_say.append(words['freedmr'])
#test
#_say.append(AMBEobj.readSingleFile('alpha.ambe'))
_all_call = bytes_3(16777215)
@ -2194,7 +2199,7 @@ if __name__ == '__main__':
# Ident
#This runs in a thread so as not to block the reactor
ident_task = task.LoopingCall(threadIdent)
identa = ident_task.start(900)
identa = ident_task.start(20)
identa.addErrback(loopingErrHandle)
#Options parsing

View File

@ -37,38 +37,48 @@ voiceMap = {
'en_US:': {
'to': '2',
'freedmr': 'silence'
},
'es_ES': {
'to': 'silence'
'to': 'silence',
'freedmr': 'silence'
},
'fr_FR': {
'to': 'silence'
'to': 'silence',
'freedmr': 'silence'
},
'de_DE': {
'to': 'silence'
'to': 'silence',
'freedmr': 'silence'
},
'dk_DK': {
'to': 'silence'
'to': 'silence',
'freedmr': 'silence'
},
'it_IT': {
'to': 'silence'
'to': 'silence',
'freedmr': 'silence'
},
'no_NO': {
'to': 'silence'
'to': 'silence',
'freedmr': 'silence'
},
'pl_PL': {
'to': 'silence'
'to': 'silence',
'freedmr': 'silence'
},
'se_SE': {
'to': 'silence'
'to': 'silence',
'freedmr': 'silence'
}
}