The invention relates to an implementation method for changing the vibration effect with music, which adopts a pulse code modulation (PCM) data analyzing method, and calculates the strength of a motor according to the magnitude of volume, strength of variation and frequency, thereby driving the motor to vibrate. The implementation method comprises the following steps: because a sound source whichplays the main effect on sound variation is same, most sounds in one period have the same frequency, therefore, predicting the current sound source frequency by the number of waveforms returning to an original track in one period and the time used by each waveform for crossing over the original track; filtering off noise waves with low amplitude and high frequency; and finally based on the variation rhythm of the music through fine adjustment, enhancing or attenuating the amplitude of influence on human ears, debugging the motor characteristics in details, enhancing, attenuating or suddenly changing according to the amplitude in a certain interval, and outputting a voltage for driving the motor, so that an electronic product with a music playing function rhythmically vibrates according tothe rhythm variation of the music and brings people a merry experience.