fixing getBeatChroma