| With the improvement of living standard and the needs for green city,large number of music fountains are built in the city center.These fountains are required to recognize the rhythms of music and keep synchronization to the music.In this paper,a control application is discussed for music fountain.The rhythms are recognized,the type of music is classified,and the fountain output patterns are selected to associate the emotion of music.In the paper,some relative researches are reviewed,the organization of the control application is discussed and the data flow is simply discussed.After that,the design and the implementation for music rhythm recognition are discussed with flow charts.It includes music check module to ensure the correct music format,FFT transformation module to obtain frequency component for input time signal,rhythm module to recognize music rhythms based upon frequency components of the music, and the music type classification module to classify the type of the input music.In the section,the realization of each part is also discussed in detail.Finally,the organization of the application is discussed.It is composed with three parts.They are administration module,music import module,and music control module.In the section,the database administration,fountain pattern designer,music file administration modules are discussed.Also,the consisting parts of music control module such as music player,action control part,and command translation part are discussed.The command translation part is designed such that the main components of the system can be device-independently designed. |