From: Julien I. <jul...@gm...> - 2011-12-19 11:34:39
|
Hi, I do not understand the "8" in y=temp_bars[i * 8]; The result is "nan" Index: actor_flower.c =================================================================== --- actor_flower.c +++ actor_flower.c @@ -280,7 +278,7 @@ float y; int i; for (i=0; i<priv->nof_bands; i++) { - y=temp_bars[i * 8]; + y=temp_bars[i]; y=y*(i*lk+l0); Other informations: #define NOTCH_BANDS 32 float temp_bars[NOTCH_BANDS]; priv->nof_bands = NOTCH_BANDS; Sincerely Julien |