PCM Digital Synthesizer

Dependencies:   LCD mbed

/media/uploads/p_igmon/img_1731-w480.jpg

dcf_table.h

Committer:
p_igmon
Date:
2016-09-02
Revision:
0:ad6637c36dc7

File content as of revision 0:ad6637c36dc7:

/*
    LPF Parameter Table
    a0,a1,b0,b1,b2

*/

static signed long dcf_table[][5]={
{13562,27124,13562,2137910446,-1064222872},
{13574,27148,13574,2139807431,-1066119905},
{13598,27196,13598,2143611519,-1069924090},
{13606,27213,13606,2144882556,-1071195159},
{13610,27221,13610,2145518640,-1071831259},
{13612,27225,13612,2145900471,-1072213100},
{13614,27229,13614,2146155101,-1072467736},
{13615,27231,13615,2146337016,-1072649656},
{13616,27233,13616,2146473473,-1072786117},
{13617,27234,13617,2146579618,-1072892264},
{13617,27235,13617,2146664542,-1072977190},
{19163,38327,19163,2136096511,-1062431344},
{19184,38368,19184,2138348985,-1064683899},
{19224,38449,19224,2142868214,-1069203290},
{19238,38476,19238,2144378872,-1070714002},
{19244,38489,19244,2145135000,-1071470157},
{19249,38498,19249,2145588933,-1071924106},
{19251,38503,19251,2145891661,-1072226845},
{19253,38507,19253,2146107948,-1072443140},
{19255,38510,19255,2146270192,-1072605390},
{19256,38512,19256,2146396399,-1072731601},
{19257,38514,19257,2146497375,-1072832580},
{27074,54149,27074,2133938300,-1060304777},
{27108,54217,27108,2136612105,-1062978717},
{27176,54353,27176,2141979867,-1068346751},
{27199,54399,27199,2143775119,-1070142094},
{27210,54421,27210,2144673874,-1071040895},
{27217,54435,27217,2145213489,-1071580537},
{27222,54444,27222,2145573383,-1071940450},
{27225,54451,27225,2145830524,-1072197604},
{27228,54456,27228,2146023420,-1072390510},
{27230,54460,27230,2146173475,-1072540572},
{27231,54463,27231,2146293534,-1072660637},
{38244,76488,38244,2131370245,-1057781399},
{38301,76602,38301,2134543095,-1060954476},
{38415,76830,38415,2140917219,-1067329058},
{38453,76907,38453,2143050395,-1069462387},
{38472,76945,38472,2144118578,-1070530647},
{38484,76968,38484,2144759999,-1071172114},
{38492,76984,38492,2145187826,-1071599972},
{38497,76995,38497,2145493522,-1071905689},
{38501,77003,38501,2145722851,-1072135034},
{38504,77009,38504,2145901251,-1072313448},
{38507,77014,38507,2146043993,-1072456200},
{54009,108018,54009,2128314199,-1054788412},
{54104,108209,54104,2132077687,-1058552283},
{54296,108593,54296,2139644735,-1066120099},
{54360,108721,54360,2142179035,-1068654656},
{54393,108786,54393,2143448437,-1069924187},
{54412,108825,54412,2144210801,-1070686628},
{54425,108850,54425,2144719345,-1071195224},
{54434,108869,54434,2145082738,-1071558654},
{54441,108883,54441,2145355364,-1071831307},
{54446,108893,54446,2145567455,-1072043419},
{54451,108902,54451,2145737157,-1072213139},
{76252,152505,76252,2124676993,-1051240181},
{76412,152825,76412,2129138878,-1055702706},
{76734,153469,76734,2138119106,-1064684223},
{76843,153686,76843,2141129373,-1067694922},
{76897,153794,76897,2142637687,-1069203453},
{76929,153859,76929,2143543696,-1070109592},
{76951,153902,76951,2144148128,-1070714110},
{76966,153933,76966,2144580074,-1071146118},
{76978,153956,76978,2144904147,-1071470238},
{76987,153975,76987,2145156272,-1071722399},
{76994,153989,76994,2145358015,-1071924171},
{107622,215245,107622,2120347510,-1047036179},
{107891,215782,107891,2125634296,-1052324038},
{108432,216864,108432,2136287356,-1062979262},
{108613,217226,108613,2139862145,-1066554776},
{108704,217408,108704,2141654030,-1068347024},
{108759,217518,108759,2142730602,-1069423815},
{108795,217591,108795,2143448918,-1070142277},
{108821,217643,108821,2143962296,-1070655759},
{108841,217682,108841,2144347490,-1071041032},
{108856,217712,108856,2144647182,-1071340785},
{108868,217737,108868,2144886996,-1071580647},
{151842,303685,151842,2115193160,-1042058707},
{152291,304583,152291,2121452974,-1048320319},
{153198,306397,153198,2134084418,-1060955390},
{153503,307006,153503,2138328392,-1065200583},
{153656,307312,153656,2140456716,-1067329517},
{153747,307495,153747,2141735745,-1068608913},
{153809,307618,153809,2142589280,-1069462694},
{153852,307705,153852,2143199365,-1070072954},
{153885,307771,153885,2143657157,-1070530877},
{153911,307822,153911,2144013352,-1070887175},
{153931,307863,153931,2144298394,-1071172298},
{214135,428271,214135,2109055663,-1036170384},
{214887,429775,214887,2116461401,-1043579129},
{216407,432815,216407,2131430007,-1058553814},
{216918,433837,216918,2136466705,-1063592558},
{217175,434351,217175,2138993991,-1066120870},
{217329,434659,217329,2140513234,-1067640731},
{217432,434865,217432,2141527263,-1068655171},
{217506,435012,217506,2142252157,-1069380360},
{217561,435123,217561,2142796150,-1069924574},
{217604,435209,217604,2143219447,-1070348043},
{217638,435277,217638,2143558205,-1070686938},
{301826,603653,301826,2101745977,-1029211461},
{303083,606167,303083,2110498666,-1037969177},
{305629,611258,305629,2128224581,-1055705275},
{306487,612974,306487,2134199574,-1061683700},
{306918,613836,306918,2137199669,-1064685518},
{307177,614354,307177,2139003778,-1066490663},
{307350,614700,307350,2140208211,-1067695788},
{307473,614947,307473,2141069350,-1068557422},
{307566,615133,307566,2141715660,-1069204103},
{307638,615277,307638,2142218615,-1069707347},
{307696,615393,307696,2142621149,-1070110113},
{425163,850326,425163,2093038202,-1020997031},
{427261,854523,427261,2103370466,-1031337691},
{431522,863044,431522,2124344076,-1052328343},
{432961,865922,432961,2131428539,-1059418562},
{433684,867369,433684,2134988520,-1062981435},
{434119,868239,434119,2137130222,-1065124878},
{434410,868820,434410,2138560412,-1066556230},
{434617,869235,434617,2139583149,-1067579798},
{434773,869547,434773,2140350844,-1068348117},
{434895,869790,434895,2140948321,-1068946079},
{434992,869984,434992,2141426543,-1069424690},
{598458,1196917,598458,2082662270,-1011314281},
{601958,1203916,601958,2094841718,-1023507728},
{609082,1218164,609082,2119633024,-1048327530},
{611494,1222988,611494,2128027705,-1056731860},
{612707,1225415,612707,2132250030,-1060959038},
{613438,1226876,613438,2134791478,-1063503407},
{613925,1227851,613925,2136489144,-1065203025},
{614274,1228549,614274,2137703417,-1066418694},
{614536,1229073,614536,2138615028,-1067331352},
{614740,1229481,614740,2139324597,-1068041737},
{614903,1229807,614903,2139892591,-1068610383},
{841656,1683312,841656,2070295152,-999919954},
{847483,1694966,847483,2084627377,-1014275486},
{859381,1718763,859381,2113895498,-1043591202},
{863422,1726844,863422,2123835031,-1053546897},
{865457,1730914,865457,2128839931,-1058559937},
{866682,1733365,866682,2131854210,-1061579117},
{867501,1735002,867501,2133868476,-1063596658},
{868087,1736174,868087,2135309569,-1065040095},
{868527,1737054,868527,2136391667,-1066123953},
{868869,1737739,868869,2137234057,-1066967713},
{869143,1738287,869143,2137908448,-1067643200},
{1182468,2364936,1182468,2055550357,-986538407},
{1192150,2384300,1192150,2072381098,-1003407877},
{1211997,2423995,1211997,2106883204,-1037989372},
{1218761,2437522,1218761,2118640623,-1049773846},
{1222171,2444342,1222171,2124568680,-1055715543},
{1224226,2448453,1224226,2128141464,-1059296548},
{1225600,2451201,1225600,2130530003,-1061690583},
{1226584,2453168,1226584,2132239388,-1063403901},
{1227322,2454645,1227322,2133523228,-1064690695},
{1227897,2455795,1227897,2134522839,-1065692607},
{1228358,2456716,1228358,2135323203,-1066494812},
{1659274,3318549,1659274,2037965389,-970860664},
{1675326,3350653,1675326,2057681174,-990640658},
{1708381,3416762,1708381,2098279735,-1031371438},
{1719691,3439382,1719691,2112170955,-1045307897},
{1725402,3450805,1725402,2119185766,-1052345554},
{1728847,3457695,1728847,2123417063,-1056590631},
{1731152,3462304,1731152,2126247328,-1059430113},
{1732801,3465603,1732801,2128273569,-1061462953},
{1734041,3468082,1734041,2129795786,-1062990128},
{1735006,3470012,1735006,2130981238,-1064179441},
{1735779,3471558,1735779,2131930551,-1065131846},
{2325026,4650053,2325026,2016986907,-952545190},
{2351569,4703139,2351569,2040013181,-975677636},
{2406515,4813031,2406515,2087679813,-1023564054},
{2425406,4850812,2425406,2104067586,-1040027389},
{2434963,4869926,2434963,2112358332,-1048356363},
{2440733,4881467,2440733,2117364216,-1053385328},
{2444595,4889191,2444595,2120714674,-1056751235},
{2447362,4894724,2447362,2123114357,-1059161983},
{2449440,4898881,2449440,2124917687,-1060973627},
{2451060,4902120,2451060,2126322395,-1062384813},
{2452357,4904714,2452357,2127447500,-1063515106},
{3252449,6504899,3252449,1991953192,-931221167},
{3296200,6592401,3296200,2018748588,-958191568},
{3387332,6774664,3387332,2074561854,-1014369361},
{3418839,6837679,3418839,2093858475,-1033792012},
{3434814,6869628,3434814,2103642031,-1043639466},
{3444471,6888942,3444471,2109556173,-1049592234},
{3450938,6901877,3450938,2113517444,-1053579376},
{3455573,6911147,3455573,2116356043,-1056436515},
{3459058,6918116,3459058,2118490001,-1058584411},
{3461773,6923546,3461773,2120152724,-1060257993},
{3463947,6927895,3463947,2121484783,-1061598752},
{4540897,9081794,4540897,1962073844,-906495609},
{4612745,9225490,4612745,1993118696,-937827854},
{4763485,9526970,4763485,2058251950,-1003564069},
{4815945,9631891,4815945,2080919450,-1026441409},
{4842611,9685222,4842611,2092441464,-1038070087},
{4858753,9717506,4858753,2099416122,-1045109312},
{4869574,9739148,4869574,2104091783,-1049828257},
{4877333,9754666,4877333,2107444312,-1053211822},
{4883168,9766337,4883168,2109965729,-1055756580},
{4887716,9775433,4887716,2111931005,-1057740050},
{4891361,9782723,4891361,2113505865,-1059329488},
{6325263,12650527,6325263,1926406511,-877965744},
{6442734,12885469,6442734,1962183130,-914212246},
{6691271,13382542,6691271,2037876749,-990900011},
{6778433,13556866,6778433,2064422627,-1017794537},
{6822871,13645742,6822871,2077956611,-1031506274},
{6849815,13699630,6849815,2086162515,-1039819952},
{6867896,13735792,6867896,2091669218,-1045398980},
{6880869,13761739,6880869,2095620410,-1049402066},
{6890632,13781264,6890632,2098593615,-1052414320},
{6898244,13796488,6898244,2100911946,-1054763100},
{6904346,13808692,6904346,2102770303,-1056645864},
{8787386,17574772,8787386,1883830915,-845238637},
{8978456,17956913,8978456,1924792457,-886964462},
{9386659,18773318,9386659,2012302447,-976107261},
{9531101,19062203,9531101,2043267925,-1007650509},
{9605003,19210006,9605003,2059110809,-1023788999},
{9649896,19299793,9649896,2068735018,-1033592782},
{9680059,19360119,9680059,2075201295,-1040179710},
{9701720,19403440,9701720,2079844869,-1044909926},
{9718029,19436058,9718029,2083341210,-1048471504},
{9730752,19461504,9730752,2086068724,-1051249910},
{9740954,19481908,9740954,2088255883,-1053477877},
{12170368,24340736,12170368,1833020484,-807960134},
{12479265,24958531,12479265,1879544567,-855719806},
{13146616,26293233,13146616,1980056610,-958901255},
{13385216,26770433,13385216,2015992898,-995791941},
{13507793,27015587,13507793,2034454680,-1014744033},
{13582423,27164847,13582423,2045694951,-1026282823},
{13632636,27265273,13632636,2053257722,-1034046447},
{13668731,27337462,13668731,2058694027,-1039627130},
{13695927,27391855,13695927,2062790185,-1043832074},
{13717155,27434311,13717155,2065987372,-1047114172},
{13734185,27468370,13734185,2068552267,-1049747185},
{16796193,33592387,16796193,1772412863,-765855815},
{17292027,34584055,17292027,1824735547,-820161834},
{18377029,36754058,18377029,1939229999,-938996293},
{18769600,37539200,18769600,1980655931,-981992509},
{18972243,37944486,18972243,2002039770,-1004186920},
{19095943,38191886,19095943,2015093151,-1017735100},
{19179309,38358619,19179309,2023890383,-1026865799},
{19239304,38478608,19239304,2030221295,-1033436689},
{19284547,38569094,19284547,2034995532,-1038391898},
{19319883,38639766,19319883,2038724380,-1042262090},
{19348245,38696491,19348245,2041717311,-1045368472},
{23086903,46173807,23086903,1700180433,-718786226},
{23876198,47752397,23876198,1758306196,-780069169},
{25628578,51257156,25628578,1887356040,-916128531},
{26271300,52542601,26271300,1934687796,-966031176},
{26604904,53209808,26604904,1959255230,-991933024},
{26809164,53618328,26809164,1974297478,-1007792312},
{26947088,53894177,26947088,1984454623,-1018501156},
{27046478,54092957,27046478,1991773949,-1026218041},
{27121503,54243007,27121503,1997298974,-1032043165},
{27180144,54360289,27180144,2001617453,-1036596208},
{27227240,54454480,27227240,2005085705,-1040252843},
{31589485,63178970,31589485,1614202708,-666818827},
{32833809,65667619,32833809,1677786901,-735380318},
{35641695,71283391,35641695,1821268090,-890093051},
{36687511,73375023,36687511,1874708612,-947716835},
{37233777,74467554,37233777,1902622442,-977815728},
{37569415,75138830,37569415,1919773340,-996309178},
{37796556,75593112,37796556,1931380092,-1008824494},
{37960488,75920977,37960488,1939756929,-1017857060},
{38084374,76168748,38084374,1946087399,-1024683072},
{38181289,76362579,38181289,1951039736,-1030023073},
{38259178,76518356,38259178,1955019791,-1034314681},
{43004703,86009407,43004703,1512041128,-610318119},
{44944494,89888988,44944494,1580243977,-686280132},
{49401114,98802229,49401114,1736938316,-860800953},
{51089773,102179547,51089773,1796311389,-926928661},
{51978147,103956295,51978147,1827546539,-961717307},
{52526158,105052316,52526158,1846814532,-983177343},
{52897963,105795927,52897963,1859887175,-997737207},
{53166778,106333556,53166778,1869338660,-1008263950},
{53370188,106740377,53370188,1876490555,-1016229486},
{53529476,107058952,53529476,1882091087,-1022467168},
{53657592,107315184,53657592,1886595640,-1027484186},
{58220519,116441038,58220519,1390915479,-550055733},
{61205645,122411290,61205645,1462231534,-633312292},
{68199161,136398323,68199161,1629309921,-828364745},
{70899550,141799101,70899550,1693823483,-903679864},
{72331557,144663115,72331557,1728034801,-943619210},
{73218869,146437738,73218869,1749233080,-968366733},
{73822603,147645207,73822603,1763656587,-985205179},
{74259974,148519949,74259974,1774105584,-997403661},
{74591419,149182838,74591419,1782023947,-1006647801},
{74851262,149702524,74851262,1788231712,-1013894937},
{75060443,150120886,75060443,1793229151,-1019729101},
{78352429,156704859,78352429,1247674584,-487342479},
{82878656,165757312,82878656,1319749670,-577522472},
{93704853,187409706,93704853,1492144716,-793222306},
{97970730,195941460,97970730,1560074021,-878215118},
{100252712,200505425,100252712,1596412038,-923681066},
{101673652,203347305,101673652,1619038912,-951991699},
{102643536,205287073,102643536,1634483231,-971315555},
{103347717,206695435,103347717,1645696525,-985345573},
{103882227,207764454,103882227,1654207985,-995995071},
{104301794,208603589,104301794,1660889125,-1004354480},
{104639896,209279793,104639896,1666273020,-1011090783},
{104796818,209593636,104796818,1078744319,-424189770},
{111544626,223089253,111544626,1148204062,-520640746},
{128032510,256065020,128032510,1317924963,-756313180},
{134667781,269335563,134667781,1386226287,-851155591},
{138250182,276500364,138250182,1423102353,-902361259},
{140492592,280985185,140492592,1446184997,-934413545},
{142028388,284056776,142028388,1461993973,-956365702},
{143146103,286292207,143146103,1473499375,-972341968},
{143996004,287992008,143996004,1482247971,-984490164},
{144664047,289328094,144664047,1489124590,-994038956},
{145202961,290405922,145202961,1494671996,-1001742019},
{139311738,278623476,139311738,880016370,-363521500},
{149179103,298358207,149179103,942347393,-465321986},
{173799301,347598602,173799301,1097870374,-719325757},
{183917059,367834119,183917059,1161783100,-823709515},
{189430938,378861876,189430938,1196613641,-880595570},
{192900867,385801734,192900867,1218532788,-916394433},
{195285649,390571299,195285649,1233597186,-940997961},
{197025488,394050976,197025488,1244587548,-958947678},
{198350848,396701696,198350848,1252959698,-972621269},
{199394076,398788153,199394076,1259549652,-983384135},
{200236593,400473187,200236593,1264871736,-992076288},
{184155418,368310836,184155418,646614121,-309493971},
{198267318,396534636,198267318,696164408,-415491858},
{234153927,468307855,234153927,822170956,-685044845},
{249188388,498376776,249188388,874960576,-797972306},
{257453627,514907254,257453627,903981825,-860054512},
{262681295,525362591,262681295,922337430,-899320790},
{266285969,532571939,266285969,934994311,-926396368},
{268921906,537843813,268921906,944249722,-946195527},
{270933362,541866725,270933362,951312429,-961304057},
{272518753,545037506,272518753,956879117,-973212307},
{273800487,547600974,273800487,961379595,-982839722},
{242344825,484689650,242344825,372426117,-268063595},
{262004215,524008430,262004215,402637904,-376912942},
{312744927,625489854,312744927,480614260,-657852145},
{334327282,668654564,334327282,513781186,-777348493},
{346275420,692550841,346275420,532142621,-843502481},
{353863206,707726413,353863206,543803236,-885514240},
{359109211,718218423,359109211,551865093,-914560117},
{362952608,725905216,362952608,557771475,-935840084},
{365889580,731779161,365889580,562284901,-952101402},
{368206962,736413925,368206962,565846163,-964932190},
{370082110,740164221,370082110,568727818,-975314437}
};