Lines Matching refs:tonality
265 tonality_max = tonality_avg = info_out->tonality; in tonality_get_info()
277 tonality_max = MAX32(tonality_max, tonal->info[pos].tonality); in tonality_get_info()
278 tonality_avg += tonal->info[pos].tonality; in tonality_get_info()
294 info_out->tonality = MAX32(tonality_avg/tonality_count, tonality_max-.2f); in tonality_get_info()
433 VARDECL(float, tonality); in tonality_analysis()
505 ALLOC(tonality, 240, float); in tonality_analysis()
563 tonality[i] = 1.f/(1.f+40.f*16.f*pi4*avg_mod)-.015f; in tonality_analysis()
574 tonality[i] = .9f*MAX32(tonality[i], tt-.1f); in tonality_analysis()
619 tE += binE*MAX32(0, tonality[i]); in tonality_analysis()
856 info->tonality = frame_tonality; in tonality_analysis()
887 features[20] = info->tonality - 0.154723f; in tonality_analysis()