I forgot the part about finding the dominant frequency in each chunk