mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 21:01:45 -05:00
650 lines
7.7 KiB
C++
650 lines
7.7 KiB
C++
/* Generated by hanning_file() Octave function */
|
|
|
|
namespace FreeDV
|
|
{
|
|
|
|
const float hanning[]={
|
|
0,
|
|
2.4171e-05,
|
|
9.66816e-05,
|
|
0.000217525,
|
|
0.000386689,
|
|
0.000604158,
|
|
0.00086991,
|
|
0.00118392,
|
|
0.00154616,
|
|
0.00195659,
|
|
0.00241517,
|
|
0.00292186,
|
|
0.00347661,
|
|
0.00407937,
|
|
0.00473008,
|
|
0.00542867,
|
|
0.00617507,
|
|
0.00696922,
|
|
0.00781104,
|
|
0.00870045,
|
|
0.00963736,
|
|
0.0106217,
|
|
0.0116533,
|
|
0.0127322,
|
|
0.0138581,
|
|
0.0150311,
|
|
0.0162509,
|
|
0.0175175,
|
|
0.0188308,
|
|
0.0201906,
|
|
0.0215968,
|
|
0.0230492,
|
|
0.0245478,
|
|
0.0260923,
|
|
0.0276826,
|
|
0.0293186,
|
|
0.0310001,
|
|
0.032727,
|
|
0.034499,
|
|
0.036316,
|
|
0.0381779,
|
|
0.0400844,
|
|
0.0420354,
|
|
0.0440307,
|
|
0.04607,
|
|
0.0481533,
|
|
0.0502802,
|
|
0.0524506,
|
|
0.0546643,
|
|
0.056921,
|
|
0.0592206,
|
|
0.0615627,
|
|
0.0639473,
|
|
0.0663741,
|
|
0.0688427,
|
|
0.0713531,
|
|
0.0739048,
|
|
0.0764978,
|
|
0.0791318,
|
|
0.0818064,
|
|
0.0845214,
|
|
0.0872767,
|
|
0.0900718,
|
|
0.0929066,
|
|
0.0957807,
|
|
0.0986939,
|
|
0.101646,
|
|
0.104636,
|
|
0.107665,
|
|
0.110732,
|
|
0.113836,
|
|
0.116978,
|
|
0.120156,
|
|
0.123372,
|
|
0.126624,
|
|
0.129912,
|
|
0.133235,
|
|
0.136594,
|
|
0.139989,
|
|
0.143418,
|
|
0.146881,
|
|
0.150379,
|
|
0.153911,
|
|
0.157476,
|
|
0.161074,
|
|
0.164705,
|
|
0.168368,
|
|
0.172063,
|
|
0.17579,
|
|
0.179549,
|
|
0.183338,
|
|
0.187158,
|
|
0.191008,
|
|
0.194888,
|
|
0.198798,
|
|
0.202737,
|
|
0.206704,
|
|
0.2107,
|
|
0.214724,
|
|
0.218775,
|
|
0.222854,
|
|
0.226959,
|
|
0.231091,
|
|
0.235249,
|
|
0.239432,
|
|
0.243641,
|
|
0.247874,
|
|
0.252132,
|
|
0.256414,
|
|
0.260719,
|
|
0.265047,
|
|
0.269398,
|
|
0.273772,
|
|
0.278167,
|
|
0.282584,
|
|
0.287021,
|
|
0.29148,
|
|
0.295958,
|
|
0.300456,
|
|
0.304974,
|
|
0.30951,
|
|
0.314065,
|
|
0.318638,
|
|
0.323228,
|
|
0.327835,
|
|
0.332459,
|
|
0.3371,
|
|
0.341756,
|
|
0.346427,
|
|
0.351113,
|
|
0.355814,
|
|
0.360528,
|
|
0.365256,
|
|
0.369997,
|
|
0.374751,
|
|
0.379516,
|
|
0.384293,
|
|
0.389082,
|
|
0.393881,
|
|
0.398691,
|
|
0.40351,
|
|
0.408338,
|
|
0.413176,
|
|
0.418022,
|
|
0.422876,
|
|
0.427737,
|
|
0.432605,
|
|
0.43748,
|
|
0.44236,
|
|
0.447247,
|
|
0.452138,
|
|
0.457034,
|
|
0.461935,
|
|
0.466839,
|
|
0.471746,
|
|
0.476655,
|
|
0.481568,
|
|
0.486481,
|
|
0.491397,
|
|
0.496313,
|
|
0.501229,
|
|
0.506145,
|
|
0.511061,
|
|
0.515976,
|
|
0.520889,
|
|
0.5258,
|
|
0.530708,
|
|
0.535614,
|
|
0.540516,
|
|
0.545414,
|
|
0.550308,
|
|
0.555197,
|
|
0.560081,
|
|
0.564958,
|
|
0.56983,
|
|
0.574695,
|
|
0.579552,
|
|
0.584402,
|
|
0.589244,
|
|
0.594077,
|
|
0.598901,
|
|
0.603715,
|
|
0.60852,
|
|
0.613314,
|
|
0.618097,
|
|
0.622868,
|
|
0.627628,
|
|
0.632375,
|
|
0.63711,
|
|
0.641831,
|
|
0.646538,
|
|
0.651232,
|
|
0.655911,
|
|
0.660574,
|
|
0.665222,
|
|
0.669855,
|
|
0.67447,
|
|
0.679069,
|
|
0.683651,
|
|
0.688215,
|
|
0.69276,
|
|
0.697287,
|
|
0.701795,
|
|
0.706284,
|
|
0.710752,
|
|
0.7152,
|
|
0.719627,
|
|
0.724033,
|
|
0.728418,
|
|
0.73278,
|
|
0.73712,
|
|
0.741437,
|
|
0.74573,
|
|
0.75,
|
|
0.754246,
|
|
0.758467,
|
|
0.762663,
|
|
0.766833,
|
|
0.770978,
|
|
0.775097,
|
|
0.779189,
|
|
0.783254,
|
|
0.787291,
|
|
0.791301,
|
|
0.795283,
|
|
0.799236,
|
|
0.80316,
|
|
0.807055,
|
|
0.810921,
|
|
0.814756,
|
|
0.81856,
|
|
0.822334,
|
|
0.826077,
|
|
0.829788,
|
|
0.833468,
|
|
0.837115,
|
|
0.840729,
|
|
0.844311,
|
|
0.847859,
|
|
0.851374,
|
|
0.854855,
|
|
0.858301,
|
|
0.861713,
|
|
0.86509,
|
|
0.868431,
|
|
0.871737,
|
|
0.875007,
|
|
0.87824,
|
|
0.881437,
|
|
0.884598,
|
|
0.887721,
|
|
0.890806,
|
|
0.893854,
|
|
0.896864,
|
|
0.899835,
|
|
0.902768,
|
|
0.905661,
|
|
0.908516,
|
|
0.911331,
|
|
0.914106,
|
|
0.916841,
|
|
0.919536,
|
|
0.92219,
|
|
0.924804,
|
|
0.927376,
|
|
0.929907,
|
|
0.932397,
|
|
0.934845,
|
|
0.93725,
|
|
0.939614,
|
|
0.941935,
|
|
0.944213,
|
|
0.946448,
|
|
0.94864,
|
|
0.950789,
|
|
0.952894,
|
|
0.954955,
|
|
0.956972,
|
|
0.958946,
|
|
0.960874,
|
|
0.962759,
|
|
0.964598,
|
|
0.966393,
|
|
0.968142,
|
|
0.969846,
|
|
0.971505,
|
|
0.973118,
|
|
0.974686,
|
|
0.976207,
|
|
0.977683,
|
|
0.979112,
|
|
0.980495,
|
|
0.981832,
|
|
0.983122,
|
|
0.984365,
|
|
0.985561,
|
|
0.986711,
|
|
0.987813,
|
|
0.988868,
|
|
0.989876,
|
|
0.990837,
|
|
0.99175,
|
|
0.992616,
|
|
0.993434,
|
|
0.994204,
|
|
0.994927,
|
|
0.995601,
|
|
0.996228,
|
|
0.996807,
|
|
0.997337,
|
|
0.99782,
|
|
0.998255,
|
|
0.998641,
|
|
0.998979,
|
|
0.999269,
|
|
0.999511,
|
|
0.999704,
|
|
0.999849,
|
|
0.999946,
|
|
0.999994,
|
|
0.999994,
|
|
0.999946,
|
|
0.999849,
|
|
0.999704,
|
|
0.999511,
|
|
0.999269,
|
|
0.998979,
|
|
0.998641,
|
|
0.998255,
|
|
0.99782,
|
|
0.997337,
|
|
0.996807,
|
|
0.996228,
|
|
0.995601,
|
|
0.994927,
|
|
0.994204,
|
|
0.993434,
|
|
0.992616,
|
|
0.99175,
|
|
0.990837,
|
|
0.989876,
|
|
0.988868,
|
|
0.987813,
|
|
0.986711,
|
|
0.985561,
|
|
0.984365,
|
|
0.983122,
|
|
0.981832,
|
|
0.980495,
|
|
0.979112,
|
|
0.977683,
|
|
0.976207,
|
|
0.974686,
|
|
0.973118,
|
|
0.971505,
|
|
0.969846,
|
|
0.968142,
|
|
0.966393,
|
|
0.964598,
|
|
0.962759,
|
|
0.960874,
|
|
0.958946,
|
|
0.956972,
|
|
0.954955,
|
|
0.952894,
|
|
0.950789,
|
|
0.94864,
|
|
0.946448,
|
|
0.944213,
|
|
0.941935,
|
|
0.939614,
|
|
0.93725,
|
|
0.934845,
|
|
0.932397,
|
|
0.929907,
|
|
0.927376,
|
|
0.924804,
|
|
0.92219,
|
|
0.919536,
|
|
0.916841,
|
|
0.914106,
|
|
0.911331,
|
|
0.908516,
|
|
0.905661,
|
|
0.902768,
|
|
0.899835,
|
|
0.896864,
|
|
0.893854,
|
|
0.890806,
|
|
0.887721,
|
|
0.884598,
|
|
0.881437,
|
|
0.87824,
|
|
0.875007,
|
|
0.871737,
|
|
0.868431,
|
|
0.86509,
|
|
0.861713,
|
|
0.858301,
|
|
0.854855,
|
|
0.851374,
|
|
0.847859,
|
|
0.844311,
|
|
0.840729,
|
|
0.837115,
|
|
0.833468,
|
|
0.829788,
|
|
0.826077,
|
|
0.822334,
|
|
0.81856,
|
|
0.814756,
|
|
0.810921,
|
|
0.807055,
|
|
0.80316,
|
|
0.799236,
|
|
0.795283,
|
|
0.791301,
|
|
0.787291,
|
|
0.783254,
|
|
0.779189,
|
|
0.775097,
|
|
0.770978,
|
|
0.766833,
|
|
0.762663,
|
|
0.758467,
|
|
0.754246,
|
|
0.75,
|
|
0.74573,
|
|
0.741437,
|
|
0.73712,
|
|
0.73278,
|
|
0.728418,
|
|
0.724033,
|
|
0.719627,
|
|
0.7152,
|
|
0.710752,
|
|
0.706284,
|
|
0.701795,
|
|
0.697287,
|
|
0.69276,
|
|
0.688215,
|
|
0.683651,
|
|
0.679069,
|
|
0.67447,
|
|
0.669855,
|
|
0.665222,
|
|
0.660574,
|
|
0.655911,
|
|
0.651232,
|
|
0.646538,
|
|
0.641831,
|
|
0.63711,
|
|
0.632375,
|
|
0.627628,
|
|
0.622868,
|
|
0.618097,
|
|
0.613314,
|
|
0.60852,
|
|
0.603715,
|
|
0.598901,
|
|
0.594077,
|
|
0.589244,
|
|
0.584402,
|
|
0.579552,
|
|
0.574695,
|
|
0.56983,
|
|
0.564958,
|
|
0.560081,
|
|
0.555197,
|
|
0.550308,
|
|
0.545414,
|
|
0.540516,
|
|
0.535614,
|
|
0.530708,
|
|
0.5258,
|
|
0.520889,
|
|
0.515976,
|
|
0.511061,
|
|
0.506145,
|
|
0.501229,
|
|
0.496313,
|
|
0.491397,
|
|
0.486481,
|
|
0.481568,
|
|
0.476655,
|
|
0.471746,
|
|
0.466839,
|
|
0.461935,
|
|
0.457034,
|
|
0.452138,
|
|
0.447247,
|
|
0.44236,
|
|
0.43748,
|
|
0.432605,
|
|
0.427737,
|
|
0.422876,
|
|
0.418022,
|
|
0.413176,
|
|
0.408338,
|
|
0.40351,
|
|
0.398691,
|
|
0.393881,
|
|
0.389082,
|
|
0.384293,
|
|
0.379516,
|
|
0.374751,
|
|
0.369997,
|
|
0.365256,
|
|
0.360528,
|
|
0.355814,
|
|
0.351113,
|
|
0.346427,
|
|
0.341756,
|
|
0.3371,
|
|
0.332459,
|
|
0.327835,
|
|
0.323228,
|
|
0.318638,
|
|
0.314065,
|
|
0.30951,
|
|
0.304974,
|
|
0.300456,
|
|
0.295958,
|
|
0.29148,
|
|
0.287021,
|
|
0.282584,
|
|
0.278167,
|
|
0.273772,
|
|
0.269398,
|
|
0.265047,
|
|
0.260719,
|
|
0.256414,
|
|
0.252132,
|
|
0.247874,
|
|
0.243641,
|
|
0.239432,
|
|
0.235249,
|
|
0.231091,
|
|
0.226959,
|
|
0.222854,
|
|
0.218775,
|
|
0.214724,
|
|
0.2107,
|
|
0.206704,
|
|
0.202737,
|
|
0.198798,
|
|
0.194888,
|
|
0.191008,
|
|
0.187158,
|
|
0.183338,
|
|
0.179549,
|
|
0.17579,
|
|
0.172063,
|
|
0.168368,
|
|
0.164705,
|
|
0.161074,
|
|
0.157476,
|
|
0.153911,
|
|
0.150379,
|
|
0.146881,
|
|
0.143418,
|
|
0.139989,
|
|
0.136594,
|
|
0.133235,
|
|
0.129912,
|
|
0.126624,
|
|
0.123372,
|
|
0.120156,
|
|
0.116978,
|
|
0.113836,
|
|
0.110732,
|
|
0.107665,
|
|
0.104636,
|
|
0.101646,
|
|
0.0986939,
|
|
0.0957807,
|
|
0.0929066,
|
|
0.0900718,
|
|
0.0872767,
|
|
0.0845214,
|
|
0.0818064,
|
|
0.0791318,
|
|
0.0764978,
|
|
0.0739048,
|
|
0.0713531,
|
|
0.0688427,
|
|
0.0663741,
|
|
0.0639473,
|
|
0.0615627,
|
|
0.0592206,
|
|
0.056921,
|
|
0.0546643,
|
|
0.0524506,
|
|
0.0502802,
|
|
0.0481533,
|
|
0.04607,
|
|
0.0440307,
|
|
0.0420354,
|
|
0.0400844,
|
|
0.0381779,
|
|
0.036316,
|
|
0.034499,
|
|
0.032727,
|
|
0.0310001,
|
|
0.0293186,
|
|
0.0276826,
|
|
0.0260923,
|
|
0.0245478,
|
|
0.0230492,
|
|
0.0215968,
|
|
0.0201906,
|
|
0.0188308,
|
|
0.0175175,
|
|
0.0162509,
|
|
0.0150311,
|
|
0.0138581,
|
|
0.0127322,
|
|
0.0116533,
|
|
0.0106217,
|
|
0.00963736,
|
|
0.00870045,
|
|
0.00781104,
|
|
0.00696922,
|
|
0.00617507,
|
|
0.00542867,
|
|
0.00473008,
|
|
0.00407937,
|
|
0.00347661,
|
|
0.00292186,
|
|
0.00241517,
|
|
0.00195659,
|
|
0.00154616,
|
|
0.00118392,
|
|
0.00086991,
|
|
0.000604158,
|
|
0.000386689,
|
|
0.000217525,
|
|
9.66816e-05,
|
|
2.4171e-05,
|
|
0
|
|
};
|
|
|
|
} // FreeDV
|