Add speech prompts.

This commit is contained in:
Jonathan Naylor 2016-10-17 23:44:45 +01:00
parent 728c87a8e7
commit 5b40a2dcf5
15 changed files with 917 additions and 2 deletions

View File

@ -40,6 +40,7 @@ m_callsign(),
m_rptAddress(),
m_rptPort(0U),
m_myPort(0U),
m_announcements(true),
m_daemon(false),
m_lookupName(),
m_lookupTime(0U),
@ -106,6 +107,8 @@ bool CConf::read()
m_rptPort = (unsigned int)::atoi(value);
else if (::strcmp(key, "LocalPort") == 0)
m_myPort = (unsigned int)::atoi(value);
else if (::strcmp(key, "Announcements") == 0)
m_announcements = ::atoi(value) == 1;
else if (::strcmp(key, "Daemon") == 0)
m_daemon = ::atoi(value) == 1;
} else if (section == SECTION_ID_LOOKUP) {
@ -161,6 +164,11 @@ unsigned int CConf::getMyPort() const
return m_myPort;
}
bool CConf::getAnnouncements() const
{
return m_announcements;
}
bool CConf::getDaemon() const
{
return m_daemon;

View File

@ -35,6 +35,7 @@ public:
std::string getRptAddress() const;
unsigned int getRptPort() const;
unsigned int getMyPort() const;
bool getAnnouncements() const;
bool getDaemon() const;
// The Id Lookup section
@ -60,6 +61,7 @@ private:
std::string m_rptAddress;
unsigned int m_rptPort;
unsigned int m_myPort;
bool m_announcements;
bool m_daemon;
std::string m_lookupName;

View File

@ -4,7 +4,7 @@ CFLAGS = -g -O3 -Wall -std=c++0x -pthread
LIBS = -lpthread
LDFLAGS = -g
OBJECTS = Conf.o DMRLookup.o Log.o Mutex.o Network.o P25Gateway.o Reflectors.o StopWatch.o Thread.o Timer.o UDPSocket.o Utils.o
OBJECTS = Conf.o DMRLookup.o Log.o Mutex.o Network.o P25Gateway.o Reflectors.o Speech.o StopWatch.o Thread.o Timer.o UDPSocket.o Utils.o
all: P25Gateway

View File

@ -4,7 +4,7 @@ CFLAGS = -g -O3 -Wall -std=c++0x -pthread
LIBS = -lsocket -lpthread
LDFLAGS = -g
OBJECTS = Conf.o DMRLookup.o Log.o Mutex.o Network.o P25Gateway.o Reflectors.o StopWatch.o Thread.o Timer.o UDPSocket.o Utils.o
OBJECTS = Conf.o DMRLookup.o Log.o Mutex.o Network.o P25Gateway.o Reflectors.o Speech.o StopWatch.o Thread.o Timer.o UDPSocket.o Utils.o
all: P25Gateway

View File

@ -22,6 +22,7 @@
#include "DMRLookup.h"
#include "Network.h"
#include "Version.h"
#include "Speech.h"
#include "Log.h"
#if defined(_WIN32) || defined(_WIN64)
@ -189,6 +190,10 @@ void CP25Gateway::run()
CStopWatch stopWatch;
stopWatch.start();
CSpeech* speech = NULL;
if (m_conf.getAnnouncements())
speech = new CSpeech(localNetwork, rptAddr, rptPort);
LogMessage("Starting P25Gateway-%s", VERSION);
unsigned int srcId = 0U;
@ -293,10 +298,16 @@ void CP25Gateway::run()
remoteNetwork.writePoll(currentAddr, currentPort);
remoteNetwork.writePoll(currentAddr, currentPort);
if (speech != NULL)
speech->announce(dstId);
pollTimer.start();
lostTimer.start();
}
}
} else if (buffer[0U] == 0x6AU || buffer[0U] == 0x73U) {
if (buffer[15U] == 0x00U && speech != NULL)
speech->eof();
}
// If we're linked and we have a network, send it on
@ -319,6 +330,9 @@ void CP25Gateway::run()
reflectors.clock(ms);
if (speech != NULL)
speech->clock(ms);
pollTimer.clock(ms);
if (pollTimer.isRunning() && pollTimer.hasExpired()) {
if (currentId != 9999U)
@ -345,6 +359,8 @@ void CP25Gateway::run()
}
}
delete speech;
localNetwork.close();
remoteNetwork.close();

View File

@ -3,6 +3,7 @@ Callsign=G9BF
RptAddress=127.0.0.1
RptPort=32010
LocalPort=42020
Announcements=1
Daemon=1
[Id Lookup]

View File

@ -153,6 +153,12 @@
<ClInclude Include="Network.h" />
<ClInclude Include="P25Gateway.h" />
<ClInclude Include="Reflectors.h" />
<ClInclude Include="Speech.h" />
<ClInclude Include="SpeechDefault.h" />
<ClInclude Include="SpeechEU.h" />
<ClInclude Include="SpeechNA.h" />
<ClInclude Include="SpeechPacific.h" />
<ClInclude Include="SpeechWW.h" />
<ClInclude Include="StopWatch.h" />
<ClInclude Include="Thread.h" />
<ClInclude Include="Timer.h" />
@ -168,6 +174,7 @@
<ClCompile Include="Network.cpp" />
<ClCompile Include="P25Gateway.cpp" />
<ClCompile Include="Reflectors.cpp" />
<ClCompile Include="Speech.cpp" />
<ClCompile Include="StopWatch.cpp" />
<ClCompile Include="Thread.cpp" />
<ClCompile Include="Timer.cpp" />

View File

@ -50,6 +50,24 @@
<ClInclude Include="Reflectors.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="SpeechDefault.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="SpeechEU.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="SpeechNA.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="SpeechPacific.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="SpeechWW.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Speech.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Conf.cpp">
@ -88,5 +106,8 @@
<ClCompile Include="Reflectors.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Speech.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

320
P25Gateway/Speech.cpp Normal file
View File

@ -0,0 +1,320 @@
/*
* Copyright (C) 2016 by Jonathan Naylor G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "Speech.h"
#include "SpeechDefault.h"
#include "SpeechEU.h"
#include "SpeechNA.h"
#include "SpeechPacific.h"
#include "SpeechWW.h"
#include <cstdio>
#include <cassert>
const unsigned int SRC_ID = 10999U;
const unsigned char STARTICW[] = {
0x00U, 0x02U, 0x02U, 0x0CU, 0x0BU, 0x35U, 0xA3U, 0x00U, 0x00U, 0x00U };
const unsigned char VHDR1[] = {
0x60U, 0x02U, 0x02U, 0x0CU, 0x0BU, 0x35U, 0xA3U, 0x1AU, 0x65U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x08U, 0x00U, 0x00U, 0x00U, 0x00U, 0x02U, 0x2EU };
const unsigned char VHDR2[] = {
0x61U, 0x1DU, 0x35U, 0x34U, 0x37U, 0x0AU, 0x22U, 0x35U, 0x3EU, 0x00U, 0x10U, 0x02U, 0x11U, 0x28U, 0x1DU, 0x21U,
0x03U, 0x1BU, 0x00U, 0x35U, 0x23U, 0x02U };
const unsigned char REC62[] = {
0x62U, 0x02U, 0x02U, 0x0CU, 0x0BU, 0x35U, 0xA3U, 0x1AU, 0x65U, 0x80U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x02U };
const unsigned char REC6B[] = {
0x6BU, 0x02U, 0x02U, 0x0CU, 0x0BU, 0x35U, 0xA3U, 0x1AU, 0x64U, 0x9CU, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x02U };
CSpeech::CSpeech(CNetwork& network, const in_addr& address, unsigned int port) :
m_network(network),
m_address(address),
m_port(port),
m_state(SS_NONE),
m_id(0U),
m_speech(NULL),
m_count(0U),
m_timer(1000U, 1U),
m_stopWatch(),
m_pos(0U),
m_n(0x00U)
{
assert(port > 0U);
}
CSpeech::~CSpeech()
{
}
void CSpeech::announce(unsigned int id)
{
switch (id) {
case 10100U:
m_speech = SPEECH_WW;
m_count = SPEECH_WW_COUNT;
m_id = 10100U;
break;
case 10200U:
m_speech = SPEECH_NA;
m_count = SPEECH_NA_COUNT;
m_id = 10200U;
break;
case 10300U:
m_speech = SPEECH_EU;
m_count = SPEECH_EU_COUNT;
m_id = 10300U;
break;
case 10400U:
m_speech = SPEECH_PACIFIC;
m_count = SPEECH_PACIFIC_COUNT;
m_id = 10400U;
break;
case 9999U:
m_speech = SPEECH_DEFAULT;
m_count = SPEECH_DEFAULT_COUNT;
m_id = 9999U;
break;
default:
m_speech = NULL;
m_count = 0U;
m_id = 0U;
break;
}
}
void CSpeech::eof()
{
if (m_id == 0U)
return;
m_state = SS_WAIT;
m_timer.start();
}
void CSpeech::clock(unsigned int ms)
{
if (m_state == SS_WAIT) {
m_timer.clock(ms);
if (m_timer.isRunning() && m_timer.hasExpired()) {
if (m_id > 0U) {
m_state = SS_RUN;
m_stopWatch.start();
m_timer.stop();
m_pos = 0U;
m_n = 0x62U;
m_network.writeData(STARTICW, 10U, m_address, m_port);
m_network.writeData(VHDR1, 30U, m_address, m_port);
m_network.writeData(VHDR2, 22U, m_address, m_port);
} else {
m_state = SS_NONE;
m_timer.stop();
}
}
}
if (m_state == SS_RUN) {
unsigned int n = m_stopWatch.elapsed() / 20U;
while (m_pos < n) {
unsigned char buffer[22U];
switch (m_n) {
case 0x62U:
::memcpy(buffer, REC62, 22U);
::memcpy(buffer + 10U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 22U, m_address, m_port);
m_n = 0x63U;
break;
case 0x63U:
::memset(buffer, 0x00U, 14U);
buffer[0U] = 0x63U;
buffer[13U] = 0x7AU;
::memcpy(buffer + 1U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 14U, m_address, m_port);
m_n = 0x64U;
break;
case 0x64U:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x64U;
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x65U;
break;
case 0x65U:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x65U;
buffer[1U] = (m_id >> 16) & 0xFFU;
buffer[2U] = (m_id >> 8) & 0xFFU;
buffer[3U] = (m_id >> 0) & 0xFFU;
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x66U;
break;
case 0x66U:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x66U;
buffer[1U] = (SRC_ID >> 16) & 0xFFU;
buffer[2U] = (SRC_ID >> 8) & 0xFFU;
buffer[3U] = (SRC_ID >> 0) & 0xFFU;
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x67U;
break;
case 0x67U:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x67U;
buffer[1U] = 0x28U; // XXX ???
buffer[2U] = 0xD6U; // XXX ???
buffer[3U] = 0x58U; // XXX ???
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x68U;
break;
case 0x68U:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x68U;
buffer[1U] = 0xA0U; // XXX ???
buffer[2U] = 0x81U; // XXX ???
buffer[3U] = 0x9CU; // XXX ???
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x69U;
break;
case 0x69U:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x69U;
buffer[1U] = 0x0EU; // XXX ???
buffer[2U] = 0x74U; // XXX ???
buffer[3U] = 0xBCU; // XXX ???
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x6AU;
break;
case 0x6AU:
::memset(buffer, 0x00U, 16U);
buffer[0U] = 0x6AU;
buffer[3U] = 0x0EU; // XXX ???
buffer[15U] = (m_pos == (m_count - 1U)) ? 0x00U : 0x02U;
::memcpy(buffer + 4U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 16U, m_address, m_port);
m_n = 0x6BU;
break;
case 0x6BU:
::memcpy(buffer, REC6B, 22U);
::memcpy(buffer + 10U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 22U, m_address, m_port);
m_n = 0x6CU;
break;
case 0x6CU:
::memset(buffer, 0x00U, 14U);
buffer[0U] = 0x6CU;
buffer[12U] = 0x02U;
buffer[13U] = 0xF6U;
::memcpy(buffer + 1U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 14U, m_address, m_port);
m_n = 0x6DU;
break;
case 0x6DU:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x6DU;
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x6EU;
break;
case 0x6EU:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x6EU;
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x6FU;
break;
case 0x6FU:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x6FU;
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x70U;
break;
case 0x70U:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x70U;
buffer[1U] = 0x80U;
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x71U;
break;
case 0x71U:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x71U;
buffer[1U] = 0xACU; // XXX ???
buffer[2U] = 0xB8U; // XXX ???
buffer[3U] = 0xA4U; // XXX ???
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x72U;
break;
case 0x72U:
::memset(buffer, 0x00U, 17U);
buffer[0U] = 0x72U;
buffer[1U] = 0x9BU; // XXX ???
buffer[2U] = 0xDCU; // XXX ???
buffer[3U] = 0x75U; // XXX ???
buffer[16U] = 0x02U;
::memcpy(buffer + 5U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 17U, m_address, m_port);
m_n = 0x73U;
break;
default:
::memset(buffer, 0x00U, 16U);
buffer[0U] = 0x73U;
buffer[3U] = 0x06U; // XXX ???
buffer[15U] = (m_pos == (m_count - 1U)) ? 0x00U : 0x02U;
::memcpy(buffer + 4U, m_speech + (m_pos * 11U), 11U);
m_network.writeData(buffer, 16U, m_address, m_port);
m_n = 0x62U;
break;
}
if (m_pos == (m_count - 1U)) {
m_state = SS_NONE;
m_id = 0U;
return;
}
m_pos++;
}
}
}

57
P25Gateway/Speech.h Normal file
View File

@ -0,0 +1,57 @@
/*
* Copyright (C) 2016 by Jonathan Naylor G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#if !defined(SPEECH_H)
#define SPEECH_H
#include "StopWatch.h"
#include "Network.h"
#include "Timer.h"
enum SPEECH_STATE {
SS_NONE,
SS_WAIT,
SS_RUN
};
class CSpeech {
public:
CSpeech(CNetwork& network, const in_addr& address, unsigned int port);
~CSpeech();
void announce(unsigned int id);
void eof();
void clock(unsigned int ms);
private:
CNetwork& m_network;
in_addr m_address;
unsigned int m_port;
SPEECH_STATE m_state;
unsigned int m_id;
const unsigned char* m_speech;
unsigned int m_count;
CTimer m_timer;
CStopWatch m_stopWatch;
unsigned int m_pos;
unsigned char m_n;
};
#endif

120
P25Gateway/SpeechDefault.h Normal file
View File

@ -0,0 +1,120 @@
const unsigned char SPEECH_DEFAULT[] = {
0x08, 0x25, 0x9f, 0xe1, 0xa8, 0xaf, 0x07, 0x63, 0x15, 0x11, 0x3a,
0x74, 0x51, 0x6e, 0x5a, 0x64, 0xca, 0x60, 0x00, 0xd4, 0x3a, 0x5f,
0x5c, 0x62, 0x58, 0x74, 0x09, 0x3f, 0x00, 0x00, 0xd0, 0xf8, 0xda,
0x78, 0xa8, 0x99, 0x30, 0xbc, 0xf7, 0x50, 0x01, 0x2b, 0x29, 0x93,
0xa0, 0x60, 0xf6, 0x36, 0x4e, 0xc6, 0x80, 0x0a, 0xf3, 0x86, 0xf0,
0xa0, 0x7e, 0x21, 0x6c, 0x3e, 0xa5, 0x00, 0x04, 0x3e, 0xa9, 0x59,
0xa0, 0x55, 0x18, 0xda, 0xaa, 0x13, 0xd9, 0x0a, 0xe8, 0x71, 0x98,
0x98, 0x50, 0x49, 0xb8, 0xaf, 0x51, 0x00, 0x06, 0xf1, 0x7d, 0x63,
0x78, 0x44, 0x36, 0xa1, 0x3a, 0x73, 0x75, 0x0a, 0x4b, 0x13, 0x92,
0x94, 0x5e, 0x15, 0xd4, 0x5a, 0x83, 0x00, 0x09, 0xc7, 0x77, 0x31,
0xa0, 0x55, 0x1d, 0x6a, 0xb0, 0xb5, 0x00, 0x07, 0xec, 0x68, 0xc8,
0xc8, 0x5a, 0x99, 0x25, 0xb9, 0x95, 0x00, 0x0b, 0xb1, 0x4a, 0xe9,
0xc8, 0x5b, 0x0a, 0xd7, 0x1c, 0x97, 0x55, 0x2a, 0x3a, 0xd0, 0x79,
0x78, 0x54, 0x10, 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 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x45,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x44,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x45};
const unsigned int SPEECH_DEFAULT_COUNT = 117U;

93
P25Gateway/SpeechEU.h Normal file
View File

@ -0,0 +1,93 @@
const unsigned char SPEECH_EU[] = {
0x90, 0x44, 0xcd, 0xf5, 0x97, 0x20, 0x08, 0x4a, 0x73, 0xa4, 0xd7,
0x94, 0x5a, 0x1e, 0x18, 0x88, 0xcd, 0x00, 0x0c, 0x50, 0xee, 0x32,
0xa0, 0x41, 0x92, 0xff, 0x6c, 0xf7, 0x10, 0x4a, 0xe0, 0x8a, 0x51,
0xa0, 0x59, 0x65, 0x1e, 0x9b, 0x29, 0x58, 0x0b, 0xf8, 0x96, 0x24,
0xa0, 0x45, 0x98, 0xee, 0xc2, 0x9c, 0xc8, 0x0b, 0x70, 0x7c, 0xc5,
0x90, 0x54, 0x46, 0xdd, 0x2e, 0x70, 0x18, 0x8a, 0x37, 0x33, 0x74,
0x90, 0x4c, 0x96, 0x83, 0xd2, 0x2b, 0x98, 0x4a, 0x6f, 0xa0, 0x97,
0x84, 0x51, 0x1a, 0x4f, 0x62, 0x45, 0x98, 0x8b, 0x76, 0x9f, 0xda,
0x90, 0x4c, 0x87, 0xde, 0x46, 0x7c, 0x18, 0x4d, 0x30, 0x80, 0x8f,
0x90, 0x50, 0x4c, 0xb8, 0xee, 0x53, 0x14, 0x08, 0x47, 0xbe, 0x1c,
0x94, 0x48, 0xaa, 0xd5, 0xe2, 0x1c, 0x18, 0x0e, 0x87, 0x85, 0x11,
0x90, 0x44, 0xd4, 0xd9, 0x18, 0x65, 0x00, 0x4a, 0x2f, 0x9e, 0xf6,
0x90, 0x4d, 0x83, 0x8b, 0x55, 0x97, 0x00, 0x07, 0x54, 0x29, 0x5f,
0xa0, 0x13, 0x1b, 0xeb, 0x3b, 0xdc, 0x08, 0x49, 0x2f, 0xa8, 0xd8,
0x90, 0x50, 0x58, 0x9d, 0xe4, 0xa7, 0x10, 0x4e, 0x08, 0x84, 0x67,
0x90, 0x4e, 0x89, 0x7b, 0xd3, 0xfa, 0xbc, 0x4c, 0x2a, 0x21, 0x56,
0xa0, 0x51, 0x5e, 0xeb, 0xa0, 0x96, 0x08, 0x49, 0x70, 0xe2, 0x19,
0x90, 0x50, 0x5e, 0xdd, 0x4d, 0x31, 0x00, 0x0b, 0x47, 0x2a, 0x36,
0x90, 0x40, 0xca, 0xf4, 0xdf, 0xac, 0x08, 0x88, 0x5b, 0xb7, 0x57,
0xa0, 0x1a, 0x03, 0x4f, 0x85, 0x69, 0x1a, 0x4d, 0xf8, 0x11, 0x50,
0x90, 0x57, 0x63, 0x13, 0x9a, 0xda, 0x11, 0x4a, 0x3c, 0x82, 0xff,
0x90, 0x4c, 0x92, 0xc8, 0x71, 0xe5, 0x00, 0x0b, 0xf3, 0xad, 0x16,
0x90, 0x50, 0x4e, 0x9d, 0x6c, 0xa1, 0x18, 0x4d, 0x0d, 0xa8, 0xe7,
0x90, 0x4a, 0x99, 0x7d, 0x98, 0x58, 0x00, 0x06, 0x83, 0x91, 0x0e,
0x84, 0x46, 0xb0, 0x3d, 0x3c, 0xf0, 0x18, 0x89, 0x3b, 0xed, 0x8b,
0x84, 0x28, 0xea, 0x74, 0xe8, 0xbe, 0x18, 0x8a, 0x6c, 0x03, 0xba,
0x90, 0x5c, 0x12, 0xb1, 0xf9, 0x9a, 0x98, 0x4e, 0x58, 0x25, 0x47,
0xa4, 0x45, 0xdc, 0x42, 0x71, 0x74, 0x00, 0x0b, 0x83, 0x44, 0x00,
0x90, 0x54, 0x44, 0x93, 0xcb, 0x51, 0x00, 0x09, 0x3c, 0x95, 0x77,
0x90, 0x40, 0xeb, 0xfd, 0x6b, 0x4a, 0x08, 0x48, 0x32, 0x20, 0x76,
0xa0, 0x5d, 0x00, 0xcd, 0x85, 0x17, 0x10, 0x45, 0xf4, 0x81, 0x19,
0xa0, 0x59, 0x26, 0xea, 0xad, 0x58, 0x90, 0x4e, 0xa0, 0x60, 0x00,
0xa0, 0x60, 0x8e, 0x36, 0x7c, 0xb5, 0x10, 0x4a, 0x1a, 0xb2, 0x5b,
0x90, 0x4c, 0x94, 0xf9, 0x74, 0x6e, 0x00, 0x0c, 0x36, 0xa1, 0x56,
0xa0, 0x13, 0x11, 0xeb, 0xa4, 0xed, 0x88, 0x08, 0xc4, 0xa1, 0x59,
0x90, 0x50, 0x49, 0xdd, 0xaf, 0x76, 0x00, 0x06, 0x7c, 0xa2, 0xfe,
0x90, 0x46, 0xce, 0x48, 0x7e, 0xa0, 0x08, 0x0b, 0x33, 0x0d, 0x9f,
0x90, 0x40, 0xcd, 0xb1, 0x9b, 0x94, 0x14, 0x4e, 0xef, 0xef, 0x9e,
0x90, 0x48, 0x8a, 0xff, 0x7f, 0x08, 0x10, 0x4b, 0x00, 0xbe, 0x57,
0x90, 0x56, 0x47, 0x0c, 0x42, 0x8b, 0x18, 0x48, 0x34, 0x78, 0x3e,
0xa0, 0x55, 0x5d, 0xcb, 0xd9, 0xcd, 0x00, 0x08, 0xbc, 0xfc, 0x15,
0x90, 0x40, 0xca, 0x19, 0x1c, 0x8f, 0x18, 0x4f, 0x35, 0x28, 0x86,
0x90, 0x55, 0x57, 0x81, 0xc9, 0x17, 0x58, 0x4c, 0xf2, 0x23, 0x57,
0xa0, 0x13, 0x12, 0x4b, 0x3f, 0xad, 0x18, 0x49, 0xfc, 0xe3, 0x48,
0x90, 0x4c, 0x94, 0x7d, 0xd5, 0xc7, 0x18, 0x4b, 0x1d, 0xa5, 0x57,
0xa0, 0x64, 0xd0, 0xab, 0x50, 0x85, 0x91, 0x4a, 0x75, 0x9e, 0xc0,
0xa0, 0x41, 0x97, 0xc6, 0x7f, 0x63, 0x5a, 0x4d, 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x00, 0x0b, 0xf1, 0xa7, 0x5d,
0x90, 0x44, 0xd7, 0x59, 0x50, 0x3d, 0x08, 0x4d, 0xf5, 0x2f, 0x56,
0x94, 0x4c, 0xa6, 0xb3, 0xcc, 0x4d, 0x00, 0x0f, 0xc5, 0x44, 0xd9,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x44,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x45,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x44,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x45,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x44,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x45,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x44};
const unsigned int SPEECH_EU_COUNT = 90U;

93
P25Gateway/SpeechNA.h Normal file
View File

@ -0,0 +1,93 @@
const unsigned char SPEECH_NA[] = {
0x94, 0x4c, 0x82, 0x8e, 0x6d, 0x65, 0x00, 0x0e, 0x09, 0x6f, 0xd8,
0x94, 0x58, 0x2e, 0xb8, 0xc6, 0x4d, 0xd8, 0x0f, 0x66, 0xd5, 0x49,
0x90, 0xc0, 0xcc, 0xd1, 0x95, 0x7d, 0x1c, 0x40, 0x6d, 0xa9, 0x86,
0x90, 0x5c, 0x04, 0x85, 0x6e, 0x79, 0x90, 0x4e, 0x54, 0x2e, 0x37,
0x90, 0x23, 0xfc, 0x7f, 0x7a, 0x6b, 0x00, 0x0f, 0x1a, 0x4e, 0x5e,
0xa0, 0x51, 0x1c, 0x2e, 0x99, 0xa9, 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9e, 0x45};
const unsigned int SPEECH_NA_COUNT = 90U;

View File

@ -0,0 +1,84 @@
const unsigned char SPEECH_PACIFIC[] = {
0xa0, 0x03, 0xb3, 0xef, 0xe8, 0x87, 0x00, 0x0c, 0xd5, 0x81, 0x2d,
0x90, 0x55, 0x46, 0x9d, 0x8c, 0x37, 0x18, 0x4c, 0x33, 0xa5, 0xc6,
0x90, 0x4a, 0xab, 0x73, 0x52, 0xee, 0x00, 0x0b, 0x36, 0x2c, 0x65,
0x84, 0x4a, 0xad, 0x0d, 0x34, 0x63, 0x00, 0x07, 0xf3, 0x0d, 0xfe,
0x94, 0x53, 0x48, 0x40, 0x1e, 0xeb, 0x00, 0x0d, 0x92, 0x7d, 0x21,
0x90, 0x4c, 0x02, 0x1b, 0xd6, 0xa2, 0x89, 0x0b, 0x3a, 0x65, 0x6a,
0xa0, 0x74, 0x50, 0xbf, 0x0c, 0x37, 0x80, 0x08, 0x6a, 0x84, 0x0d,
0x90, 0x31, 0x4f, 0xdd, 0x2b, 0x3f, 0x00, 0x0a, 0x6e, 0x2e, 0x9e,
0x50, 0x4c, 0x82, 0xd7, 0xfa, 0x65, 0x00, 0x52, 0x33, 0x1f, 0xcd,
0x4c, 0x58, 0x1d, 0x41, 0x4d, 0x4c, 0x00, 0x5a, 0xab, 0x70, 0x6c,
0xc4, 0x5a, 0x4a, 0x56, 0xd8, 0xc5, 0x80, 0x0d, 0x38, 0x4a, 0xb5,
0xa0, 0x51, 0x13, 0xe6, 0xb7, 0x3d, 0x52, 0x0c, 0xfe, 0x00, 0x1a,
0x90, 0x44, 0xe3, 0x7d, 0x5b, 0xdd, 0xd8, 0x4a, 0x1d, 0xae, 0x5d,
0x90, 0x5a, 0x0c, 0x5f, 0x83, 0x44, 0x00, 0x08, 0x08, 0x90, 0xa6,
0x90, 0x45, 0xc6, 0xcc, 0xde, 0xbd, 0x00, 0x0e, 0x97, 0x26, 0x3d,
0x90, 0x40, 0xe8, 0xf5, 0x5b, 0x40, 0x00, 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xef, 0xc8, 0x2e, 0x00, 0x66, 0x8e, 0x6f, 0xa3,
0x5c, 0x54, 0x24, 0xba, 0xc1, 0x6d, 0x00, 0x38, 0x16, 0xdf, 0x4e,
0x50, 0x46, 0xd2, 0x5c, 0xdc, 0x5d, 0x00, 0x67, 0x9f, 0x93, 0x71,
0xa0, 0x51, 0x12, 0x60, 0xad, 0xd9, 0x00, 0x0d, 0xfd, 0xb1, 0x10,
0xa0, 0x59, 0x0f, 0xee, 0xba, 0x45, 0x89, 0x4f, 0x4d, 0x8e, 0x91,
0xa0, 0x5d, 0x00, 0x2a, 0xb4, 0x3b, 0x98, 0x4b, 0xb6, 0xb3, 0x78,
0x84, 0x54, 0x17, 0xfe, 0x9a, 0x94, 0x00, 0x0f, 0x38, 0xfd, 0x5b,
0x90, 0x4e, 0x80, 0x79, 0x9a, 0x9a, 0x80, 0x0e, 0x22, 0x34, 0xa6,
0x90, 0x44, 0xc7, 0x0d, 0x7e, 0x6e, 0x18, 0x4a, 0x7d, 0x29, 0x57,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x44,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x45,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x44,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x45,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x44,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x45};
const unsigned int SPEECH_PACIFIC_COUNT = 81U;

93
P25Gateway/SpeechWW.h Normal file
View File

@ -0,0 +1,93 @@
const unsigned char SPEECH_WW[] = {
0x9c, 0x48, 0x9a, 0x6b, 0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35, 0x00, 0x0c, 0xfc, 0x1a, 0x1c,
0x90, 0x50, 0x4e, 0xdd, 0xc7, 0xbe, 0x00, 0x0e, 0x1b, 0x27, 0x75,
0xa0, 0x5d, 0x24, 0x6b, 0x85, 0x1d, 0x98, 0x4d, 0x70, 0xa2, 0x58,
0xa0, 0x26, 0xc4, 0xc3, 0x5b, 0x99, 0x00, 0x09, 0xbe, 0x24, 0xed,
0x94, 0x4d, 0xa6, 0x3d, 0xa4, 0x76, 0x88, 0x4e, 0x3b, 0xfc, 0x38,
0x04, 0x0c, 0xfd, 0x7b, 0xfb, 0x7d, 0xf2, 0x7b, 0x3d, 0x9e, 0x44};
const unsigned int SPEECH_WW_COUNT = 90U;