In the process of spinning, the state of machine or inconsequence of corresponding technical parameter will bring various periodic unevenness based on stochastic unevenness of yarn. Spectrum and variance-length curve of yarn signal is not only a primary method to analyze this periodic unevenness of yarn, but also a primary method to check quality of yarn and to diagnose mechanical failure. This paper provided the method to spectrum and variance-length curve of yarn based on wavelet analysis, and established the relation of them. High precision and high calculation speed is demonstrated by this method through experimental comparison and analysis.