/* * sinetabx.h - for Xelatec Private Mobile Radio Processes * * All Rights Reserved. Copyright (C)2007, Xelatec, LLC * * 20070808 1235 Steven Henke, W9SH, sph@xelatec.com * * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * This version may be optionally licenced under the GNU LGPL licence. * * A license has been granted to Digium (via disclaimer) for the use of * this code. * */ /*! \file * * \brief Private Land Mobile Radio Channel Voice and Signaling Processor * * \author Steven Henke, W9SH Xelatec, LLC */ #ifndef XPMR_SINETABX_H #define XPMR_SINETABX_H 1 #define SAMPLES_PER_SINE 256 static const i16 sinetablex[]={ 0, // 0 804, // 1 1608, // 2 2410, // 3 3212, // 4 4011, // 5 4808, // 6 5602, // 7 6393, // 8 7179, // 9 7962, // 10 8739, // 11 9512, // 12 10278, // 13 11039, // 14 11793, // 15 12539, // 16 13279, // 17 14010, // 18 14732, // 19 15446, // 20 16151, // 21 16846, // 22 17530, // 23 18204, // 24 18868, // 25 19519, // 26 20159, // 27 20787, // 28 21403, // 29 22005, // 30 22594, // 31 23170, // 32 23731, // 33 24279, // 34 24811, // 35 25329, // 36 25832, // 37 26319, // 38 26790, // 39 27245, // 40 27683, // 41 28105, // 42 28510, // 43 28898, // 44 29268, // 45 29621, // 46 29956, // 47 30273, // 48 30571, // 49 30852, // 50 31113, // 51 31356, // 52 31580, // 53 31785, // 54 31971, // 55 32137, // 56 32285, // 57 32412, // 58 32521, // 59 32609, // 60 32678, // 61 32728, // 62 32757, // 63 32767, // 64 32757, // 65 32728, // 66 32678, // 67 32609, // 68 32521, // 69 32412, // 70 32285, // 71 32137, // 72 31971, // 73 31785, // 74 31580, // 75 31356, // 76 31113, // 77 30852, // 78 30571, // 79 30273, // 80 29956, // 81 29621, // 82 29268, // 83 28898, // 84 28510, // 85 28105, // 86 27683, // 87 27245, // 88 26790, // 89 26319, // 90 25832, // 91 25329, // 92 24811, // 93 24279, // 94 23731, // 95 23170, // 96 22594, // 97 22005, // 98 21403, // 99 20787, // 100 20159, // 101 19519, // 102 18868, // 103 18204, // 104 17530, // 105 16846, // 106 16151, // 107 15446, // 108 14732, // 109 14010, // 110 13279, // 111 12539, // 112 11793, // 113 11039, // 114 10278, // 115 9512, // 116 8739, // 117 7962, // 118 7179, // 119 6393, // 120 5602, // 121 4808, // 122 4011, // 123 3212, // 124 2410, // 125 1608, // 126 804, // 127 0, // 128 -804, // 129 -1608, // 130 -2410, // 131 -3212, // 132 -4011, // 133 -4808, // 134 -5602, // 135 -6393, // 136 -7179, // 137 -7962, // 138 -8739, // 139 -9512, // 140 -10278, // 141 -11039, // 142 -11793, // 143 -12539, // 144 -13279, // 145 -14010, // 146 -14732, // 147 -15446, // 148 -16151, // 149 -16846, // 150 -17530, // 151 -18204, // 152 -18868, // 153 -19519, // 154 -20159, // 155 -20787, // 156 -21403, // 157 -22005, // 158 -22594, // 159 -23170, // 160 -23731, // 161 -24279, // 162 -24811, // 163 -25329, // 164 -25832, // 165 -26319, // 166 -26790, // 167 -27245, // 168 -27683, // 169 -28105, // 170 -28510, // 171 -28898, // 172 -29268, // 173 -29621, // 174 -29956, // 175 -30273, // 176 -30571, // 177 -30852, // 178 -31113, // 179 -31356, // 180 -31580, // 181 -31785, // 182 -31971, // 183 -32137, // 184 -32285, // 185 -32412, // 186 -32521, // 187 -32609, // 188 -32678, // 189 -32728, // 190 -32757, // 191 -32767, // 192 -32757, // 193 -32728, // 194 -32678, // 195 -32609, // 196 -32521, // 197 -32412, // 198 -32285, // 199 -32137, // 200 -31971, // 201 -31785, // 202 -31580, // 203 -31356, // 204 -31113, // 205 -30852, // 206 -30571, // 207 -30273, // 208 -29956, // 209 -29621, // 210 -29268, // 211 -28898, // 212 -28510, // 213 -28105, // 214 -27683, // 215 -27245, // 216 -26790, // 217 -26319, // 218 -25832, // 219 -25329, // 220 -24811, // 221 -24279, // 222 -23731, // 223 -23170, // 224 -22594, // 225 -22005, // 226 -21403, // 227 -20787, // 228 -20159, // 229 -19519, // 230 -18868, // 231 -18204, // 232 -17530, // 233 -16846, // 234 -16151, // 235 -15446, // 236 -14732, // 237 -14010, // 238 -13279, // 239 -12539, // 240 -11793, // 241 -11039, // 242 -10278, // 243 -9512, // 244 -8739, // 245 -7962, // 246 -7179, // 247 -6393, // 248 -5602, // 249 -4808, // 250 -4011, // 251 -3212, // 252 -2410, // 253 -1608, // 254 -804, // 255 }; #endif /* !XPMR_SINETABX_H */