As far as i can tell, you do not need an array to store the tone frequencies. They can be calculated using some formula (You have to search wikipedia, I'm sure it will be there somewhere )