Got That....

Many many Thanks for your Help.This helped me a lot. I am marking this as resolved but my last question is that can we increase or decrease the duration of the sound playing? because when we increase the frequency the duration becomes half and when we decrease that the frequency duration becomes double, for a musical program, all note should play for equal duration