You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTheremin_V3_with_MIDI/Open_Theremin_V3/theremin_sintable8.c

1033 lines
6.3 KiB

/* Theremin WAVE Table "Sinus" - 1024 entries full table, amplitude -2048.,*/
#include <avr/pgmspace.h>
const int16_t sine_table8[1024] PROGMEM = {\
11,
42,
47,
51,
56,
69,
80,
91,
102,
112,
123,
130,
138,
145,
152,
159,
166,
174,
181,
188,
195,
202,
210,
217,
224,
231,
238,
246,
253,
260,
267,
274,
282,
289,
297,
304,
312,
327,
334,
342,
349,
355,
360,
365,
380,
387,
391,
395,
402,
410,
414,
417,
425,
429,
432,
436,
440,
448,
451,
455,
463,
465,
468,
470,
478,
482,
485,
493,
500,
504,
508,
515,
523,
523,
531,
538,
542,
546,
561,
568,
568,
576,
583,
587,
591,
598,
602,
606,
614,
621,
625,
629,
636,
644,
651,
655,
659,
663,
666,
674,
678,
681,
689,
696,
699,
702,
704,
704,
712,
715,
719,
723,
727,
742,
749,
753,
757,
764,
768,
772,
779,
787,
795,
802,
805,
807,
810,
817,
821,
825,
832,
837,
842,
847,
855,
859,
862,
866,
870,
874,
878,
881,
885,
893,
900,
908,
910,
913,
915,
930,
938,
942,
945,
949,
953,
961,
968,
976,
983,
988,
993,
998,
1006,
1010,
1013,
1028,
1031,
1033,
1036,
1043,
1051,
1059,
1062,
1066,
1069,
1071,
1074,
1089,
1093,
1096,
1104,
1106,
1109,
1111,
1126,
1130,
1134,
1138,
1142,
1157,
1160,
1164,
1172,
1179,
1184,
1189,
1194,
1202,
1209,
1217,
1225,
1228,
1232,
1240,
1243,
1247,
1255,
1257,
1260,
1262,
1277,
1285,
1289,
1292,
1300,
1304,
1308,
1315,
1319,
1323,
1323,
1330,
1334,
1338,
1345,
1353,
1353,
1360,
1368,
1372,
1375,
1383,
1383,
1390,
1398,
1406,
1406,
1406,
1413,
1417,
1421,
1428,
1436,
1440,
1443,
1447,
1451,
1458,
1466,
1473,
1476,
1478,
1481,
1496,
1500,
1504,
1511,
1515,
1519,
1522,
1526,
1534,
1541,
1544,
1546,
1549,
1556,
1564,
1568,
1572,
1579,
1583,
1587,
1590,
1594,
1602,
1602,
1602,
1605,
1609,
1617,
1621,
1624,
1632,
1632,
1636,
1639,
1643,
1647,
1647,
1654,
1662,
1666,
1670,
1677,
1677,
1685,
1692,
1700,
1704,
1707,
1715,
1715,
1722,
1730,
1730,
1734,
1737,
1745,
1745,
1753,
1753,
1760,
1764,
1768,
1768,
1775,
1775,
1783,
1783,
1787,
1790,
1790,
1798,
1798,
1798,
1805,
1805,
1805,
1813,
1813,
1820,
1828,
1828,
1832,
1836,
1836,
1843,
1843,
1843,
1851,
1851,
1851,
1858,
1858,
1866,
1866,
1873,
1873,
1873,
1873,
1881,
1881,
1888,
1888,
1888,
1888,
1888,
1896,
1896,
1896,
1896,
1896,
1896,
1903,
1903,
1903,
1903,
1907,
1911,
1911,
1911,
1911,
1911,
1911,
1911,
1911,
1903,
1903,
1903,
1896,
1896,
1892,
1888,
1881,
1881,
1873,
1866,
1866,
1862,
1858,
1858,
1851,
1851,
1843,
1843,
1839,
1836,
1828,
1828,
1820,
1813,
1805,
1802,
1798,
1790,
1783,
1768,
1760,
1753,
1753,
1745,
1737,
1722,
1715,
1707,
1692,
1688,
1677,
1670,
1654,
1647,
1639,
1624,
1621,
1617,
1609,
1594,
1587,
1572,
1556,
1553,
1549,
1534,
1526,
1511,
1489,
1466,
1462,
1451,
1428,
1406,
1383,
1360,
1338,
1334,
1308,
1285,
1240,
1202,
1172,
1142,
1134,
1096,
1066,
1043,
1013,
991,
953,
949,
930,
908,
893,
870,
847,
832,
825,
810,
787,
764,
742,
712,
681,
678,
659,
629,
591,
531,
493,
455,
448,
425,
395,
372,
334,
297,
267,
263,
229,
199,
168,
131,
101,
70,
63,
33,
2,
-27,
-49,
-72,
-87,
-91,
-110,
-132,
-155,
-170,
-193,
-223,
-227,
-253,
-276,
-298,
-321,
-343,
-374,
-377,
-396,
-419,
-442,
-457,
-479,
-483,
-509,
-547,
-577,
-608,
-638,
-675,
-675,
-706,
-728,
-751,
-766,
-789,
-819,
-819,
-834,
-849,
-872,
-887,
-902,
-909,
-913,
-924,
-932,
-947,
-962,
-977,
-992,
-996,
-1007,
-1030,
-1045,
-1060,
-1075,
-1098,
-1098,
-1113,
-1136,
-1151,
-1166,
-1181,
-1211,
-1211,
-1226,
-1241,
-1256,
-1271,
-1286,
-1302,
-1305,
-1317,
-1332,
-1347,
-1354,
-1369,
-1384,
-1384,
-1392,
-1407,
-1415,
-1430,
-1445,
-1452,
-1452,
-1467,
-1475,
-1490,
-1505,
-1513,
-1520,
-1524,
-1528,
-1535,
-1550,
-1558,
-1573,
-1573,
-1577,
-1588,
-1596,
-1603,
-1611,
-1618,
-1626,
-1630,
-1633,
-1641,
-1648,
-1656,
-1664,
-1664,
-1667,
-1671,
-1679,
-1679,
-1686,
-1694,
-1694,
-1698,
-1701,
-1709,
-1709,
-1716,
-1731,
-1739,
-1739,
-1739,
-1747,
-1754,
-1762,
-1769,
-1777,
-1777,
-1777,
-1784,
-1792,
-1799,
-1807,
-1807,
-1811,
-1814,
-1822,
-1830,
-1830,
-1837,
-1837,
-1841,
-1859,
-1860,
-1862,
-1863,
-1866,
-1868,
-1870,
-1873,
-1874,
-1875,
-1876,
-1878,
-1880,
-1880,
-1882,
-1883,
-1884,
-1884,
-1885,
-1886,
-1886,
-1886,
-1887,
-1887,
-1887,
-1887,
-1887,
-1887,
-1887,
-1887,
-1887,
-1886,
-1886,
-1886,
-1886,
-1885,
-1885,
-1883,
-1882,
-1881,
-1880,
-1879,
-1878,
-1876,
-1875,
-1873,
-1871,
-1870,
-1867,
-1864,
-1862,
-1859,
-1858,
-1852,
-1848,
-1846,
-1839,
-1836,
-1834,
-1826,
-1823,
-1819,
-1812,
-1810,
-1809,
-1802,
-1799,
-1796,
-1794,
-1791,
-1788,
-1785,
-1783,
-1781,
-1778,
-1776,
-1775,
-1773,
-1771,
-1770,
-1768,
-1766,
-1765,
-1764,
-1763,
-1760,
-1760,
-1759,
-1758,
-1756,
-1754,
-1754,
-1753,
-1751,
-1750,
-1749,
-1748,
-1746,
-1745,
-1745,
-1744,
-1743,
-1742,
-1741,
-1740,
-1739,
-1737,
-1737,
-1736,
-1734,
-1734,
-1734,
-1732,
-1732,
-1730,
-1730,
-1729,
-1728,
-1727,
-1726,
-1726,
-1725,
-1723,
-1722,
-1722,
-1721,
-1720,
-1719,
-1719,
-1718,
-1717,
-1717,
-1715,
-1715,
-1714,
-1714,
-1713,
-1712,
-1712,
-1711,
-1711,
-1709,
-1709,
-1708,
-1708,
-1707,
-1706,
-1705,
-1705,
-1704,
-1703,
-1703,
-1701,
-1701,
-1700,
-1699,
-1698,
-1698,
-1697,
-1696,
-1696,
-1695,
-1693,
-1692,
-1691,
-1690,
-1688,
-1687,
-1687,
-1684,
-1682,
-1682,
-1679,
-1677,
-1676,
-1673,
-1671,
-1668,
-1665,
-1661,
-1659,
-1656,
-1654,
-1647,
-1644,
-1639,
-1631,
-1629,
-1624,
-1618,
-1613,
-1612,
-1608,
-1606,
-1604,
-1604,
-1604,
-1601,
-1597,
-1589,
-1589,
-1582,
-1574,
-1574,
-1570,
-1567,
-1567,
-1559,
-1552,
-1544,
-1544,
-1540,
-1536,
-1529,
-1521,
-1521,
-1514,
-1506,
-1506,
-1499,
-1499,
-1491,
-1484,
-1476,
-1469,
-1469,
-1469,
-1461,
-1453,
-1446,
-1446,
-1438,
-1438,
-1431,
-1423,
-1416,
-1408,
-1401,
-1401,
-1401,
-1393,
-1393,
-1386,
-1378,
-1370,
-1367,
-1363,
-1355,
-1355,
-1348,
-1348,
-1355,
-1295,
-1280,
-1257,
-1220,
-1197,
-1167,
-1163,
-1129,
-1099,
-1061,
-1039,
-1008,
-978,
-974,
-940,
-918,
-888,
-850,
-820,
-797,
-790,
-767,
-744,
-729,
-707,
-684,
-654,
-654,
-639,
-616,
-594,
-571,
-556,
-533,
-533,
-518,
-503,
-488,
-473,
-465,
-450,
-446,
-443,
-428,
-420,
-405,
-397,
-390,
-386,
-375,
-367,
-360,
-352,
-337,
-337,
-333,
-322,
-314,
-299,
-292,
-284,
-277,
-277,
-269,
-262,
-254,
-247,
-247,
-231,
-231,
-231,
-216,
-209,
-194,
-194,
-186,
-182,
-179,
-171,
-164,
-156,
-148,
-148,
-145,
-141,
-133,
-126,
-122,
-118,
-115
-111,
-107,
-103,
-99,
-96,
-92,
-88,
-86,
-83,
-81,
-77,
-73,
-69,
-65,
-63,
-60,
-58,
-54,
-50,
-47,
-43,
-41,
-39,
-37,
-35,
-32,
-28,
-25,
-23,
-20,
-18,
-15,
-13,
0
};