Design Code

 A tone consist of notes and their duration. A note is a particular frequency which comes out of the loudspeaker for a certian duration. In this code a tone is saved in a structure with the elements frequency and duration in milli seconds of the datatype unsigned integer.