Outline Introduction Music Information Retrieval Classification Process Steps Pitch Histograms Multiple Pitch Detection Algorithm Musical Genre Classification Implementation Future Work
Why do we classify? Increasing importance of digital music distribution Effectively navigating through large web-based music collections Structuring on-line music stores & radio stations Creating intelligent Internet music search engines and Peer-to-Peer systems Can be used in other type of analysis like similarity retrieval or summarization
Audio Classification Jazz Rock Classical Country Electronica Reggae World Folk New Age ? ? ? ? ? ? ? ? ? ? ? ? ?
Audio Classification (cont.)
Music Information Retrieval (MIR) The process of indexing and searching music collections. Symbolic MIR – Structured signals such as MIDI files are used. – Melodic information is typically utilized. Two different approaches: Query-by-melody (manual) and Query-by-humming Audio MIR – Arbitrary unstructured audio signals are used. – Timbral and rhythmic (beat) information is utilized.
What is MIDI? Musical Instrument Digital Interface A music definition language Communication protocol supports 128 different voices includes 16 channels
Classification Process Steps MIDI file Audio-from-MIDI fileArbitrary Audio file Pitch Histogram 4D Feature Vector (Pitch Content Feature Set) Multiple Pitch Detection Algorithm Labeled Feature Vectors used by Statistical Classifiers Histogram Construction Algorithm Timbral & Rhythmic Features Genre Classification Result by comparing the feature vectors
Pitch Histograms Unfolded Histogram –an array of 128 integer values (bins) indexed by MIDI note numbers –showing the frequency of occurrence of each note in a musical piece –contains information regarding the pitch range of the music Folded Histogram –All notes are transposed into a single octave and mapped to a circle of fifths –an array of 12 integer values –contains information regarding the pitch content of the music
Folded Pitch Histogram – Index Numbers Index Numbers
Unfolded Pitch Histograms Fig.1 - Unfolded Pitch Histograms of 2 Jazz pieces (left) and 2 Irish songs (right).
Pitch Histogram features Four dimensional feature vector –PITCH-Fold –AMPL-Fold –PITCH-Unfold –DIST-Fold
Pitch Histogram Calculation For MIDI files: –The algorithm increments the corresponding note’s frequency counter while using linear traversal over all MIDI events in the file. –Normalization For arbitrary audio files: –Multiple Pitch Detection Algorithm
Multiple Pitch Detection Algorithm Fig.2 – Multiple Pitch Detection Flow Chart
Experiment Details Types of music contents: –symbolic (refers to MIDI) –audio-from-MIDI (generated using a synthesizer playing a MIDI file) –audio (digital audio files like mp3’s found on the web) Five musical genres are used: –Electronica, Classical, Jazz, Irish Folk and Rock Experiment Set: –A set of 100 musical pieces in MIDI format for each genre –A set of 100 audio-from-MIDI pieces for each genre –A set of 100 general audio files KNN(3) Classifier
Classification Results in MIDI Fig.3 – Classification accuracy comparison of random and MIDI
Classification Results in MIDI
Fig.4 – Pair-wise evaluation in MIDI
Classification Results in MIDI Fig.5 – Average classification accuracy as a function of the length of input MIDI data
Classification Results in Audio-from-MIDI Fig.6 - Classification accuracy comparison of random and Audio-from-MIDI
Classification Results in Audio-from-MIDI
Comparison of Classification Results Fig.7 – Classification accuracy comparison
Implementation MARSYAS –MusicAl Research SYstem for Analysis and Synthesis –the software used for audio Pitch Histogram calculation and musical genre classification. –Three distinct modes of visualization: Standard Pitch Histogram plots 3D pitch-time surfaces Projection of the pitch-time surfaces onto a 2D bitmap
MARSYAS Visualization Fig.8 – Examples of grayscale pitch-time surfaces. Jazz (top) and Irish Folk music (bottom)
Summary Symbolic representation is more preferable in the sense of computing Pitch Information. This work can be viewed as an attempt to bridge the two distinct MIR approaches by using Pitch Histograms. Pitch Histograms do carry a certain amount of genre- identifying information. Multiple Pitch Detection Algorithm is not perfect, but it works by a certain degree.
Future Work Real-time running version of Pitch Histogram. –for better classification performance. –to conduct more detailed harmonic analysis such as figured bass extraction, tonality recognition, and chord detection. The features derived from Pitch Histograms might be applicable to the problem of content-based audio identification or audio fingerprinting. Alternative feature sets are needed. Query-based retrieval mechanism for audio music signals.
Thanks Cosku Turhan for the art work on my slides… 4 Non Blondes for their song, “What's Up?” :)