music mixer code
Dependencies: mbed wave_player mbed-rtos SimpleRGB 4DGL-uLCD-SE PinDetect
marimbaGmaj.h
- Committer:
- vamsatoor
- Date:
- 2019-12-09
- Revision:
- 10:5f5e199e1b9c
File content as of revision 10:5f5e199e1b9c:
/********************************************************************** * Written by WAVToCode * Date: Sat Dec 07 06:46:46 PM * FileName: marimbaGmaj_8k_8bit_unsigned.C * Interleaved: N/A * Signed: No * No. of channels: 1 * No. of samples: 2645 * Bits/Sample: 8 **********************************************************************/ #define NUM_ELEMENTS 2645 const unsigned char data_g[NUM_ELEMENTS] = { 126, 126, 127, 126, 127, 127, 127, 127, /* 0-7 */ 127, 129, 132, 129, 119, 122, 130, 145, /* 8-15 */ 167, 147, 86, 67, 97, 140, 161, 151, /* 16-23 */ 144, 100, 156, 96, 249, 138, 236, 225, /* 24-31 */ 135, 43, 9, 40, 122, 238, 29, 209, /* 32-39 */ 99, 241, 240, 106, 221, 8, 216, 125, /* 40-47 */ 65, 52, 112, 152, 122, 103, 94, 114, /* 48-55 */ 183, 233, 206, 146, 41, 222, 5, 157, /* 56-63 */ 44, 16, 175, 57, 238, 40, 138, 229, /* 64-71 */ 249, 162, 35, 225, 20, 151, 247, 6, /* 72-79 */ 181, 33, 225, 9, 101, 206, 244, 193, /* 80-87 */ 111, 60, 73, 118, 163, 171, 116, 95, /* 88-95 */ 123, 163, 202, 198, 135, 62, 33, 76, /* 96-103 */ 161, 237, 240, 150, 52, 20, 60, 155, /* 104-111 */ 241, 226, 135, 27, 238, 34, 159, 17, /* 112-119 */ 13, 166, 35, 203, 234, 106, 226, 15, /* 120-127 */ 223, 115, 34, 31, 93, 163, 183, 167, /* 128-135 */ 125, 95, 132, 171, 178, 151, 83, 45, /* 136-143 */ 80, 149, 212, 208, 141, 66, 23, 74, /* 144-151 */ 173, 228, 211, 117, 6, 238, 61, 193, /* 152-159 */ 32, 16, 156, 9, 208, 14, 134, 3, /* 160-167 */ 41, 220, 105, 25, 27, 101, 175, 193, /* 168-175 */ 155, 102, 91, 123, 156, 170, 128, 73, /* 176-183 */ 59, 79, 149, 209, 196, 134, 55, 40, /* 184-191 */ 109, 200, 252, 203, 99, 19, 13, 111, /* 192-199 */ 246, 53, 4, 122, 248, 219, 41, 181, /* 200-207 */ 14, 243, 151, 47, 1, 41, 117, 173, /* 208-215 */ 163, 106, 58, 57, 109, 159, 156, 117, /* 216-223 */ 63, 46, 97, 165, 205, 188, 119, 57, /* 224-231 */ 54, 121, 210, 237, 198, 106, 17, 18, /* 232-239 */ 109, 221, 17, 227, 115, 5, 238, 58, /* 240-247 */ 158, 228, 213, 130, 47, 26, 73, 144, /* 248-255 */ 183, 159, 105, 66, 81, 143, 194, 194, /* 256-263 */ 141, 77, 71, 115, 182, 224, 194, 118, /* 264-271 */ 47, 48, 131, 216, 250, 192, 80, 15, /* 272-279 */ 24, 101, 204, 255, 212, 107, 19, 9, /* 280-287 */ 86, 184, 235, 206, 126, 59, 51, 113, /* 288-295 */ 184, 207, 171, 110, 78, 99, 154, 192, /* 296-303 */ 178, 126, 78, 73, 123, 185, 202, 161, /* 304-311 */ 87, 32, 49, 128, 212, 236, 177, 78, /* 312-319 */ 4, 21, 118, 218, 0, 201, 93, 14, /* 320-327 */ 17, 99, 198, 248, 210, 115, 34, 23, /* 328-335 */ 79, 153, 198, 174, 106, 57, 56, 95, /* 336-343 */ 139, 146, 113, 79, 80, 112, 157, 175, /* 344-351 */ 143, 81, 46, 79, 154, 225, 237, 171, /* 352-359 */ 78, 24, 58, 152, 246, 12, 198, 86, /* 360-367 */ 13, 24, 114, 213, 246, 201, 103, 27, /* 368-375 */ 21, 79, 158, 191, 162, 105, 62, 63, /* 376-383 */ 107, 145, 151, 128, 97, 96, 127, 167, /* 384-391 */ 178, 145, 98, 73, 99, 162, 219, 221, /* 392-399 */ 164, 80, 30, 64, 154, 235, 245, 177, /* 400-407 */ 75, 9, 31, 113, 198, 226, 179, 87, /* 408-415 */ 26, 31, 95, 168, 195, 164, 100, 63, /* 416-423 */ 74, 117, 159, 169, 143, 106, 99, 125, /* 424-431 */ 159, 171, 146, 103, 82, 111, 167, 209, /* 432-439 */ 196, 131, 58, 32, 78, 165, 229, 224, /* 440-447 */ 150, 54, 11, 48, 131, 210, 221, 159, /* 448-455 */ 76, 28, 55, 124, 190, 204, 158, 95, /* 456-463 */ 67, 85, 133, 168, 165, 140, 109, 108, /* 464-471 */ 136, 160, 157, 125, 85, 77, 115, 171, /* 472-479 */ 206, 182, 116, 49, 29, 85, 169, 223, /* 480-487 */ 210, 131, 46, 14, 57, 148, 214, 213, /* 488-495 */ 147, 62, 25, 57, 128, 191, 201, 154, /* 496-503 */ 95, 62, 80, 126, 161, 164, 135, 108, /* 504-511 */ 109, 132, 152, 148, 118, 88, 86, 126, /* 512-519 */ 177, 198, 171, 107, 47, 44, 101, 178, /* 520-527 */ 224, 201, 120, 41, 22, 75, 161, 221, /* 528-535 */ 212, 142, 61, 29, 65, 140, 200, 206, /* 536-543 */ 157, 95, 66, 84, 130, 169, 171, 145, /* 544-551 */ 118, 115, 134, 152, 150, 126, 100, 101, /* 552-559 */ 135, 177, 195, 164, 103, 53, 56, 115, /* 560-567 */ 191, 226, 194, 113, 41, 32, 93, 179, /* 568-575 */ 230, 211, 138, 60, 38, 84, 161, 216, /* 576-583 */ 211, 153, 90, 66, 93, 144, 180, 179, /* 584-591 */ 144, 109, 102, 118, 142, 145, 122, 99, /* 592-599 */ 96, 121, 156, 167, 141, 89, 52, 63, /* 600-607 */ 116, 174, 198, 163, 93, 42, 43, 104, /* 608-615 */ 181, 215, 187, 117, 56, 49, 99, 171, /* 616-623 */ 213, 198, 140, 80, 61, 94, 148, 181, /* 624-631 */ 173, 135, 101, 91, 107, 131, 135, 121, /* 632-639 */ 100, 96, 118, 144, 148, 122, 81, 57, /* 640-647 */ 74, 124, 174, 185, 146, 85, 45, 58, /* 648-655 */ 121, 185, 207, 174, 108, 56, 61, 116, /* 656-663 */ 181, 212, 187, 126, 75, 69, 107, 158, /* 664-671 */ 185, 173, 133, 98, 93, 114, 135, 140, /* 672-679 */ 126, 106, 106, 128, 148, 151, 123, 85, /* 680-687 */ 65, 86, 135, 177, 182, 141, 84, 51, /* 688-695 */ 71, 128, 185, 201, 164, 101, 61, 74, /* 696-703 */ 129, 188, 209, 179, 121, 78, 79, 120, /* 704-711 */ 169, 191, 174, 135, 103, 101, 121, 142, /* 712-719 */ 148, 133, 115, 113, 128, 147, 145, 120, /* 720-727 */ 89, 75, 94, 136, 169, 167, 129, 80, /* 728-735 */ 58, 80, 135, 181, 186, 147, 92, 62, /* 736-743 */ 82, 138, 189, 202, 167, 112, 75, 81, /* 744-751 */ 124, 171, 188, 169, 129, 101, 99, 117, /* 752-759 */ 137, 143, 131, 117, 116, 129, 142, 136, /* 760-767 */ 114, 90, 83, 107, 145, 169, 161, 123, /* 768-775 */ 83, 70, 100, 151, 187, 183, 140, 89, /* 776-783 */ 70, 95, 149, 193, 196, 157, 104, 75, /* 784-791 */ 86, 126, 167, 179, 157, 121, 95, 94, /* 792-799 */ 113, 130, 136, 127, 116, 117, 126, 133, /* 800-807 */ 128, 111, 95, 97, 121, 150, 163, 148, /* 808-815 */ 115, 86, 85, 117, 160, 184, 171, 128, /* 816-823 */ 85, 76, 107, 157, 190, 183, 143, 96, /* 824-831 */ 74, 90, 131, 166, 172, 150, 116, 94, /* 832-839 */ 97, 114, 133, 138, 130, 121, 119, 126, /* 840-847 */ 130, 125, 113, 104, 109, 129, 151, 157, /* 848-855 */ 140, 111, 92, 99, 132, 167, 179, 159, /* 856-863 */ 118, 86, 88, 122, 166, 188, 174, 133, /* 864-871 */ 93, 82, 104, 144, 170, 169, 143, 112, /* 872-879 */ 96, 103, 120, 136, 137, 128, 120, 118, /* 880-887 */ 123, 125, 120, 110, 106, 113, 130, 145, /* 888-895 */ 145, 128, 105, 95, 108, 138, 163, 168, /* 896-903 */ 142, 108, 88, 97, 132, 169, 181, 161, /* 904-911 */ 120, 87, 84, 109, 145, 165, 158, 131, /* 912-919 */ 102, 89, 98, 116, 131, 131, 121, 112, /* 920-927 */ 109, 114, 118, 116, 110, 106, 113, 127, /* 928-935 */ 138, 136, 122, 105, 101, 116, 142, 161, /* 936-943 */ 159, 134, 104, 92, 107, 141, 171, 176, /* 944-951 */ 152, 114, 88, 91, 118, 152, 167, 157, /* 952-959 */ 129, 104, 95, 107, 127, 139, 140, 129, /* 960-967 */ 119, 118, 122, 128, 128, 124, 123, 127, /* 968-975 */ 136, 144, 139, 127, 115, 115, 130, 151, /* 976-983 */ 162, 154, 129, 104, 97, 115, 146, 170, /* 984-991 */ 168, 141, 106, 86, 94, 124, 153, 163, /* 992-999 */ 149, 122, 101, 98, 113, 133, 143, 140, /* 1000-1007 */ 128, 118, 117, 125, 131, 131, 128, 124, /* 1008-1015 */ 128, 135, 139, 135, 123, 114, 117, 131, /* 1016-1023 */ 148, 154, 142, 118, 98, 97, 118, 147, /* 1024-1031 */ 165, 157, 128, 98, 85, 99, 128, 153, /* 1032-1039 */ 158, 141, 114, 97, 99, 117, 136, 145, /* 1040-1047 */ 138, 124, 115, 115, 123, 130, 132, 129, /* 1048-1055 */ 126, 127, 132, 134, 130, 122, 117, 121, /* 1056-1063 */ 134, 147, 149, 135, 114, 99, 103, 125, /* 1064-1071 */ 150, 162, 151, 123, 96, 89, 105, 134, /* 1072-1079 */ 156, 155, 136, 111, 97, 102, 121, 139, /* 1080-1087 */ 145, 136, 123, 115, 117, 125, 133, 135, /* 1088-1095 */ 131, 128, 128, 132, 132, 129, 124, 121, /* 1096-1103 */ 125, 137, 146, 144, 130, 111, 101, 108, /* 1104-1111 */ 130, 152, 157, 142, 115, 93, 92, 112, /* 1112-1119 */ 139, 156, 151, 129, 107, 99, 110, 130, /* 1120-1127 */ 145, 147, 136, 123, 117, 121, 132, 140, /* 1128-1135 */ 140, 136, 131, 130, 132, 133, 132, 127, /* 1136-1143 */ 125, 130, 139, 143, 139, 125, 109, 103, /* 1144-1151 */ 113, 134, 150, 150, 133, 107, 92, 96, /* 1152-1159 */ 119, 142, 153, 144, 122, 104, 100, 114, /* 1160-1167 */ 133, 146, 144, 132, 118, 114, 121, 131, /* 1168-1175 */ 139, 138, 131, 125, 124, 125, 127, 126, /* 1176-1183 */ 123, 123, 126, 133, 135, 129, 116, 105, /* 1184-1191 */ 103, 115, 133, 145, 142, 124, 102, 93, /* 1192-1199 */ 101, 124, 144, 149, 138, 116, 102, 103, /* 1200-1207 */ 118, 137, 146, 141, 126, 115, 113, 122, /* 1208-1215 */ 132, 139, 137, 130, 124, 122, 125, 127, /* 1216-1223 */ 127, 125, 127, 131, 136, 136, 129, 117, /* 1224-1231 */ 109, 112, 126, 141, 149, 142, 123, 105, /* 1232-1239 */ 101, 113, 133, 149, 149, 135, 117, 106, /* 1240-1247 */ 110, 126, 143, 148, 141, 126, 116, 116, /* 1248-1255 */ 126, 138, 144, 141, 133, 127, 125, 127, /* 1256-1263 */ 130, 132, 131, 133, 136, 137, 135, 129, /* 1264-1271 */ 119, 115, 119, 131, 144, 148, 138, 121, /* 1272-1279 */ 106, 106, 119, 137, 149, 146, 131, 114, /* 1280-1287 */ 107, 114, 130, 145, 147, 138, 123, 115, /* 1288-1295 */ 117, 127, 138, 142, 138, 130, 124, 122, /* 1296-1303 */ 124, 127, 129, 129, 130, 131, 131, 128, /* 1304-1311 */ 121, 114, 112, 118, 130, 139, 139, 129, /* 1312-1319 */ 114, 105, 107, 121, 138, 146, 140, 124, /* 1320-1327 */ 110, 107, 117, 133, 144, 144, 132, 119, /* 1328-1335 */ 112, 117, 127, 138, 140, 134, 126, 119, /* 1336-1343 */ 118, 122, 126, 128, 129, 129, 128, 128, /* 1344-1351 */ 124, 119, 116, 117, 123, 133, 139, 137, /* 1352-1359 */ 127, 115, 109, 115, 130, 143, 147, 139, /* 1360-1367 */ 124, 113, 113, 124, 139, 148, 144, 131, /* 1368-1375 */ 119, 115, 121, 133, 142, 142, 135, 124, /* 1376-1383 */ 119, 120, 125, 130, 132, 131, 129, 128, /* 1384-1391 */ 127, 125, 121, 118, 120, 126, 134, 138, /* 1392-1399 */ 134, 124, 113, 110, 117, 130, 141, 143, /* 1400-1407 */ 133, 119, 110, 114, 126, 140, 144, 138, /* 1408-1415 */ 125, 115, 114, 123, 135, 141, 139, 130, /* 1416-1423 */ 121, 116, 119, 125, 130, 132, 130, 127, /* 1424-1431 */ 125, 123, 122, 119, 117, 119, 125, 132, /* 1432-1439 */ 134, 129, 120, 111, 111, 118, 131, 138, /* 1440-1447 */ 137, 128, 116, 110, 116, 128, 140, 142, /* 1448-1455 */ 134, 122, 113, 115, 124, 136, 141, 137, /* 1456-1463 */ 127, 118, 116, 119, 126, 131, 132, 129, /* 1464-1471 */ 125, 124, 123, 122, 120, 120, 122, 127, /* 1472-1479 */ 132, 132, 129, 120, 114, 115, 123, 134, /* 1480-1487 */ 140, 137, 126, 116, 113, 120, 132, 142, /* 1488-1495 */ 141, 132, 120, 114, 118, 129, 139, 143, /* 1496-1503 */ 136, 126, 118, 117, 123, 131, 135, 135, /* 1504-1511 */ 131, 128, 126, 125, 126, 126, 126, 128, /* 1512-1519 */ 132, 136, 135, 131, 124, 120, 122, 130, /* 1520-1527 */ 138, 142, 137, 127, 119, 118, 126, 137, /* 1528-1535 */ 144, 141, 131, 120, 115, 121, 132, 141, /* 1536-1543 */ 143, 136, 125, 119, 119, 125, 133, 137, /* 1544-1551 */ 135, 131, 127, 126, 125, 127, 127, 128, /* 1552-1559 */ 129, 132, 133, 133, 128, 122, 120, 123, /* 1560-1567 */ 130, 137, 137, 131, 122, 115, 117, 125, /* 1568-1575 */ 135, 139, 134, 124, 114, 112, 118, 130, /* 1576-1583 */ 137, 137, 129, 118, 113, 115, 122, 130, /* 1584-1591 */ 133, 131, 126, 122, 120, 122, 123, 124, /* 1592-1599 */ 125, 126, 128, 129, 127, 124, 120, 120, /* 1600-1607 */ 123, 129, 135, 134, 128, 120, 117, 120, /* 1608-1615 */ 128, 137, 139, 133, 123, 115, 115, 123, /* 1616-1623 */ 133, 139, 136, 128, 118, 114, 118, 126, /* 1624-1631 */ 133, 135, 131, 126, 123, 122, 124, 126, /* 1632-1639 */ 127, 128, 129, 130, 130, 128, 126, 123, /* 1640-1647 */ 123, 127, 132, 135, 134, 128, 121, 120, /* 1648-1655 */ 123, 132, 139, 139, 131, 121, 115, 118, /* 1656-1663 */ 127, 136, 140, 136, 126, 118, 116, 121, /* 1664-1671 */ 128, 134, 135, 130, 125, 122, 122, 125, /* 1672-1679 */ 127, 128, 129, 128, 128, 128, 127, 125, /* 1680-1687 */ 123, 124, 128, 131, 133, 131, 124, 119, /* 1688-1695 */ 119, 123, 131, 136, 134, 126, 117, 114, /* 1696-1703 */ 118, 126, 134, 136, 132, 123, 115, 115, /* 1704-1711 */ 121, 128, 133, 132, 127, 123, 120, 122, /* 1712-1719 */ 125, 127, 129, 128, 127, 127, 127, 125, /* 1720-1727 */ 124, 123, 125, 128, 130, 131, 128, 123, /* 1728-1735 */ 120, 120, 125, 133, 135, 132, 125, 117, /* 1736-1743 */ 115, 121, 130, 137, 137, 130, 122, 117, /* 1744-1751 */ 118, 125, 133, 136, 134, 129, 124, 122, /* 1752-1759 */ 125, 127, 130, 131, 130, 128, 128, 128, /* 1760-1767 */ 128, 126, 127, 128, 131, 132, 131, 129, /* 1768-1775 */ 124, 123, 125, 130, 136, 137, 133, 126, /* 1776-1783 */ 120, 121, 126, 134, 139, 138, 131, 124, /* 1784-1791 */ 120, 121, 128, 135, 137, 134, 128, 124, /* 1792-1799 */ 123, 126, 129, 132, 132, 129, 128, 127, /* 1800-1807 */ 127, 127, 127, 128, 129, 131, 131, 129, /* 1808-1815 */ 127, 124, 123, 126, 130, 134, 134, 129, /* 1816-1823 */ 123, 119, 120, 126, 132, 136, 133, 127, /* 1824-1831 */ 120, 117, 121, 128, 133, 134, 131, 125, /* 1832-1839 */ 121, 122, 125, 129, 130, 130, 128, 125, /* 1840-1847 */ 125, 125, 126, 127, 128, 128, 128, 128, /* 1848-1855 */ 127, 124, 123, 123, 126, 130, 132, 131, /* 1856-1863 */ 126, 120, 118, 121, 126, 132, 134, 130, /* 1864-1871 */ 124, 119, 117, 121, 128, 133, 132, 128, /* 1872-1879 */ 123, 121, 122, 125, 129, 130, 129, 126, /* 1880-1887 */ 125, 124, 125, 126, 128, 128, 128, 128, /* 1888-1895 */ 128, 126, 124, 124, 125, 128, 131, 132, /* 1896-1903 */ 130, 125, 121, 120, 123, 129, 134, 134, /* 1904-1911 */ 130, 124, 119, 120, 124, 130, 133, 132, /* 1912-1919 */ 128, 123, 121, 123, 128, 132, 132, 129, /* 1920-1927 */ 126, 125, 125, 126, 129, 129, 130, 130, /* 1928-1935 */ 128, 128, 126, 126, 126, 126, 129, 131, /* 1936-1943 */ 132, 129, 125, 121, 121, 124, 129, 133, /* 1944-1951 */ 133, 128, 122, 119, 120, 126, 130, 132, /* 1952-1959 */ 131, 125, 122, 121, 123, 128, 131, 131, /* 1960-1967 */ 128, 125, 123, 123, 126, 128, 129, 128, /* 1968-1975 */ 127, 126, 125, 124, 124, 124, 126, 128, /* 1976-1983 */ 130, 129, 126, 123, 120, 121, 125, 129, /* 1984-1991 */ 131, 130, 126, 121, 119, 121, 126, 131, /* 1992-1999 */ 132, 129, 125, 122, 122, 125, 129, 132, /* 2000-2007 */ 131, 128, 125, 123, 125, 128, 130, 131, /* 2008-2015 */ 130, 128, 128, 126, 126, 127, 127, 129, /* 2016-2023 */ 130, 131, 130, 128, 125, 124, 125, 129, /* 2024-2031 */ 132, 134, 131, 127, 123, 123, 126, 130, /* 2032-2039 */ 133, 134, 131, 126, 123, 125, 129, 132, /* 2040-2047 */ 133, 132, 128, 126, 125, 127, 129, 131, /* 2048-2055 */ 131, 130, 128, 127, 126, 126, 127, 127, /* 2056-2063 */ 129, 130, 130, 129, 126, 124, 123, 126, /* 2064-2071 */ 129, 131, 133, 130, 125, 122, 123, 126, /* 2072-2079 */ 130, 132, 131, 128, 124, 122, 124, 128, /* 2080-2087 */ 131, 131, 129, 126, 123, 123, 126, 129, /* 2088-2095 */ 129, 130, 128, 126, 125, 125, 125, 126, /* 2096-2103 */ 127, 128, 129, 128, 127, 125, 123, 123, /* 2104-2111 */ 126, 128, 131, 130, 127, 124, 122, 123, /* 2112-2119 */ 126, 129, 131, 129, 126, 123, 122, 125, /* 2120-2127 */ 128, 131, 131, 128, 125, 123, 123, 126, /* 2128-2135 */ 129, 130, 130, 127, 125, 125, 124, 126, /* 2136-2143 */ 127, 128, 128, 128, 128, 126, 125, 123, /* 2144-2151 */ 124, 126, 129, 130, 130, 127, 123, 122, /* 2152-2159 */ 124, 127, 130, 131, 128, 125, 123, 123, /* 2160-2167 */ 126, 129, 131, 130, 127, 124, 123, 124, /* 2168-2175 */ 126, 129, 130, 128, 127, 125, 124, 124, /* 2176-2183 */ 126, 127, 128, 128, 128, 127, 125, 124, /* 2184-2191 */ 124, 126, 127, 129, 130, 128, 126, 123, /* 2192-2199 */ 123, 125, 128, 131, 131, 128, 125, 123, /* 2200-2207 */ 123, 126, 129, 131, 129, 126, 123, 123, /* 2208-2215 */ 125, 128, 129, 130, 128, 125, 124, 123, /* 2216-2223 */ 124, 126, 127, 128, 128, 127, 127, 125, /* 2224-2231 */ 124, 124, 126, 128, 129, 129, 128, 125, /* 2232-2239 */ 123, 123, 126, 129, 131, 129, 126, 125, /* 2240-2247 */ 123, 125, 128, 131, 131, 129, 126, 123, /* 2248-2255 */ 124, 126, 129, 131, 130, 128, 126, 125, /* 2256-2263 */ 125, 126, 127, 129, 129, 128, 128, 127, /* 2264-2271 */ 126, 126, 126, 127, 129, 130, 130, 128, /* 2272-2279 */ 126, 125, 126, 128, 131, 131, 130, 128, /* 2280-2287 */ 126, 125, 126, 129, 132, 132, 129, 126, /* 2288-2295 */ 125, 126, 128, 131, 132, 131, 129, 127, /* 2296-2303 */ 126, 126, 128, 129, 130, 130, 129, 128, /* 2304-2311 */ 127, 126, 127, 127, 129, 129, 130, 129, /* 2312-2319 */ 128, 126, 126, 126, 129, 131, 131, 129, /* 2320-2327 */ 127, 126, 126, 128, 131, 131, 131, 128, /* 2328-2335 */ 126, 125, 126, 128, 130, 131, 130, 127, /* 2336-2343 */ 125, 125, 125, 127, 128, 128, 128, 127, /* 2344-2351 */ 125, 125, 125, 125, 126, 126, 128, 128, /* 2352-2359 */ 126, 125, 125, 125, 125, 128, 128, 128, /* 2360-2367 */ 126, 125, 123, 125, 126, 129, 130, 128, /* 2368-2375 */ 126, 123, 123, 125, 127, 129, 129, 127, /* 2376-2383 */ 125, 123, 123, 124, 126, 127, 128, 127, /* 2384-2391 */ 125, 125, 125, 125, 125, 126, 126, 128, /* 2392-2399 */ 127, 126, 125, 125, 125, 126, 128, 128, /* 2400-2407 */ 128, 126, 125, 125, 125, 128, 129, 129, /* 2408-2415 */ 128, 126, 124, 124, 126, 128, 129, 129, /* 2416-2423 */ 128, 125, 125, 125, 126, 127, 129, 128, /* 2424-2431 */ 128, 127, 125, 126, 126, 127, 128, 128, /* 2432-2439 */ 128, 128, 127, 126, 126, 126, 128, 129, /* 2440-2447 */ 129, 128, 126, 126, 126, 126, 129, 130, /* 2448-2455 */ 129, 128, 125, 124, 124, 126, 128, 129, /* 2456-2463 */ 128, 127, 125, 124, 125, 126, 127, 128, /* 2464-2471 */ 128, 127, 125, 125, 125, 126, 126, 128, /* 2472-2479 */ 128, 128, 127, 126, 126, 126, 126, 128, /* 2480-2487 */ 129, 128, 128, 126, 125, 126, 128, 129, /* 2488-2495 */ 130, 129, 127, 125, 124, 126, 127, 129, /* 2496-2503 */ 129, 128, 127, 125, 125, 126, 127, 129, /* 2504-2511 */ 129, 128, 127, 126, 126, 126, 127, 128, /* 2512-2519 */ 128, 128, 128, 128, 126, 126, 126, 128, /* 2520-2527 */ 128, 129, 128, 127, 126, 126, 126, 128, /* 2528-2535 */ 129, 130, 129, 126, 126, 126, 126, 129, /* 2536-2543 */ 129, 130, 129, 127, 126, 126, 127, 129, /* 2544-2551 */ 129, 129, 129, 128, 127, 127, 128, 129, /* 2552-2559 */ 129, 129, 129, 128, 128, 128, 128, 128, /* 2560-2567 */ 129, 129, 129, 129, 127, 126, 126, 128, /* 2568-2575 */ 129, 130, 130, 128, 126, 126, 126, 127, /* 2576-2583 */ 129, 129, 129, 128, 127, 125, 126, 127, /* 2584-2591 */ 128, 129, 129, 128, 127, 126, 126, 126, /* 2592-2599 */ 128, 128, 128, 128, 126, 126, 126, 126, /* 2600-2607 */ 128, 128, 128, 128, 126, 126, 125, 126, /* 2608-2615 */ 126, 128, 128, 128, 127, 125, 124, 125, /* 2616-2623 */ 126, 128, 128, 128, 127, 125, 125, 125, /* 2624-2631 */ 126, 127, 128, 127, 126, 125, 125, 125, /* 2632-2639 */ 126, 126, 126, 126, 126}; /* 2640-2644 */ //get and set the frequency from wav conversion tool GUI int g=0; //interrupt routine to play next audio sample from array in flash void audio_sample_marimbaG() { speaker = data_g[g]/255.0;//scale to 0.0 to 1.0 for PWM g++; if (g>= NUM_ELEMENTS) { g = 0; sampletick.detach(); myled = 0; } }