With the rapid development of science and technology, cloud classroom teaching has gradually become a trend. The cloud-based music teaching aid training system designed in this paper learns to map rhythmic and pitch features through music sequence generation technology. The onset detection algorithm of spectral flux detects the onset of the note. The Bezier curve is introduced into the melodic line feature generation algorithm to construct a polynomial function for interpolation between the first and the last endpoints, and the emotion is utilized to guide fractal music creation. Finally, the effectiveness of this auxiliary teaching system in college music teaching has been verified. The results show that the optimal Hamming distance of the system is 0.353 in the music melody generation experiment, which indicates that the system can quickly generate melody lines for students in music teaching and improve their learning efficiency. The system can significantly improve the rationality and efficiency of music skill training, which is worth promoting.