From 72d0df7d461841b7fca2b3c38c3dd61ccb798fd6 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 21 Dec 2016 10:42:32 -0800 Subject: [PATCH] Silence double->float conversion warning --- lib/EffectChorus.cpp | 256 +++++++++++++++++++++---------------------- 1 file changed, 128 insertions(+), 128 deletions(-) diff --git a/lib/EffectChorus.cpp b/lib/EffectChorus.cpp index d6964d2..16ce260 100644 --- a/lib/EffectChorus.cpp +++ b/lib/EffectChorus.cpp @@ -10,134 +10,134 @@ namespace amuse /* clang-format off */ static const float rsmpTab12khz[] = { - 0.097504, 0.802216, 0.101593, -0.000977, - 0.093506, 0.802032, 0.105804, -0.001038, - 0.089600, 0.801697, 0.110107, -0.001160, - 0.085785, 0.801178, 0.114471, -0.001282, - 0.082031, 0.800476, 0.118927, -0.001404, - 0.078369, 0.799622, 0.123474, -0.001526, - 0.074799, 0.798615, 0.128143, -0.001648, - 0.071350, 0.797424, 0.132874, -0.001770, - 0.067963, 0.796051, 0.137695, -0.001923, - 0.064697, 0.794525, 0.142609, -0.002045, - 0.061493, 0.792847, 0.147614, -0.002197, - 0.058350, 0.790985, 0.152710, -0.002319, - 0.055328, 0.788940, 0.157898, -0.002472, - 0.052368, 0.786743, 0.163177, -0.002655, - 0.049500, 0.784424, 0.168518, -0.002808, - 0.046722, 0.781891, 0.173981, -0.002991, - 0.044006, 0.779205, 0.179504, -0.003143, - 0.041412, 0.776367, 0.185120, -0.003326, - 0.038879, 0.773376, 0.190826, -0.003510, - 0.036407, 0.770233, 0.196594, -0.003693, - 0.034027, 0.766937, 0.202484, -0.003876, - 0.031738, 0.763489, 0.208435, -0.004059, - 0.029510, 0.759857, 0.214447, -0.004272, - 0.027374, 0.756104, 0.220551, -0.004456, - 0.025299, 0.752197, 0.226746, -0.004669, - 0.023315, 0.748169, 0.233002, -0.004852, - 0.021393, 0.743988, 0.239319, -0.005066, - 0.019562, 0.739655, 0.245728, -0.005310, - 0.017792, 0.735199, 0.252197, -0.005524, - 0.016052, 0.730591, 0.258728, -0.005707, - 0.014404, 0.725861, 0.265350, -0.005920, - 0.012817, 0.721008, 0.272034, -0.006165, - 0.011322, 0.716003, 0.278778, -0.006378, - 0.009888, 0.710907, 0.285583, -0.006561, - 0.008514, 0.705658, 0.292450, -0.006775, - 0.007202, 0.700317, 0.299347, -0.007019, - 0.005920, 0.694855, 0.306335, -0.007233, - 0.004700, 0.689270, 0.313385, -0.007416, - 0.003571, 0.683563, 0.320465, -0.007629, - 0.002472, 0.677734, 0.327606, -0.007874, - 0.001434, 0.671844, 0.334778, -0.008087, - 0.000458, 0.665833, 0.341980, -0.008270, - -0.000488, 0.659729, 0.349243, -0.008453, - -0.001343, 0.653534, 0.356567, -0.008636, - -0.002167, 0.647217, 0.363892, -0.008850, - -0.002960, 0.640839, 0.371277, -0.009033, - -0.003693, 0.634338, 0.378693, -0.009216, - -0.004364, 0.627777, 0.386139, -0.009338, - -0.004974, 0.621155, 0.393616, -0.009491, - -0.005585, 0.614441, 0.401093, -0.009644, - -0.006134, 0.607635, 0.408600, -0.009796, - -0.006653, 0.600769, 0.416107, -0.009918, - -0.007141, 0.593842, 0.423645, -0.010010, - -0.007568, 0.586853, 0.431213, -0.010132, - -0.007965, 0.579773, 0.438751, -0.010223, - -0.008331, 0.572662, 0.446320, -0.010284, - -0.008667, 0.565521, 0.453888, -0.010345, - -0.008972, 0.558319, 0.461456, -0.010406, - -0.009216, 0.551056, 0.469025, -0.010406, - -0.009460, 0.543732, 0.476593, -0.010406, - -0.009674, 0.536407, 0.484131, -0.010376, - -0.009857, 0.529022, 0.491669, -0.010376, - -0.010010, 0.521606, 0.499176, -0.010315, - -0.010132, 0.514160, 0.506683, -0.010254, - -0.010254, 0.506683, 0.514160, -0.010132, - -0.010315, 0.499176, 0.521606, -0.010010, - -0.010376, 0.491669, 0.529022, -0.009857, - -0.010376, 0.484131, 0.536407, -0.009674, - -0.010406, 0.476593, 0.543732, -0.009460, - -0.010406, 0.469025, 0.551056, -0.009216, - -0.010406, 0.461456, 0.558319, -0.008972, - -0.010345, 0.453888, 0.565521, -0.008667, - -0.010284, 0.446320, 0.572662, -0.008331, - -0.010223, 0.438751, 0.579773, -0.007965, - -0.010132, 0.431213, 0.586853, -0.007568, - -0.010010, 0.423645, 0.593842, -0.007141, - -0.009918, 0.416107, 0.600769, -0.006653, - -0.009796, 0.408600, 0.607635, -0.006134, - -0.009644, 0.401093, 0.614441, -0.005585, - -0.009491, 0.393616, 0.621155, -0.004974, - -0.009338, 0.386139, 0.627777, -0.004364, - -0.009216, 0.378693, 0.634338, -0.003693, - -0.009033, 0.371277, 0.640839, -0.002960, - -0.008850, 0.363892, 0.647217, -0.002167, - -0.008636, 0.356567, 0.653534, -0.001343, - -0.008453, 0.349243, 0.659729, -0.000488, - -0.008270, 0.341980, 0.665833, 0.000458, - -0.008087, 0.334778, 0.671844, 0.001434, - -0.007874, 0.327606, 0.677734, 0.002472, - -0.007629, 0.320465, 0.683563, 0.003571, - -0.007416, 0.313385, 0.689270, 0.004700, - -0.007233, 0.306335, 0.694855, 0.005920, - -0.007019, 0.299347, 0.700317, 0.007202, - -0.006775, 0.292450, 0.705658, 0.008514, - -0.006561, 0.285583, 0.710907, 0.009888, - -0.006378, 0.278778, 0.716003, 0.011322, - -0.006165, 0.272034, 0.721008, 0.012817, - -0.005920, 0.265350, 0.725861, 0.014404, - -0.005707, 0.258728, 0.730591, 0.016052, - -0.005524, 0.252197, 0.735199, 0.017792, - -0.005310, 0.245728, 0.739655, 0.019562, - -0.005066, 0.239319, 0.743988, 0.021393, - -0.004852, 0.233002, 0.748169, 0.023315, - -0.004669, 0.226746, 0.752197, 0.025299, - -0.004456, 0.220551, 0.756104, 0.027374, - -0.004272, 0.214447, 0.759857, 0.029510, - -0.004059, 0.208435, 0.763489, 0.031738, - -0.003876, 0.202484, 0.766937, 0.034027, - -0.003693, 0.196594, 0.770233, 0.036407, - -0.003510, 0.190826, 0.773376, 0.038879, - -0.003326, 0.185120, 0.776367, 0.041412, - -0.003143, 0.179504, 0.779205, 0.044006, - -0.002991, 0.173981, 0.781891, 0.046722, - -0.002808, 0.168518, 0.784424, 0.049500, - -0.002655, 0.163177, 0.786743, 0.052368, - -0.002472, 0.157898, 0.788940, 0.055328, - -0.002319, 0.152710, 0.790985, 0.058350, - -0.002197, 0.147614, 0.792847, 0.061493, - -0.002045, 0.142609, 0.794525, 0.064697, - -0.001923, 0.137695, 0.796051, 0.067963, - -0.001770, 0.132874, 0.797424, 0.071350, - -0.001648, 0.128143, 0.798615, 0.074799, - -0.001526, 0.123474, 0.799622, 0.078369, - -0.001404, 0.118927, 0.800476, 0.082031, - -0.001282, 0.114471, 0.801178, 0.085785, - -0.001160, 0.110107, 0.801697, 0.089600, - -0.001038, 0.105804, 0.802032, 0.093506, - -0.000977, 0.101593, 0.802216, 0.097504, + 0.097504f, 0.802216f, 0.101593f, -0.000977f, + 0.093506f, 0.802032f, 0.105804f, -0.001038f, + 0.089600f, 0.801697f, 0.110107f, -0.001160f, + 0.085785f, 0.801178f, 0.114471f, -0.001282f, + 0.082031f, 0.800476f, 0.118927f, -0.001404f, + 0.078369f, 0.799622f, 0.123474f, -0.001526f, + 0.074799f, 0.798615f, 0.128143f, -0.001648f, + 0.071350f, 0.797424f, 0.132874f, -0.001770f, + 0.067963f, 0.796051f, 0.137695f, -0.001923f, + 0.064697f, 0.794525f, 0.142609f, -0.002045f, + 0.061493f, 0.792847f, 0.147614f, -0.002197f, + 0.058350f, 0.790985f, 0.152710f, -0.002319f, + 0.055328f, 0.788940f, 0.157898f, -0.002472f, + 0.052368f, 0.786743f, 0.163177f, -0.002655f, + 0.049500f, 0.784424f, 0.168518f, -0.002808f, + 0.046722f, 0.781891f, 0.173981f, -0.002991f, + 0.044006f, 0.779205f, 0.179504f, -0.003143f, + 0.041412f, 0.776367f, 0.185120f, -0.003326f, + 0.038879f, 0.773376f, 0.190826f, -0.003510f, + 0.036407f, 0.770233f, 0.196594f, -0.003693f, + 0.034027f, 0.766937f, 0.202484f, -0.003876f, + 0.031738f, 0.763489f, 0.208435f, -0.004059f, + 0.029510f, 0.759857f, 0.214447f, -0.004272f, + 0.027374f, 0.756104f, 0.220551f, -0.004456f, + 0.025299f, 0.752197f, 0.226746f, -0.004669f, + 0.023315f, 0.748169f, 0.233002f, -0.004852f, + 0.021393f, 0.743988f, 0.239319f, -0.005066f, + 0.019562f, 0.739655f, 0.245728f, -0.005310f, + 0.017792f, 0.735199f, 0.252197f, -0.005524f, + 0.016052f, 0.730591f, 0.258728f, -0.005707f, + 0.014404f, 0.725861f, 0.265350f, -0.005920f, + 0.012817f, 0.721008f, 0.272034f, -0.006165f, + 0.011322f, 0.716003f, 0.278778f, -0.006378f, + 0.009888f, 0.710907f, 0.285583f, -0.006561f, + 0.008514f, 0.705658f, 0.292450f, -0.006775f, + 0.007202f, 0.700317f, 0.299347f, -0.007019f, + 0.005920f, 0.694855f, 0.306335f, -0.007233f, + 0.004700f, 0.689270f, 0.313385f, -0.007416f, + 0.003571f, 0.683563f, 0.320465f, -0.007629f, + 0.002472f, 0.677734f, 0.327606f, -0.007874f, + 0.001434f, 0.671844f, 0.334778f, -0.008087f, + 0.000458f, 0.665833f, 0.341980f, -0.008270f, + -0.000488f, 0.659729f, 0.349243f, -0.008453f, + -0.001343f, 0.653534f, 0.356567f, -0.008636f, + -0.002167f, 0.647217f, 0.363892f, -0.008850f, + -0.002960f, 0.640839f, 0.371277f, -0.009033f, + -0.003693f, 0.634338f, 0.378693f, -0.009216f, + -0.004364f, 0.627777f, 0.386139f, -0.009338f, + -0.004974f, 0.621155f, 0.393616f, -0.009491f, + -0.005585f, 0.614441f, 0.401093f, -0.009644f, + -0.006134f, 0.607635f, 0.408600f, -0.009796f, + -0.006653f, 0.600769f, 0.416107f, -0.009918f, + -0.007141f, 0.593842f, 0.423645f, -0.010010f, + -0.007568f, 0.586853f, 0.431213f, -0.010132f, + -0.007965f, 0.579773f, 0.438751f, -0.010223f, + -0.008331f, 0.572662f, 0.446320f, -0.010284f, + -0.008667f, 0.565521f, 0.453888f, -0.010345f, + -0.008972f, 0.558319f, 0.461456f, -0.010406f, + -0.009216f, 0.551056f, 0.469025f, -0.010406f, + -0.009460f, 0.543732f, 0.476593f, -0.010406f, + -0.009674f, 0.536407f, 0.484131f, -0.010376f, + -0.009857f, 0.529022f, 0.491669f, -0.010376f, + -0.010010f, 0.521606f, 0.499176f, -0.010315f, + -0.010132f, 0.514160f, 0.506683f, -0.010254f, + -0.010254f, 0.506683f, 0.514160f, -0.010132f, + -0.010315f, 0.499176f, 0.521606f, -0.010010f, + -0.010376f, 0.491669f, 0.529022f, -0.009857f, + -0.010376f, 0.484131f, 0.536407f, -0.009674f, + -0.010406f, 0.476593f, 0.543732f, -0.009460f, + -0.010406f, 0.469025f, 0.551056f, -0.009216f, + -0.010406f, 0.461456f, 0.558319f, -0.008972f, + -0.010345f, 0.453888f, 0.565521f, -0.008667f, + -0.010284f, 0.446320f, 0.572662f, -0.008331f, + -0.010223f, 0.438751f, 0.579773f, -0.007965f, + -0.010132f, 0.431213f, 0.586853f, -0.007568f, + -0.010010f, 0.423645f, 0.593842f, -0.007141f, + -0.009918f, 0.416107f, 0.600769f, -0.006653f, + -0.009796f, 0.408600f, 0.607635f, -0.006134f, + -0.009644f, 0.401093f, 0.614441f, -0.005585f, + -0.009491f, 0.393616f, 0.621155f, -0.004974f, + -0.009338f, 0.386139f, 0.627777f, -0.004364f, + -0.009216f, 0.378693f, 0.634338f, -0.003693f, + -0.009033f, 0.371277f, 0.640839f, -0.002960f, + -0.008850f, 0.363892f, 0.647217f, -0.002167f, + -0.008636f, 0.356567f, 0.653534f, -0.001343f, + -0.008453f, 0.349243f, 0.659729f, -0.000488f, + -0.008270f, 0.341980f, 0.665833f, 0.000458f, + -0.008087f, 0.334778f, 0.671844f, 0.001434f, + -0.007874f, 0.327606f, 0.677734f, 0.002472f, + -0.007629f, 0.320465f, 0.683563f, 0.003571f, + -0.007416f, 0.313385f, 0.689270f, 0.004700f, + -0.007233f, 0.306335f, 0.694855f, 0.005920f, + -0.007019f, 0.299347f, 0.700317f, 0.007202f, + -0.006775f, 0.292450f, 0.705658f, 0.008514f, + -0.006561f, 0.285583f, 0.710907f, 0.009888f, + -0.006378f, 0.278778f, 0.716003f, 0.011322f, + -0.006165f, 0.272034f, 0.721008f, 0.012817f, + -0.005920f, 0.265350f, 0.725861f, 0.014404f, + -0.005707f, 0.258728f, 0.730591f, 0.016052f, + -0.005524f, 0.252197f, 0.735199f, 0.017792f, + -0.005310f, 0.245728f, 0.739655f, 0.019562f, + -0.005066f, 0.239319f, 0.743988f, 0.021393f, + -0.004852f, 0.233002f, 0.748169f, 0.023315f, + -0.004669f, 0.226746f, 0.752197f, 0.025299f, + -0.004456f, 0.220551f, 0.756104f, 0.027374f, + -0.004272f, 0.214447f, 0.759857f, 0.029510f, + -0.004059f, 0.208435f, 0.763489f, 0.031738f, + -0.003876f, 0.202484f, 0.766937f, 0.034027f, + -0.003693f, 0.196594f, 0.770233f, 0.036407f, + -0.003510f, 0.190826f, 0.773376f, 0.038879f, + -0.003326f, 0.185120f, 0.776367f, 0.041412f, + -0.003143f, 0.179504f, 0.779205f, 0.044006f, + -0.002991f, 0.173981f, 0.781891f, 0.046722f, + -0.002808f, 0.168518f, 0.784424f, 0.049500f, + -0.002655f, 0.163177f, 0.786743f, 0.052368f, + -0.002472f, 0.157898f, 0.788940f, 0.055328f, + -0.002319f, 0.152710f, 0.790985f, 0.058350f, + -0.002197f, 0.147614f, 0.792847f, 0.061493f, + -0.002045f, 0.142609f, 0.794525f, 0.064697f, + -0.001923f, 0.137695f, 0.796051f, 0.067963f, + -0.001770f, 0.132874f, 0.797424f, 0.071350f, + -0.001648f, 0.128143f, 0.798615f, 0.074799f, + -0.001526f, 0.123474f, 0.799622f, 0.078369f, + -0.001404f, 0.118927f, 0.800476f, 0.082031f, + -0.001282f, 0.114471f, 0.801178f, 0.085785f, + -0.001160f, 0.110107f, 0.801697f, 0.089600f, + -0.001038f, 0.105804f, 0.802032f, 0.093506f, + -0.000977f, 0.101593f, 0.802216f, 0.097504f, }; /* clang-format on */