HOME

TheInfoList



OR:

Harmonic pitch class profiles (HPCP) is a group of features that a computer program extracts from an
audio signal An audio signal is a representation of sound, typically using either a changing level of electrical voltage for analog signals, or a series of binary numbers for digital signals. Audio signals have frequencies in the audio frequency range of r ...
, based on a ''pitch class profile''—a descriptor proposed in the context of a chord recognition system. HPCP are an enhanced pitch distribution feature that are sequences of feature vectors that, to a certain extent, describe
tonality Tonality is the arrangement of pitches and/or chords of a musical work in a hierarchy of perceived relations, stabilities, attractions and directionality. In this hierarchy, the single pitch or triadic chord with the greatest stability is ca ...
, measuring the relative intensity of each of the 12 pitch classes of the equal-tempered scale within an analysis frame. Often, the twelve pitch spelling attributes are also referred to as chroma and the HPCP features are closely related to what is called chroma features or chromagrams. By processing musical signals, software can identify HPCP features and use them to estimate the key of a piece, to measure similarity between two musical pieces (cover version identification),Joan Serra, Emilia Gomez, Perfecto Herrera, and Xavier Serra ''Chroma Binary Similarity and Local Alignment Applied to Cover Song Identification'' August, 2008 to perform content-based audio retrieval (audio matching), to extract the musical structure (audio structure analysis), and to classify music in terms of composer, genre or mood. The process is related to time-frequency analysis. In general, chroma features are robust to noise (e.g., ambient noise or percussive sounds), independent of timbre and instrumentation and independent of loudness and dynamics. HPCPs are tuning independent and consider the presence of harmonic frequencies, so that the reference frequency can be different from the standard A 440 Hz. The result of HPCP computation is a 12, 24, or 36-bin octave-independent
histogram A histogram is an approximate representation of the distribution of numerical data. The term was first introduced by Karl Pearson. To construct a histogram, the first step is to " bin" (or "bucket") the range of values—that is, divide the en ...
depending on the desired resolution, representing the relative intensity of each 1, 1/2, or 1/3 of the 12
semitone A semitone, also called a half step or a half tone, is the smallest musical interval commonly used in Western tonal music, and it is considered the most dissonant when sounded harmonically. It is defined as the interval between two adjacent n ...
s of the equal tempered scale.


General HPCP feature extraction procedure

The block diagram of the procedure is shown in Fig.1 and is further detailed in.Gomez, E. ''Tonal description of polyphonic audio for music content processing''. INFORMS Journal on Computing. Special Cluster on Music Computing. Chew, E., Guest Editor, 2004. The General HPCP feature extraction procedure is summarized as follows: #Input musical signal. #Do spectral analysis to obtain the frequency components of the music signal. #Use
Fourier transform A Fourier transform (FT) is a mathematical transform that decomposes functions into frequency components, which are represented by the output of the transform as a function of frequency. Most commonly functions of time or space are transformed ...
to convert the signal into a spectrogram. (The Fourier transform is a type of time-frequency analysis.) #Do frequency filtering. A frequency range of between 100 and 5000 Hz is used. #Do peak detection. Only the local maximum values of the spectrum are considered. #Do reference frequency computation procedure. Estimate the deviation with respect to 440 Hz. #Do Pitch class mapping with respect to the estimated reference frequency. This is a procedure for determining the pitch class value from frequency values. A weighting scheme with cosine function is used. It considers the presence of harmonic frequencies (harmonic summation procedure), taking account a total of 8 harmonics for each frequency. To map the value on a one-third of a
semitone A semitone, also called a half step or a half tone, is the smallest musical interval commonly used in Western tonal music, and it is considered the most dissonant when sounded harmonically. It is defined as the interval between two adjacent n ...
, the size of the pitch class distribution vectors must be equal to 36. #Normalize the feature frame by frame dividing through the maximum value to eliminate dependency on global loudness. And then we can get a result HPCP sequence like Fig.2.


System of measuring similarity between two songs

After getting the HPCP feature, the pitch of the signal in a time section is known. The HPCP feature has been used to compute similarity between two songs in many research papers. A system of measuring similarity between two songs is shown in Fig.3. First, time-frequency analysis is needed to extract the HPCP feature. And then set two songs' HPCP feature to a global HPCP, so there is a standard of comparing. The next step is to use the two features to construct a binary similarity matrix.
Smith–Waterman algorithm The Smith–Waterman algorithm performs local sequence alignment; that is, for determining similar regions between two strings of nucleic acid sequences or protein sequences. Instead of looking at the entire sequence, the Smith–Waterman algorit ...
is used to construct a local alignment matrix H in the Dynamic Programming Local Alignment. Finally, after doing post processing, the distance between two songs can be computed.


See also

* Time-frequency analysis * Time-frequency analysis for music signal *
Pitch (music) Pitch is a perceptual property of sounds that allows their ordering on a frequency-related scale, or more commonly, pitch is the quality that makes it possible to judge sounds as "higher" and "lower" in the sense associated with musical melo ...
* Musical theory


References

{{Reflist


External links

* HPCP - Harmonic Pitch Class Profile plugin available for download http://mtg.upf.edu/technologies/hpcp
Chroma Toolbox
Free MATLAB implementations of various chroma types of pitch-based and chroma-based audio features Time–frequency analysis Music information retrieval