music mixer code

Dependencies:   mbed wave_player mbed-rtos SimpleRGB 4DGL-uLCD-SE PinDetect

dixiehorn.h

Committer:
vamsatoor
Date:
2019-12-09
Revision:
10:5f5e199e1b9c

File content as of revision 10:5f5e199e1b9c:

/**********************************************************************
* Written by WAVToCode
* Date:             Sat Dec 07 05:20:10 PM
* FileName:         dixiehorn_8k_8bit_unsigned.C
* Interleaved:      N/A
* Signed:           No
* No. of channels:  1
* No. of samples:   4424
* Bits/Sample:      8
**********************************************************************/

#define NUM_ELEMENTS 4424

const unsigned char data[NUM_ELEMENTS] = {
128, 126, 128, 126, 128, 128, 126, 128, /* 0-7 */
127, 126, 126, 126, 127, 130, 127, 129, /* 8-15 */
127, 136, 127, 114, 118, 118, 126, 142, /* 16-23 */
138, 132, 140, 120, 120, 116, 111, 110, /* 24-31 */
128, 144, 139, 153, 144, 113, 115, 125, /* 32-39 */
111,  99, 126, 139, 133, 174, 183, 125, /* 40-47 */
 82, 117, 105,  62,  98, 142, 127, 163, /* 48-55 */
238, 151,  41, 124, 121,  51,  82, 143, /* 56-63 */
129, 164,  34, 184,  60, 106, 138,  83, /* 64-71 */
 33, 102, 139, 140,  30, 212,  56,  87, /* 72-79 */
122, 108,  17,  30, 145, 149, 255,  34, /* 80-87 */
 60,  52, 150, 133,  39, 217, 112, 156, /* 88-95 */
221,  98,  88,  25, 152, 127,  79, 200, /* 96-103 */
 41, 152, 206, 106, 186,  25, 109, 159, /* 104-111 */
123, 254,  12, 120, 185,  83, 243,  43, /* 112-119 */
 93, 139, 160,  64, 229,  71, 144,  29, /* 120-127 */
 50,  72,  80, 144, 154, 117, 245,  39, /* 128-135 */
121, 220,  80, 126,  53, 158, 143, 143, /* 136-143 */
 17,   3, 110, 188,  73, 194,  26, 130, /* 144-151 */
159, 166,  69, 229,  72, 152,  41,  15, /* 152-159 */
 39,  93, 151, 164, 135, 237,  33, 127, /* 160-167 */
251,  70,  99,  49, 141, 156, 175,  25, /* 168-175 */
241,  91, 195,  81, 182,  14, 118, 147, /* 176-183 */
179,  87, 230,  68, 142,  49,   3,  43, /* 184-191 */
 99, 139, 173, 136, 240,  40, 125, 254, /* 192-199 */
 68,  84,  72, 136, 151, 186,   9,   1, /* 200-207 */
111, 176,  73, 177,  16, 133, 135, 169, /* 208-215 */
 74, 232,  82, 152,  38, 254,  42,  95, /* 216-223 */
145, 162, 124, 231,  47, 122, 234,  54, /* 224-231 */
 96,  57, 139, 163, 157,  22,  23, 112, /* 232-239 */
177,  66, 173,  49, 123, 142, 173,  68, /* 240-247 */
255,  88, 149,  42, 249,  52, 106, 126, /* 248-255 */
173, 126, 251,  49, 123, 248,  52,  85, /* 256-263 */
 73, 144, 140, 158,  17,  17, 109, 188, /* 264-271 */
 65, 162,  50, 146, 138, 167,  59, 244, /* 272-279 */
 86, 162,  60, 236,  31, 110, 146, 173, /* 280-287 */
106, 223,  43, 132,  13,  46,  62,  67, /* 288-295 */
163, 163, 148, 242,   7, 113, 207,  78, /* 296-303 */
133,  29, 149, 153, 181,  50, 230,  91, /* 304-311 */
161,  59, 230,  17, 112, 148, 171, 116, /* 312-319 */
225,  52, 123, 255,  44,  57,  72, 140, /* 320-327 */
153, 165,   4,  17, 104, 194,  76, 132, /* 328-335 */
 34, 138, 135, 184,  61, 233,  87, 145, /* 336-343 */
 47, 228,  22, 121, 144, 164, 119, 234, /* 344-351 */
 63, 139, 252,  37,  61,  81, 152, 155, /* 352-359 */
169,   4,  13, 126, 207,  66, 137,  19, /* 360-367 */
143, 151, 167,  48, 228,  96, 161,  53, /* 368-375 */
228,  24, 113, 141, 180, 115, 227,  54, /* 376-383 */
138,   8,  47,  60,  65, 149, 157, 150, /* 384-391 */
248,   8, 120, 205,  66, 138,  29, 153, /* 392-399 */
149, 166,  45, 222,  94, 174,  46, 240, /* 400-407 */
 24, 118, 173, 167, 106, 205,  29, 158, /* 408-415 */
 12,  45,  73,  57, 173, 170, 145, 243, /* 416-423 */
239, 123, 212,  64, 161,  25, 135, 174, /* 424-431 */
172,  46, 213,  76, 184,  52, 240,  23, /* 432-439 */
 96, 186, 175,  99, 193,   2, 165,  23, /* 440-447 */
 49,  72,  59, 171, 183, 142, 213, 202, /* 448-455 */
138, 246,  67, 164,   9, 140, 202, 179, /* 456-463 */
 19, 160,  74, 219,  54, 254,  19,  80, /* 464-471 */
200, 194,  78, 157, 239, 199,  34,  54, /* 472-479 */
 87,  27, 174, 206, 149, 202, 180, 146, /* 480-487 */
254,  62, 194,  20, 120, 205, 189,  10, /* 488-495 */
147,  68, 226,  39,  20,  38,  60, 192, /* 496-503 */
205,  81, 147, 237, 211,  19,  52, 129, /* 504-511 */
 24, 171, 208, 140, 197, 177, 136, 241, /* 512-519 */
 56, 221,  28, 100, 207, 189,  17, 173, /* 520-527 */
 66, 227,  38,  19,  65,  50, 185, 199, /* 528-535 */
 94, 177, 233, 183,  12,  56, 154,  26, /* 536-543 */
129, 208, 148, 212, 187, 123,  12,  65, /* 544-551 */
222,  36,  79, 205, 195,   9, 152,  48, /* 552-559 */
246,  40,  28,  99,  36, 160, 210,  68, /* 560-567 */
158, 231, 188,  46,  54, 180,  32, 110, /* 568-575 */
208, 141, 201, 185, 127,  10,  51, 247, /* 576-583 */
 90,  69, 157, 184,   0, 165,  65, 231, /* 584-591 */
 44,  42, 155,  36, 113, 202,  71, 170, /* 592-599 */
  3, 190,  17,  59, 210,  60,  88, 172, /* 600-607 */
125, 192, 209, 126, 239,  49,  11, 109, /* 608-615 */
 51, 142, 168,   2, 197,  73, 226,  37, /* 616-623 */
 45, 160,  49, 110, 167,  61, 191,  11, /* 624-631 */
179,   4,  41, 242,  79,  71, 153, 101, /* 632-639 */
208, 243, 139, 255,  44,   5, 113,  51, /* 640-647 */
142, 147, 240, 200,  77, 224,  31,  19, /* 648-655 */
178,  63, 106, 163,  35, 188,  28, 184, /* 656-663 */
 18,  27, 223,  87,  71, 162, 100, 195, /* 664-671 */
233, 129, 237,  23,   1, 148,  66, 129, /* 672-679 */
139, 237, 200,  78, 213,  18,  29, 191, /* 680-687 */
 61,  89, 157,  39, 200,  36, 178,  15, /* 688-695 */
 37, 235,  94,  72, 153,  96, 207, 238, /* 696-703 */
122, 234,  21,   6, 146,  52, 123, 124, /* 704-711 */
236, 230,  78, 205,  30,  20, 179,  63, /* 712-719 */
 99, 159,  39, 204,  24, 147, 253,  29, /* 720-727 */
230, 105,  79, 154,  78, 211,  10, 109, /* 728-735 */
233,  37, 244, 132,  61, 141, 139, 239, /* 736-743 */
246,  78, 185,  29,   5, 171,  70, 110, /* 744-751 */
165,  22, 221,  51, 147,  12,  22, 199, /* 752-759 */
 70,  67, 180,  73, 222,  32,  97, 239, /* 760-767 */
 27, 220, 136,  62, 149, 135, 228,   1, /* 768-775 */
 79, 186,  40, 249, 163,  58, 102, 166, /* 776-783 */
 27, 255,  66, 150,  22,   1, 191,  98, /* 784-791 */
 67, 165,  69, 225,  47,  99, 238,  26, /* 792-799 */
214, 125,  47, 151, 105, 224,  45,  94, /* 800-807 */
214,  44, 214, 163,  62, 101, 144, 255, /* 808-815 */
 12,  71, 146,  25, 245, 193,  91,  74, /* 816-823 */
150,  30, 238,  72, 117, 255,  23, 203, /* 824-831 */
137,  62, 144,  76, 229,  62,  99, 193, /* 832-839 */
 35, 220, 158,  79, 101,  94, 237,  45, /* 840-847 */
106, 160,  17, 255, 179,  88,  63,  98, /* 848-855 */
  9,  20, 104, 127, 254,  21, 195, 137, /* 856-863 */
 71, 101,  23, 250,  78,  98, 208,  29, /* 864-871 */
246, 162,  78,  88,  50,   6,  69,  96, /* 872-879 */
179,   9, 248, 183, 107,  93,  63,   4, /* 880-887 */
 36,  90, 140, 239,  16, 206, 128,  81, /* 888-895 */
 53,   8,  31,  88, 118, 218,  13, 212, /* 896-903 */
140,  83,  61,  14,  28,  75,  90, 186, /* 904-911 */
 14, 238, 171, 121,  86,  33,  27,  68, /* 912-919 */
 87, 154, 247,   5, 178, 120, 103,  52, /* 920-927 */
 30,  70,  75, 115, 221, 253, 200, 150, /* 928-935 */
119,  71,  34,  48,  62, 104, 207,   7, /* 936-943 */
237, 154, 115,  77,  27,  66,  79,  90, /* 944-951 */
161, 225, 230, 165, 123,  90,  51,  58, /* 952-959 */
 68,  68, 132, 218, 239, 194, 139,  99, /* 960-967 */
 45,  42,  77,  85, 123, 193, 224, 199, /* 968-975 */
144, 113,  75,  56,  96,  88,  86, 156, /* 976-983 */
212, 196, 158, 140,  96,  48,  68,  80, /* 984-991 */
 84, 142, 200, 203, 159, 139,  98,  43, /* 992-999 */
 65,  99, 105, 135, 189, 209, 168, 138, /* 1000-1007 */
116,  61,  60,  96, 101, 124, 178, 205, /* 1008-1015 */
179, 136, 115,  70,  60,  99, 109, 127, /* 1016-1023 */
171, 197, 179, 137, 128, 104,  73,  99, /* 1024-1031 */
104, 108, 141, 186, 197, 160, 121, 106, /* 1032-1039 */
 72,  82, 109, 111, 139, 179, 188, 153, /* 1040-1047 */
128, 107,  79,  84, 109, 106, 131, 155, /* 1048-1055 */
170, 176, 136, 117,  78,  59,  91, 108, /* 1056-1063 */
138, 161, 187, 189, 147, 106,  65,  48, /* 1064-1071 */
 78, 113, 149, 167, 162, 172, 158, 138, /* 1072-1079 */
 98,  59,  68, 102, 140, 154, 152, 178, /* 1080-1087 */
172, 144, 114,  73,  64,  81, 116, 152, /* 1088-1095 */
157, 173, 184, 151, 125,  83,  58,  78, /* 1096-1103 */
103, 131, 140, 154, 187, 171, 139, 101, /* 1104-1111 */
 62,  65,  91, 135, 155, 148, 177, 170, /* 1112-1119 */
140, 113,  72,  73,  92, 132, 143, 130, /* 1120-1127 */
154, 162, 149, 130, 102,  79,  86, 113, /* 1128-1135 */
137, 145, 151, 174, 166, 126,  89,  67, /* 1136-1143 */
 89, 125, 144, 141, 125, 157, 173, 139, /* 1144-1151 */
121,  94,  92, 117, 139, 131, 109, 143, /* 1152-1159 */
180, 168, 136,  90,  72, 104, 134, 144, /* 1160-1167 */
122, 130, 166, 173, 131,  80,  73, 103, /* 1168-1175 */
153, 163, 139, 118, 155, 172, 132, 110, /* 1176-1183 */
 78,  87, 131, 154, 139, 108, 152, 166, /* 1184-1191 */
128, 109,  73,  86, 117, 149, 152, 129, /* 1192-1199 */
132, 160, 174, 155, 103,  72,  93, 109, /* 1200-1207 */
117,  91, 115, 174, 197, 167, 117,  87, /* 1208-1215 */
 89, 101, 110, 101,  87, 124, 151, 155, /* 1216-1223 */
161, 141, 133, 140, 116,  93,  60,  69, /* 1224-1231 */
128, 147, 151, 139, 137, 177, 175, 180, /* 1232-1239 */
124,  73, 101,  88,  71,  80, 114, 169, /* 1240-1247 */
230, 248, 187, 133, 138,  97,  40,  10, /* 1248-1255 */
 27,  78, 163, 226, 213, 199, 204, 216, /* 1256-1263 */
148,  48, 214, 178,  11, 112, 191, 229, /* 1264-1271 */
238,  11,  32,   7, 137, 227, 164, 144, /* 1272-1279 */
206,  69, 151,   9,  68,  43,  12,  38, /* 1280-1287 */
172, 243, 223, 209, 202,  31, 161, 235, /* 1288-1295 */
  4, 217, 217,  73, 200, 220, 220, 191, /* 1296-1303 */
171,  35, 172, 226,   7, 246, 216,  96, /* 1304-1311 */
235, 228, 250, 227, 170,  20, 138, 187, /* 1312-1319 */
  0,   3, 203,  70, 253,  33,  53,   6, /* 1320-1327 */
174,  38, 154, 133, 194,   0, 205,  51, /* 1328-1335 */
 35,  63,  54,  11, 176,  55, 157, 101, /* 1336-1343 */
168, 251, 171,  13,  30,  62,  50,  31, /* 1344-1351 */
156,  25, 187, 125, 152, 247, 172, 227, /* 1352-1359 */
 32, 104,  63,  60, 161,  18, 205, 130, /* 1360-1367 */
116, 228, 173, 199,  56, 141,  55,  93, /* 1368-1375 */
197, 221, 196, 160,  76, 188, 181, 145, /* 1376-1383 */
 43, 205,  30,  95, 240, 189, 156, 181, /* 1384-1391 */
 73, 160, 183, 114,   1, 234,  25,  94, /* 1392-1399 */
 30, 163,  98, 211, 108, 132, 197, 134, /* 1400-1407 */
229,   9,  86,  82,  68, 161,  35, 223, /* 1408-1415 */
147, 118, 209, 145, 171,  55, 156,  63, /* 1416-1423 */
110, 193, 226, 224, 187,  98, 174, 153, /* 1424-1431 */
116,  34, 212,  45, 106, 245, 169, 157, /* 1432-1439 */
231,  96, 130, 184, 119, 225,  24,  67, /* 1440-1447 */
 75,  50, 153,  72, 233, 115,  85, 185, /* 1448-1455 */
149, 180,  54, 137,  55,  95, 171, 239, /* 1456-1463 */
225, 169,  73, 180, 182, 136,  40, 223, /* 1464-1471 */
 50, 109, 239, 171, 156, 230,  82, 134, /* 1472-1479 */
201, 117, 237,  13,  85,  99,  51, 161, /* 1480-1487 */
 93, 247, 129, 109, 205, 143, 186,  42, /* 1488-1495 */
107,  68, 112, 184,   1, 245, 168,  84, /* 1496-1503 */
198, 173, 129,  38, 202,  39, 124,  12, /* 1504-1511 */
175, 169, 241,  78, 127, 201, 130, 230, /* 1512-1519 */
 13,  67,  97,  59, 157,  85,   1, 129, /* 1520-1527 */
 99, 205, 151, 181,  45, 117,  59, 108, /* 1528-1535 */
171, 248, 231, 177,  77, 177, 164, 137, /* 1536-1543 */
 28, 178,  40, 117, 239, 189, 191, 221, /* 1544-1551 */
 91, 165, 200, 109, 234, 242,  41,  93, /* 1552-1559 */
 56, 161,  95, 245, 113, 115, 208, 113, /* 1560-1567 */
174,  32,  86,  57, 102, 180,   6, 239, /* 1568-1575 */
166,  86, 185, 154, 126,  30, 173,  30, /* 1576-1583 */
118, 240, 193, 192, 221,  88, 165, 189, /* 1584-1591 */
111, 253, 248,  38, 110,  64, 158, 107, /* 1592-1599 */
254, 105, 110, 206, 121, 194,  30,  87, /* 1600-1607 */
 74, 115, 181,  18, 253, 157,  80, 194, /* 1608-1615 */
151, 139,  32, 151,  35, 134, 237, 196, /* 1616-1623 */
205, 212,  71, 156, 178, 122, 249, 223, /* 1624-1631 */
 51, 115,  48, 173, 139, 239,  92, 123, /* 1632-1639 */
192, 114, 206,  16,  88,  77,  95, 177, /* 1640-1647 */
 49,   5, 138,  89, 184, 131, 155,  46, /* 1648-1655 */
142,  35, 117, 222, 217, 220, 200,  77, /* 1656-1663 */
146, 154, 137,  26, 224,  33, 110,  38, /* 1664-1671 */
163, 142, 254,  95, 106, 178, 132, 231, /* 1672-1679 */
 28,  70,  75, 100, 172,  43,  10, 146, /* 1680-1687 */
 79, 166, 146, 187,  47, 141,  34, 118, /* 1688-1695 */
221, 218, 228, 201,  63, 146, 167, 148, /* 1696-1703 */
 31, 216,  15, 108,  34, 170, 157, 241, /* 1704-1711 */
 82, 114, 183, 137, 246,  10,  44,  68, /* 1712-1719 */
 96, 163,  64,   5, 128,  87, 190, 147, /* 1720-1727 */
187,  46, 108,  30, 122, 210, 228, 227, /* 1728-1735 */
177,  76, 171, 169, 149,  41, 188,  15, /* 1736-1743 */
123,  23, 168, 158, 223,  82, 139, 189, /* 1744-1751 */
136, 252,   6,  39,  93,  92, 163,  58, /* 1752-1759 */
240, 111,  90, 183, 143, 200,  33, 109, /* 1760-1767 */
 59, 130, 197, 240, 215, 147,  66, 165, /* 1768-1775 */
163, 160,  36, 184,  36, 133,   6, 178, /* 1776-1783 */
164, 192,  65, 139, 183, 144,   6, 251, /* 1784-1791 */
 51, 110,  80, 160,  91, 221,  86, 105, /* 1792-1799 */
193, 138, 220,  35,  89,  74, 131, 184, /* 1800-1807 */
 11, 234, 122,  70, 185, 148, 171,  46, /* 1808-1815 */
157,  46, 141, 242, 194, 203, 176,  53, /* 1816-1823 */
152, 172, 128,  25, 241,  38, 127,  61, /* 1824-1831 */
159, 126, 224,  64, 110, 186, 128, 231, /* 1832-1839 */
 40,  80,  81, 114, 174,  30, 236, 121, /* 1840-1847 */
 71, 181, 151, 181,  54, 154,  51, 138, /* 1848-1855 */
221, 209, 210, 169,  59, 159, 162, 141, /* 1856-1863 */
 30, 221,  45, 126,  33, 158, 151, 221, /* 1864-1871 */
 74, 131, 177, 126, 242,  15,  59,  85, /* 1872-1879 */
 94, 159,  70, 244, 104, 107, 189, 134, /* 1880-1887 */
201,  41, 106,  46, 131, 198, 247, 239, /* 1888-1895 */
151,  74, 176, 156, 154,  49, 182,  23, /* 1896-1903 */
131,   0, 185, 201, 203,  61, 145, 177, /* 1904-1911 */
128,  15,   3,  26,  91,  58, 152, 119, /* 1912-1919 */
240,  75, 106, 198, 134, 223,  62,  72, /* 1920-1927 */
 48, 112, 164,  29, 244, 125,  73, 189, /* 1928-1935 */
165, 183,  50, 152,  30, 118, 222, 206, /* 1936-1943 */
209, 176,  70, 168, 179, 145,  26, 220, /* 1944-1951 */
 35, 104,  22, 163, 148, 219,  85, 139, /* 1952-1959 */
186, 134, 227,  15,  72,  72,  73, 159, /* 1960-1967 */
 72, 245, 126, 125, 190, 134, 190,  36, /* 1968-1975 */
121,  47, 111, 189, 255, 228, 152,  97, /* 1976-1983 */
181, 158, 161,  42, 188,  33, 112, 235, /* 1984-1991 */
185, 192, 195,  79, 143, 171, 143,   8, /* 1992-1999 */
  6,  51,  89,  31, 152, 127, 220, 100, /* 2000-2007 */
129, 181, 141, 234,  38,  79,  62,  66, /* 2008-2015 */
150,  51, 217, 118, 114, 197, 169, 213, /* 2016-2023 */
 54, 131,  42,  99, 182, 235, 204, 145, /* 2024-2031 */
 99, 183, 175, 182,  34, 184,  36,  96, /* 2032-2039 */
223, 185, 173, 181, 108, 174, 187, 160, /* 2040-2047 */
 12, 232,  59,  92,   6, 155, 114, 197, /* 2048-2055 */
125, 171, 184, 146, 236,  27,  90,  75, /* 2056-2063 */
 65, 157,  47, 209, 142, 146, 195, 157, /* 2064-2071 */
209,  58, 147,  45,  78, 175, 230, 170, /* 2072-2079 */
159, 130, 173, 167, 187,  54, 203,  46, /* 2080-2087 */
 76, 203, 184, 129, 166, 134, 155, 164, /* 2088-2095 */
173,  34, 255,  57,  61, 240, 160,  87, /* 2096-2103 */
190, 141, 166, 199, 174,  11,  14,  66, /* 2104-2111 */
 48,  17, 148,  38, 188, 152, 158, 222, /* 2112-2119 */
183, 246,  48, 112,  62,  49, 166,   3, /* 2120-2127 */
187, 164, 161, 223, 175, 210,  42, 150, /* 2128-2135 */
 42,  50, 187, 206, 138, 180, 149, 202, /* 2136-2143 */
197, 184,  42, 210,  54,  48, 216, 190, /* 2144-2151 */
 79, 177, 149, 186, 205, 187,  42, 244, /* 2152-2159 */
 85,  53, 226, 187,  54, 169, 155, 165, /* 2160-2167 */
204, 172,  12,  11, 101,  39, 231, 179, /* 2168-2175 */
  9, 156, 180, 160, 202, 199,   1,  33, /* 2176-2183 */
156,  43, 221, 182, 237, 111, 180, 172, /* 2184-2191 */
213, 213,   3,  34, 169,  68, 229, 168, /* 2192-2199 */
218,  76, 166, 175, 197, 192, 224,  34, /* 2200-2207 */
205,  90, 248, 181, 218,  68, 183, 197, /* 2208-2215 */
194, 194, 208,  13, 214, 104,   6, 195, /* 2216-2223 */
219,  57, 184, 204, 179, 179, 178, 234, /* 2224-2231 */
218, 116,  19, 211, 240,  57, 167, 199, /* 2232-2239 */
165, 170, 172, 232, 228, 138,  45, 222, /* 2240-2247 */
236,  33, 144, 202, 156, 156, 177, 216, /* 2248-2255 */
228, 168,  74, 250, 246,  41, 132, 196, /* 2256-2263 */
174, 156, 161, 198, 213, 163, 100,  15, /* 2264-2271 */
246,  39, 119, 193, 188, 169, 179, 197, /* 2272-2279 */
210, 173,  92,   7, 236,  28, 121, 200, /* 2280-2287 */
195, 172, 162, 171, 206, 176, 105,  25, /* 2288-2295 */
241,  39, 127, 203, 221, 197, 175, 173, /* 2296-2303 */
180, 147,  93,  26, 233,   4,  87, 184, /* 2304-2311 */
222, 209, 191, 182, 185, 156, 107,  40, /* 2312-2319 */
254,  26,  96, 173, 190, 179, 159, 159, /* 2320-2327 */
171, 163, 131,  81,  52,  58, 107, 164, /* 2328-2335 */
191, 172, 128, 112, 120, 118, 125, 115, /* 2336-2343 */
 84,  92, 141, 180, 200, 177, 137, 119, /* 2344-2351 */
 97,  87,  95,  78,  65,  95, 138, 200, /* 2352-2359 */
244, 230, 178, 137, 105,  99, 100,  52, /* 2360-2367 */
253,  27,  89, 147, 216, 227, 208, 201, /* 2368-2375 */
173, 138, 111,  56,  37,  41,  41,  74, /* 2376-2383 */
157, 192, 184, 185, 166, 175, 188, 146, /* 2384-2391 */
 92,  55,  64, 129, 149, 105,  82, 107, /* 2392-2399 */
122, 136, 130, 123, 133, 148, 185, 205, /* 2400-2407 */
160, 160, 178,  95,  11, 249,  20,  79, /* 2408-2415 */
127, 125, 167,   1,  14,  13, 223, 101, /* 2416-2423 */
 69,  54, 254, 232, 255,  29, 150, 253, /* 2424-2431 */
229, 244,   1, 181, 155, 134, 253,  22, /* 2432-2439 */
115,  22,  11, 107, 135, 225,  14, 174, /* 2440-2447 */
155, 174, 118, 149, 150,  25,  71, 179, /* 2448-2455 */
 83,  64, 116,  76, 142, 176, 123, 138, /* 2456-2463 */
165, 142, 207, 195, 100, 172, 208,  71, /* 2464-2471 */
254,  36,  22,  67, 145, 149, 164, 200, /* 2472-2479 */
205,  27, 216,  68, 113, 145,  22, 224, /* 2480-2487 */
 38,  54, 115, 177, 200, 240, 243, 191, /* 2488-2495 */
234, 147, 231,  63, 142,  26,   2,  70, /* 2496-2503 */
111, 195, 211, 206, 193, 133, 104, 151, /* 2504-2511 */
 97, 245, 108, 204,  80,  60, 107, 117, /* 2512-2519 */
154,  96, 130, 153,  90, 118, 187, 161, /* 2520-2527 */
 78, 160, 217,  92,  10,  18,  29,  70, /* 2528-2535 */
 45, 141, 237, 153, 170,  18, 210,  72, /* 2536-2543 */
145, 161,  20, 221,   8,  47, 119, 109, /* 2544-2551 */
187,  49, 201, 176,   0, 184,  23,  88, /* 2552-2559 */
182,  78,  10,  81, 102, 164, 156, 192, /* 2560-2567 */
 45, 135,  68, 154, 138,  36,  78, 216, /* 2568-2575 */
124,  29, 107,  97, 138, 123, 101,   0, /* 2576-2583 */
126,  39, 171, 180,  86,  89, 225, 150, /* 2584-2591 */
 30,  88,  36,  38,  84,  73, 243, 195, /* 2592-2599 */
 91, 207, 240, 131,  98, 216, 115, 235, /* 2600-2607 */
 39,  10,  13, 104, 120,  13,   6, 120, /* 2608-2615 */
215,   5, 110,  16, 161, 154, 255,  62, /* 2616-2623 */
 93,  70, 155, 158,  14,  25,  77, 119, /* 2624-2631 */
177,  96,   8, 132, 235,  56,  66, 124, /* 2632-2639 */
 56, 140, 121, 171, 254,  70,  89, 185, /* 2640-2647 */
151,  57, 101, 253,  78,  16, 107,  11, /* 2648-2655 */
 49,  86, 136,  29, 146, 120, 228, 179, /* 2656-2663 */
 69,  66, 242,  78, 230,  98,  25,  38, /* 2664-2671 */
125, 143,  48, 223,  88, 226, 195,  68, /* 2672-2679 */
 18, 224, 157, 245, 119,  85,  39, 117, /* 2680-2687 */
135,  32,   9,  56, 166, 164,  79,  20, /* 2688-2695 */
187, 210,   3, 114, 101,  11, 102,  94, /* 2696-2703 */
215,  24,  43, 156, 188, 105,  67, 154, /* 2704-2711 */
  4,  47,  83, 112, 242,  42,  80, 174, /* 2712-2719 */
 70, 101, 142, 245, 138,  96, 103, 255, /* 2720-2727 */
 69,  30,  93, 249,  36,  91, 153,  83, /* 2728-2735 */
189,  89, 239, 153, 110,  41, 217, 152, /* 2736-2743 */
  6, 114,  38,  42,  86, 122,  47, 248, /* 2744-2751 */
 47, 175, 158, 123,  53, 175, 247,  18, /* 2752-2759 */
 99,  69,  11,  47,  68, 243,  36,  66, /* 2760-2767 */
149, 208, 135,  68,  99,  21,  53,  41, /* 2768-2775 */
106,   5,  20,  57, 194,  77, 138,  98, /* 2776-2783 */
234, 141,  89,  51, 245, 147, 244, 114, /* 2784-2791 */
 59,  18,  53, 148,  61, 222,  47, 214, /* 2792-2799 */
177,  92,  36, 171, 228, 242,  99, 103, /* 2800-2807 */
 11,  38, 110,  27,  32,  57, 154, 211, /* 2808-2815 */
100,  66, 105,  38,  53,  32, 152,  23, /* 2816-2823 */
 20,  58, 215,  58, 100,  83, 238, 120, /* 2824-2831 */
 77,  59,   5, 167, 241, 141,  51,  14, /* 2832-2839 */
 38, 155,  72, 194,  51, 221, 178,  87, /* 2840-2847 */
 30, 176, 251, 230,  91, 107,  21,  42, /* 2848-2855 */
108,  44,  24,  52, 157, 218,  94,  50, /* 2856-2863 */
 96,  49,  75,  30, 150,  43,  26,  65, /* 2864-2871 */
231,  66, 107,  73, 249, 131,  51,  43, /* 2872-2879 */
 11, 165, 216, 131,  77,  20,  48, 169, /* 2880-2887 */
 71, 208,  45, 220, 187,  70,  19, 176, /* 2888-2895 */
 27, 241,  77, 143,  27,  36, 110,  30, /* 2896-2903 */
 29,  49, 151, 231,  87,  33,  79,  41, /* 2904-2911 */
 81, 252, 153,  54,  25,  78, 209,  72, /* 2912-2919 */
130,  82,   0, 130,  43,  29, 240, 204, /* 2920-2927 */
232, 135, 111,  19,  70, 157,  50, 227, /* 2928-2935 */
 43, 204, 186,  60,  29, 147,  21,  31, /* 2936-2943 */
 63, 135,  22,  33, 107, 252,  31,  80, /* 2944-2951 */
143, 240,  91,  24,  65,  16, 105,   5, /* 2952-2959 */
147,  53,  30,  80, 203,  71, 153,  76, /* 2960-2967 */
238, 138,  62,  34, 215, 238, 252, 122, /* 2968-2975 */
111,  13,  47, 141,  46, 238,  49, 205, /* 2976-2983 */
215,  62,  26, 113,  17,  39,  41, 137, /* 2984-2991 */
 31,  30, 100,  13,  57, 106, 128,   4, /* 2992-2999 */
112,  36,  27,   0, 163, 241, 143,  75, /* 3000-3007 */
 18,  60, 207,  70, 181,  70, 246, 176, /* 3008-3015 */
 64,  25, 150, 248, 252,  73, 102,  11, /* 3016-3023 */
 25, 143,  53,   6,  86, 191, 231,  80, /* 3024-3031 */
 25,  54,  19,  87,  12, 144,  44,  19, /* 3032-3039 */
 87, 248,  47, 126, 102, 244, 116,  55, /* 3040-3047 */
 24, 206, 208, 249, 115,  80,   9,  52, /* 3048-3055 */
188,  52, 216,  78, 217, 187,  61,  10, /* 3056-3063 */
104,  13,  28,  68, 140,  26,  46, 136, /* 3064-3071 */
 16,  24,  95, 134, 231,  94,  48,  35, /* 3072-3079 */
  1, 149,   3, 144,  51,  15,  89, 214, /* 3080-3087 */
 34, 167,  80, 239, 161,  59,   0, 160, /* 3088-3095 */
244, 250, 112, 106,  15,  77, 177,  29, /* 3096-3103 */
243,  84, 182, 200,  71,  27,  55,  29, /* 3104-3111 */
 89,  45, 150,  28,  39, 121, 235,  21, /* 3112-3119 */
129, 110, 241, 104,  34, 255, 202, 186, /* 3120-3127 */
  4, 144,  71,  33,  98, 204,  40, 210, /* 3128-3135 */
 89, 211, 146,  42,   1, 101,  18,  44, /* 3136-3143 */
107, 143,  28,  60, 145,  12, 249,  85, /* 3144-3151 */
145, 209,  59,  27,  22, 240, 122,  30, /* 3152-3159 */
158,  43,  40, 113, 234,  31, 164, 103, /* 3160-3167 */
226, 114,  43, 252, 158, 245,  17, 143, /* 3168-3175 */
112,  26,  83, 187,  19, 211,  82, 184, /* 3176-3183 */
181,  55,  31,  66,  14,  82,  63, 144, /* 3184-3191 */
 21,  49, 138, 246,   0, 128, 131, 226, /* 3192-3199 */
 84,  29, 253, 216, 199,  16, 166,  86, /* 3200-3207 */
 33, 108, 207,   5, 173,  85, 208, 138, /* 3208-3215 */
 36,  13, 117,  14,  47, 109, 133,  17, /* 3216-3223 */
 64, 159, 250, 228, 104, 165, 207,  60, /* 3224-3231 */
 14,  28,   8, 126,  34, 181,  54,  42, /* 3232-3239 */
128, 229,   3, 143, 108, 217, 101,  44, /* 3240-3247 */
 12, 185, 250,  18, 143, 108,  14,  86, /* 3248-3255 */
181, 254, 204,  91, 186, 173,  57,  13, /* 3256-3263 */
 75,  23,  66,  65, 167,  33,  62, 154, /* 3264-3271 */
236, 243, 124, 130, 199,  74,  32,  13, /* 3272-3279 */
238, 199,  22, 166,  87,  31, 106, 192, /* 3280-3287 */
249, 179,  90, 194, 144,  46, 251, 132, /* 3288-3295 */
  2,  24, 107, 136,  26,  84, 175, 250, /* 3296-3303 */
237, 109, 156, 185,  59,  11,  47,  31, /* 3304-3311 */
128,  44, 184,  63,  37, 133, 220, 249, /* 3312-3319 */
145, 100, 205, 108,  35, 255, 199, 213, /* 3320-3327 */
253, 147, 105,  14, 102, 196, 255, 218, /* 3328-3335 */
111, 192, 152,  50,   1,  94,  34,  53, /* 3336-3343 */
 84, 179,  27,  54, 157, 228, 247, 123, /* 3344-3351 */
135, 209,  85,  28,  20, 248, 152,   7, /* 3352-3359 */
164,  64,  16, 120, 206,  10, 200, 115, /* 3360-3367 */
209, 128,  38, 246, 160, 255,  13, 127, /* 3368-3375 */
131,  13,  84, 173, 248, 238,  99, 159, /* 3376-3383 */
178,  65,  21,  73,  17,  77,  41, 153, /* 3384-3391 */
 20,  39, 144, 230,  20, 157, 124, 214, /* 3392-3399 */
 95,  22,   3, 223, 180, 254, 165,  81, /* 3400-3407 */
 19, 119, 197,  15, 211,  90, 206, 161, /* 3408-3415 */
 50,   7, 129,   9,  21,  86, 130,   2, /* 3416-3423 */
 65, 164, 247,   7, 125, 169, 214,  65, /* 3424-3431 */
255,  37,  13, 104,  21, 172,  45,  38, /* 3432-3439 */
137, 219,  34, 166,  92, 215, 107,  33, /* 3440-3447 */
 10, 205, 230,   4, 125,  97,   8,  87, /* 3448-3455 */
183,  20, 231,  89, 194, 167,  40, 246, /* 3456-3463 */
102,   1,  24,  71, 141,  22,  76, 162, /* 3464-3471 */
 11,  41, 103, 132, 206,  69,  25,  45, /* 3472-3479 */
 10, 131,  14, 160,  46,  17, 119, 208, /* 3480-3487 */
 46, 168,  90, 244, 127,  21, 250, 187, /* 3488-3495 */
203, 239, 127, 108,  15, 105, 185,  39, /* 3496-3503 */
  9,  81, 196, 184,  47, 255,  99,  25, /* 3504-3511 */
 61,  57, 149,  34,  47, 134, 247,  42, /* 3512-3519 */
118, 137, 231,  87,  11,  26, 241, 128, /* 3520-3527 */
253, 124,  56,  34, 104, 214,  82, 200, /* 3528-3535 */
 84, 233, 140,  29, 255, 182, 237,   9, /* 3536-3543 */
 92, 103,  25,  57, 150,  48,   7,  59, /* 3544-3551 */
182, 217,  74,  12, 115,  11,  48,  31, /* 3552-3559 */
105,  24,  42, 116,   8,  77, 125, 120, /* 3560-3567 */
248, 123,  17,  24, 255, 151, 254, 130, /* 3568-3575 */
 78,  28,  78, 211,  78, 176,  67, 245, /* 3576-3583 */
173,  46,  12, 184, 224, 251,  64,  88, /* 3584-3591 */
 22,  45, 146,  62,  30,  78, 198, 240, /* 3592-3599 */
 73, 242,  99,  17,  55,  19, 123,  51, /* 3600-3607 */
 28,  91,  15,  81, 106, 114, 252, 124, /* 3608-3615 */
 32,  63,   0, 142, 235,  85,  51,   2, /* 3616-3623 */
 47, 192, 100, 206,  72, 254, 209,  50, /* 3624-3631 */
 10, 197, 214, 229,  57, 112,  25,  24, /* 3632-3639 */
134,  83,  27,  49, 183,   0, 106,  31, /* 3640-3647 */
136,  11,  46, 252, 102,  29, 250,  75, /* 3648-3655 */
  9,  97, 124, 124,  45, 167,  10,  48, /* 3656-3663 */
251, 114, 212,  92,  80,   7,  50, 211, /* 3664-3671 */
117, 200,  57,   2, 211,  47,  29, 209, /* 3672-3679 */
209, 231,  40,  91, 255,  14, 140,  76, /* 3680-3687 */
 44,  66, 207,  30,  85, 251, 145, 229, /* 3688-3695 */
248, 252, 100,  32,  25, 104,  37, 104, /* 3696-3703 */
 97, 118,  28, 143,  20,  95,   4,  85, /* 3704-3711 */
221, 107,  60, 254,  48, 214, 118, 172, /* 3712-3719 */
 59,  31, 238,  45,  45, 218, 141, 200, /* 3720-3727 */
 59,  80,  25,  51, 152, 107,  14,  40, /* 3728-3735 */
208,  15,  80,   9, 157, 223,   9,  26, /* 3736-3743 */
114,  47,  33,  87,  40,  75,  71, 134, /* 3744-3751 */
 44, 146,   7, 103, 227,  42, 233,  81, /* 3752-3759 */
 40,  44,  67, 226, 122, 154,  78,  22, /* 3760-3767 */
196,  19,  44, 216, 140, 226,  79,  93, /* 3768-3775 */
 52,  46, 157, 111, 211,  31, 216,   3, /* 3776-3783 */
 73,  39, 184, 176, 236,  32,  76,  40, /* 3784-3791 */
 62, 107,  78,  53,  74, 163,  24, 124, /* 3792-3799 */
 16, 122, 206,  26, 241, 107,  72,  69, /* 3800-3807 */
 81,  26,  96,  90,  99,  10, 180,  31, /* 3808-3815 */
 91, 210,  81, 220,  74,  65,  63,  68, /* 3816-3823 */
185, 118, 186,  82, 248, 236,  63,  30, /* 3824-3831 */
168, 134, 220,  43,  97,  71,  84, 131, /* 3832-3839 */
 90, 245,  46, 182, 236,  91,  22, 134, /* 3840-3847 */
178,  12,  19, 100,  59,  82,  82,  25, /* 3848-3855 */
 70,  90, 142,  10, 147,  23,  92, 174, /* 3856-3863 */
 44, 230,  97,  83,  97,  89, 228, 110, /* 3864-3871 */
140,  85, 233, 181,  26,  70, 173, 105, /* 3872-3879 */
233,  82, 104,  86,  88, 162, 115, 204, /* 3880-3887 */
 64, 212, 237,  56,  45, 161, 119, 215, /* 3888-3895 */
 37, 123,  82, 117, 137,  84,  25,  80, /* 3896-3903 */
169, 235,  80,   7, 120, 149, 251,  12, /* 3904-3911 */
147, 100, 113, 114,  24,  73, 103, 128, /* 3912-3919 */
246, 110, 252,  93, 149,   4, 210, 122, /* 3920-3927 */
 90,  93, 122, 230, 111, 182, 106, 246, /* 3928-3935 */
162, 243,  43, 149,  55, 191, 102, 132, /* 3936-3943 */
100, 124, 189,  94, 223,  83, 198, 192, /* 3944-3951 */
 16,  43, 145,  90, 203,  58, 126,  71, /* 3952-3959 */
123, 156,  58,  42, 110, 184, 237,  40, /* 3960-3967 */
 25, 139, 105, 191,   5, 152,  96, 122, /* 3968-3975 */
165,  31,  61, 136, 127, 234,  83,   4, /* 3976-3983 */
136, 144, 233, 231, 122, 114,  96, 129, /* 3984-3991 */
228,  50, 200, 132, 253, 135,   4, 107, /* 3992-3999 */
135, 234, 188,  92, 124, 115, 133, 228, /* 4000-4007 */
 51, 232, 136, 216, 156, 249,  61, 140, /* 4008-4015 */
 21, 195,  75, 145, 141, 115, 189,  18, /* 4016-4023 */
243, 162, 207, 191,  35,  77, 132,  33, /* 4024-4031 */
188,  12, 104, 124, 103, 176,  28,  10, /* 4032-4039 */
200, 212, 187,  42,  55, 125,  48, 206, /* 4040-4047 */
 20,  93, 160, 128, 143,   9, 252, 208, /* 4048-4055 */
201, 171,  75,  81, 136,  76, 227,   6, /* 4056-4063 */
 57, 119, 122, 129, 251,  16, 238, 239, /* 4064-4071 */
195,  71,  76, 104,  50, 207, 231,  52, /* 4072-4079 */
141, 176, 136, 254,  36, 227, 222, 188, /* 4080-4087 */
 66,  69, 109,  76, 240, 235,  41, 118, /* 4088-4095 */
174, 122, 211,  21, 232, 228, 216,  99, /* 4096-4103 */
 95, 123,  55, 228, 207,   3,  92, 189, /* 4104-4111 */
144, 203,  45, 247, 223, 219,  80,  66, /* 4112-4119 */
117,  61, 238, 234,  35, 103, 197, 161, /* 4120-4127 */
176,  12, 237, 210, 224,  97,  77, 137, /* 4128-4135 */
 73, 234, 229,   6,  71, 171, 152, 164, /* 4136-4143 */
 15,  13, 225, 250, 112,  62, 118,  53, /* 4144-4151 */
221, 238,  26,  83, 192, 185, 174, 246, /* 4152-4159 */
255, 207, 224, 102,  36, 135,  93, 236, /* 4160-4167 */
  8,  48,  67, 176, 172, 155, 231, 253, /* 4168-4175 */
220, 228, 131,  49, 132, 104, 232, 245, /* 4176-4183 */
 48,  45, 144, 180, 169, 243,   6, 232, /* 4184-4191 */
221, 124,  31, 101, 112, 249, 251,  75, /* 4192-4199 */
 68, 143, 186, 161, 218, 240, 224, 210, /* 4200-4207 */
125,  57, 115, 126,  18, 241,  63,  61, /* 4208-4215 */
101, 172, 168, 219, 251, 240, 223, 126, /* 4216-4223 */
 60, 107, 109,  31, 233,  41,  86, 110, /* 4224-4231 */
169, 184, 213, 233, 224, 212, 120,  65, /* 4232-4239 */
125, 116,  49,  16,  45,  91, 107, 137, /* 4240-4247 */
163, 199, 221, 219, 229, 145,  70, 131, /* 4248-4255 */
105,  34,  25,  25,  80, 132, 147, 172, /* 4256-4263 */
211, 222, 212, 218, 145,  62, 128, 104, /* 4264-4271 */
  9,  31,  39,  79, 147, 149, 160, 209, /* 4272-4279 */
209, 198, 200, 155,  82, 131, 124,  17, /* 4280-4287 */
 49,  54,  44, 128, 153, 137, 195, 219, /* 4288-4295 */
217, 206, 158,  92, 124, 113, 254,  29, /* 4296-4303 */
 76,  60, 125, 185, 156, 181, 211, 205, /* 4304-4311 */
181, 140,  92, 110, 109,  14,  41, 113, /* 4312-4319 */
 78, 100, 186, 162, 159, 201, 206, 180, /* 4320-4327 */
140, 112, 125, 121,  29,  18, 101,  89, /* 4328-4335 */
 79, 172, 174, 158, 202, 206, 177, 132, /* 4336-4343 */
109, 120, 116,  43,  21, 113, 121,  74, /* 4344-4351 */
148, 194, 159, 182, 198, 172, 130, 100, /* 4352-4359 */
119, 116,  48,  27, 108, 143,  87, 119, /* 4360-4367 */
194, 162, 160, 204, 186, 135,  99, 136, /* 4368-4375 */
129,  40,  18,  97, 141, 101, 100, 189, /* 4376-4383 */
197, 154, 191, 195, 128,  83, 131, 126, /* 4384-4391 */
 43,  30, 101, 152, 127,  94, 161, 206, /* 4392-4399 */
147, 167, 193, 123,  80, 135, 138,  50, /* 4400-4407 */
 37,  98, 138, 141,  93, 134, 220, 168, /* 4408-4415 */
161, 200, 133,  89, 133, 120,  42,  33}; /* 4416-4423 */

//get and set the frequency from wav conversion tool GUI
int i=0;

//interrupt routine to play next audio sample from array in flash
void audio_sample_dixiehorn ()
{

    speaker = data[i]/255.0;//scale to 0.0 to 1.0 for PWM
    i++;
    if (i>= NUM_ELEMENTS) {
        i = 0;
        sampletick.detach();
        myled = 0;
    }
}