Displaying 1 result from an estimated 1 matches for "tonalityan".
Did you mean:
tonality
2019 May 27
0
opus-1.3.1 patch for ARM Cortex-M4F (single precision)
...s.c 2019-02-26 06:04:23 +0800
+++ opus-1.3.1/src/analysis.c 2019-05-27 17:19:28 +0800
@@ -45,7 +45,7 @@
#include "float_cast.h"
#ifndef M_PI
-#define M_PI 3.141592653
+#define M_PI 3.14159265358979f
#endif
#ifndef DISABLE_FLOAT_API
@@ -675,7 +675,7 @@ static void tonality_analysis(TonalityAn
tonal->logE[tonal->E_count][b] = logE[b];
if (tonal->count==0)
tonal->highE[b] = tonal->lowE[b] = logE[b];
- if (tonal->highE[b] > tonal->lowE[b] + 7.5)
+ if (tonal->highE[b] > tonal->lowE[b] + 7.5f)
{
if (to...