This paper uses finite element differential equations to control the frequency of occurrence of pop music notes. This method avoids the repetition of dissonant notes in the song. The motivation for inspiration is used as a template in the system. Various musical techniques and rules are added to the composition process. The algorithm enables the musical composition to form a variety of other representations. The finite element differential equation algorithm used the 1/f noise ratio theory to verify that the frequency of note occurrence is directly related to how people feel when listening to music.