Searched refs:frame_tonality (Results 1 – 1 of 1) sorted by relevance
331 float frame_tonality; in tonality_analysis() local468 frame_tonality = 0; in tonality_analysis()567 frame_tonality += tweight[b]*band_tonality[b]; in tonality_analysis()571 frame_tonality += band_tonality[b]; in tonality_analysis()573 frame_tonality -= band_tonality[b-NB_TBANDS+NB_TONAL_SKIP_BANDS]; in tonality_analysis()575 max_frame_tonality = MAX16(max_frame_tonality, (1.f+.03f*(b-NB_TBANDS))*frame_tonality); in tonality_analysis()718 frame_tonality = (max_frame_tonality/(NB_TBANDS-NB_TONAL_SKIP_BANDS)); in tonality_analysis()719 frame_tonality = MAX16(frame_tonality, tonal->prev_tonality*.8f); in tonality_analysis()720 tonal->prev_tonality = frame_tonality; in tonality_analysis()727 info->tonality = frame_tonality; in tonality_analysis()