1. Music Rhythm Detection Algorithm Based on Multipath Search and Cluster Analysis
- Author
-
Shuqing Ma
- Subjects
Multidisciplinary ,Article Subject ,General Computer Science ,Computer science ,Autocorrelation ,QA75.5-76.95 ,02 engineering and technology ,computer.file_format ,Filter bank ,020202 computer hardware & architecture ,Rhythm ,Computer Science::Sound ,Electronic computers. Computer science ,Frequency domain ,0202 electrical engineering, electronic engineering, information engineering ,020201 artificial intelligence & image processing ,Time domain ,Cluster analysis ,Pulse-code modulation ,computer ,Algorithm ,Multipath propagation - Abstract
Music rhythm detection and tracking is an important part of the music comprehension system and visualization system. The music signal is subjected to a short-time Fourier transform to obtain the frequency spectrum. According to the perception characteristics of the human auditory system, the spectrum amplitude is logarithmically processed, and the endpoint intensity curve and the phase information of the peak value are output through half-wave rectification. The Pulse Code Modulation (PCM) characteristic value is extracted according to the autocorrelation characteristic of the endpoint intensity curve. This article proposes a rhythm detection algorithm based on multipath search and cluster analysis; that is, based on the clustering algorithm, it absorbs the idea of multipath tracking and proposes its own detection and tracking algorithm. It overcomes the weakness of the clustering algorithm that needs to use Musical Instrument Digital Interface (MIDI) auxiliary input to achieve the desired effect. This algorithm completely uses the PCM signal as the input, which is more robust than the clustering algorithm. The whole process is carried out in the time domain, and the amount of calculation is much smaller than the frequency domain calculation of multipath tracking, and the linear relationship with the rhythm of the music is much better than the filter bank algorithm. This algorithm can successfully detect the rhythm of the music with a strong sense of rhythm and can track the specific position of the rhythm point.
- Published
- 2021