Searched refs:frame_tonality (Results 1 – 1 of 1) sorted by relevance
221 float frame_tonality; in tonality_analysis() local326 frame_tonality = 0; in tonality_analysis()399 frame_tonality += tweight[b]*band_tonality[b]; in tonality_analysis()403 frame_tonality += band_tonality[b]; in tonality_analysis()405 frame_tonality -= band_tonality[b-NB_TBANDS+NB_TONAL_SKIP_BANDS]; in tonality_analysis()407 max_frame_tonality = MAX16(max_frame_tonality, (1.f+.03f*(b-NB_TBANDS))*frame_tonality); in tonality_analysis()474 frame_tonality = (max_frame_tonality/(NB_TBANDS-NB_TONAL_SKIP_BANDS)); in tonality_analysis()475 frame_tonality = MAX16(frame_tonality, tonal->prev_tonality*.8f); in tonality_analysis()476 tonal->prev_tonality = frame_tonality; in tonality_analysis()483 info->tonality = frame_tonality; in tonality_analysis()