/*
  Constant data
  -------------
  file: temp/tables.c
  Lookup tables and standard wavetables.
  created: Thu Dec 16 11:33:05 2021
  AUTOMATICALLY GENERATED FILE, DO NOT EDIT
*/


// Envelope time constant scale table
const unsigned short int env_scale_table[128] =
{
  181,186,192,197,203,209,215,222,228,235,242,249,256,264,271,279,287,296,304,313,323,332,342,352,362,
  373,384,395,406,418,431,443,456,470,483,497,512,527,542,558,575,592,609,627,645,664,683,703,724,745,
  767,790,813,837,861,886,912,939,967,995,1024,1054,1085,1117,1149,1183,1218,1253,1290,1328,1367,1407,
  1448,1491,1534,1579,1625,1673,1722,1773,1825,1878,1933,1990,2048,2108,2170,2233,2299,2366,2435,2507,
  2580,2656,2734,2814,2896,2981,3069,3158,3251,3346,3444,3545,3649,3756,3866,3979,4096,4216,4340,4467,
  4598,4732,4871,5014,5161,5312,5468,5628,5793,5962,6137,6317,6502,6693,6889,7090
};

// Exponential look up table, 0..1 in to 1..2 out
const unsigned short int exp_table[1024] =
{
  32767,32789,32811,32834,32856,32878,32900,32923,32945,32967,32990,33012,33034,33057,33079,33101,33124,
  33146,33169,33191,33214,33236,33259,33281,33304,33326,33349,33371,33394,33417,33439,33462,33485,33507,
  33530,33553,33575,33598,33621,33644,33666,33689,33712,33735,33758,33780,33803,33826,33849,33872,33895,
  33918,33941,33964,33987,34010,34033,34056,34079,34102,34125,34148,34171,34195,34218,34241,34264,34287,
  34310,34334,34357,34380,34404,34427,34450,34473,34497,34520,34544,34567,34590,34614,34637,34661,34684,
  34708,34731,34755,34778,34802,34825,34849,34872,34896,34920,34943,34967,34991,35014,35038,35062,35086,
  35109,35133,35157,35181,35204,35228,35252,35276,35300,35324,35348,35372,35396,35420,35444,35468,35492,
  35516,35540,35564,35588,35612,35636,35660,35684,35708,35733,35757,35781,35805,35830,35854,35878,35902,
  35927,35951,35975,36000,36024,36048,36073,36097,36122,36146,36171,36195,36220,36244,36269,36293,36318,
  36342,36367,36392,36416,36441,36466,36490,36515,36540,36565,36589,36614,36639,36664,36689,36713,36738,
  36763,36788,36813,36838,36863,36888,36913,36938,36963,36988,37013,37038,37063,37088,37113,37138,37163,
  37189,37214,37239,37264,37289,37315,37340,37365,37391,37416,37441,37467,37492,37517,37543,37568,37594,
  37619,37644,37670,37695,37721,37747,37772,37798,37823,37849,37875,37900,37926,37952,37977,38003,38029,
  38054,38080,38106,38132,38158,38183,38209,38235,38261,38287,38313,38339,38365,38391,38417,38443,38469,
  38495,38521,38547,38573,38599,38625,38652,38678,38704,38730,38756,38783,38809,38835,38861,38888,38914,
  38940,38967,38993,39020,39046,39072,39099,39125,39152,39178,39205,39231,39258,39285,39311,39338,39364,
  39391,39418,39444,39471,39498,39525,39551,39578,39605,39632,39659,39685,39712,39739,39766,39793,39820,
  39847,39874,39901,39928,39955,39982,40009,40036,40063,40090,40118,40145,40172,40199,40226,40254,40281,
  40308,40335,40363,40390,40417,40445,40472,40500,40527,40554,40582,40609,40637,40664,40692,40720,40747,
  40775,40802,40830,40858,40885,40913,40941,40968,40996,41024,41052,41079,41107,41135,41163,41191,41219,
  41247,41275,41302,41330,41358,41386,41414,41442,41471,41499,41527,41555,41583,41611,41639,41668,41696,
  41724,41752,41780,41809,41837,41865,41894,41922,41951,41979,42007,42036,42064,42093,42121,42150,42178,
  42207,42235,42264,42293,42321,42350,42379,42407,42436,42465,42494,42522,42551,42580,42609,42638,42666,
  42695,42724,42753,42782,42811,42840,42869,42898,42927,42956,42985,43014,43044,43073,43102,43131,43160,
  43190,43219,43248,43277,43307,43336,43365,43395,43424,43453,43483,43512,43542,43571,43601,43630,43660,
  43689,43719,43749,43778,43808,43837,43867,43897,43927,43956,43986,44016,44046,44076,44105,44135,44165,
  44195,44225,44255,44285,44315,44345,44375,44405,44435,44465,44495,44525,44555,44586,44616,44646,44676,
  44707,44737,44767,44797,44828,44858,44888,44919,44949,44980,45010,45041,45071,45102,45132,45163,45193,
  45224,45255,45285,45316,45347,45377,45408,45439,45470,45500,45531,45562,45593,45624,45655,45685,45716,
  45747,45778,45809,45840,45871,45902,45934,45965,45996,46027,46058,46089,46120,46152,46183,46214,46246,
  46277,46308,46340,46371,46402,46434,46465,46497,46528,46560,46591,46623,46654,46686,46717,46749,46781,
  46812,46844,46876,46908,46939,46971,47003,47035,47067,47098,47130,47162,47194,47226,47258,47290,47322,
  47354,47386,47418,47450,47483,47515,47547,47579,47611,47644,47676,47708,47740,47773,47805,47838,47870,
  47902,47935,47967,48000,48032,48065,48097,48130,48162,48195,48228,48260,48293,48326,48358,48391,48424,
  48457,48490,48522,48555,48588,48621,48654,48687,48720,48753,48786,48819,48852,48885,48918,48951,48984,
  49018,49051,49084,49117,49150,49184,49217,49250,49284,49317,49350,49384,49417,49451,49484,49518,49551,
  49585,49618,49652,49686,49719,49753,49787,49820,49854,49888,49922,49955,49989,50023,50057,50091,50125,
  50159,50193,50227,50261,50295,50329,50363,50397,50431,50465,50499,50534,50568,50602,50636,50671,50705,
  50739,50774,50808,50842,50877,50911,50946,50980,51015,51049,51084,51118,51153,51188,51222,51257,51292,
  51327,51361,51396,51431,51466,51501,51535,51570,51605,51640,51675,51710,51745,51780,51815,51850,51885,
  51921,51956,51991,52026,52061,52097,52132,52167,52202,52238,52273,52309,52344,52379,52415,52450,52486,
  52521,52557,52593,52628,52664,52700,52735,52771,52807,52842,52878,52914,52950,52986,53022,53057,53093,
  53129,53165,53201,53237,53273,53309,53346,53382,53418,53454,53490,53526,53563,53599,53635,53672,53708,
  53744,53781,53817,53854,53890,53926,53963,54000,54036,54073,54109,54146,54183,54219,54256,54293,54330,
  54366,54403,54440,54477,54514,54551,54588,54625,54661,54699,54736,54773,54810,54847,54884,54921,54958,
  54996,55033,55070,55107,55145,55182,55219,55257,55294,55332,55369,55407,55444,55482,55519,55557,55594,
  55632,55670,55707,55745,55783,55821,55858,55896,55934,55972,56010,56048,56086,56124,56162,56200,56238,
  56276,56314,56352,56390,56428,56467,56505,56543,56581,56620,56658,56696,56735,56773,56812,56850,56889,
  56927,56966,57004,57043,57082,57120,57159,57198,57236,57275,57314,57353,57392,57430,57469,57508,57547,
  57586,57625,57664,57703,57742,57781,57820,57860,57899,57938,57977,58016,58056,58095,58134,58174,58213,
  58253,58292,58331,58371,58411,58450,58490,58529,58569,58609,58648,58688,58728,58767,58807,58847,58887,
  58927,58967,59007,59047,59087,59127,59167,59207,59247,59287,59327,59367,59407,59448,59488,59528,59568,
  59609,59649,59690,59730,59770,59811,59851,59892,59932,59973,60014,60054,60095,60136,60176,60217,60258,
  60299,60340,60380,60421,60462,60503,60544,60585,60626,60667,60708,60749,60790,60832,60873,60914,60955,
  60997,61038,61079,61121,61162,61203,61245,61286,61328,61369,61411,61452,61494,61536,61577,61619,61661,
  61703,61744,61786,61828,61870,61912,61954,61996,62038,62080,62122,62164,62206,62248,62290,62332,62374,
  62417,62459,62501,62544,62586,62628,62671,62713,62756,62798,62841,62883,62926,62968,63011,63054,63096,
  63139,63182,63225,63267,63310,63353,63396,63439,63482,63525,63568,63611,63654,63697,63740,63783,63827,
  63870,63913,63956,64000,64043,64086,64130,64173,64217,64260,64304,64347,64391,64434,64478,64522,64565,
  64609,64653,64697,64740,64784,64828,64872,64916,64960,65004,65048,65092,65136,65180,65224,65268,65313,
  65357,65401,65445,65490
};


