SlideShare une entreprise Scribd logo
1  sur  22
Télécharger pour lire hors ligne
Towards a Computational Model of Melody
Identification in Polyphonic Music
S ren Tjagvad Madsen1
, Gerhard Widmer2
Austrian Research Institute for Artificial Intelligence, Vienna1
,Department of
Computational Perception Johannes Kepler University, Linz2
IJCAI (International Joint Conference on Artificial Intelligence)
Ronildo Oliveira da Silva
9 de janeiro de 2017
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
Contents
1 Introduction
2 Complexity and Melody Perception
3 A Computational Model
4 Experiments
5 Discussion
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 2 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
Introduction
1 Melody is a central dimension in almost all music.
2 It is not easy define the concept of ‘melody’.
3 In a way, which notes constitute the melody is defined by where
the listeners perceive the most interesting things to be going on
in the music.
4 This paper presents first steps towards a simple, robust
computational model of automatic melody note identification.
Based on results from musicology and music psychology.
5 We will introduce a simple, straightforward measure of melodic
complexity based on entropy, present an algorithm for predicting
the most likely melody note at any point in a piece.
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 3 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
Complexity and Melody Perception
The basic motivation for our model of melody identification is the
observation, that there seems to be a connection between the
complexity of a musical line, and the amount of attention that will
be devoted to it on the part of a listener.
Show that the complexity or information content of a sequence of notes
may be directly related to the degree to which the note sequence is
perceived as being part of the melody.
measure of complexity based only on note-level entropies;
measures based on pattern compression and top-down heuristics
derived from music theory.
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 4 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
A Computational Model
The basic idea of the model consists in calculating a series of
complexity values locally. Based on these series of local complexity
estimates, the melody is then reconstructed note by note by a
simple algorithm. The information measures will be calculated from the
structural core of music alone: a digital representation of the printed
music score like a MIDI (Musical Instrument Digital Interface).
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 5 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
The Sliding Window
The algorithm operates by in turn examining a small subset of the notes
in the score. A fixed length window is slid from left to right over the
score.
1 offset of first ending note in current window
2 onset of next note after current window
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 6 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
The Sliding Window
From the notes belonging to the same voice (instrument) in the window,
we calculate a complexity value. We do that for each voice present in the
window.
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 7 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
Entropy Measures in Musical Dimensions
Shannon’s entropy [Shannon, 1948] is a measure of randomness or
uncertainty in a signal. If the predictability is high, the entropy is low,
and vice versa.
uniformity, low prediction
no uniformity, high prediction
Let X = {x1, x2, ..., xn}
p(x) = Pr(X = x)
X could for example be the set of MIDI pitch numbers and p(x) would
then be the probability (estimated by the frequency) of a certain pitch.
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 8 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
Entropy Measures in Musical Dimensions
Let X = {x1, x2, ..., xn} and p(x) = Pr(X = x) then the entropy H(x) is
defined as:
H(X) = −
x∈X
p(x)log2p(x)
p(x) would then be the probability (estimated by the frequency) of a
certain pitch.
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 9 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
Entropy Measures in Musical Dimensions
We are going to calculate entropy of ’features‘ extracted from the notes
in monophonic lines. We will use features related to pitch and duration
of the notes.
1 Pitch class (C): count the occurrences of different pitch classes
present (the term pitch class is used to refer the ‘name’ of a note);
2 MIDI Interval (I): count the occurrences of each melodic interval
present (e.g., minor second up, major third down, . . . );
3 Note duration (D): count the number of note duration classes
present, where note classes are derived by discretisation (a duration
is given its own class if it is not within 10% of an existing class).
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 10 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
Entropy Measures in Musical Dimensions
With each measure we extract events from a given sequence of notes, and
calculate entropy from the frequencies of these events (HC , HI ,HD ).
So far rhythm and pitch are treated separately. We have also included a
measure HCID weighting the above three measures:
HCID =
1
4
(HC + HI ) +
1
2
HD.
Entropy is also defined for a pair of random variables with joint
distribution:
H(X, Y ) = −
x∈X y∈Y
p(x, y)log2[p(x, y)]
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 11 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
An Alternative: Complexity via Compression
The entropy function is a purely statistical measure related to the
frequency of events. No relationships between events is measured – e.g.
the events abcabcabc and abcbcacab will result in the same entropy
value.
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 12 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
Predicting Melody Notes
The prediction period. The prediction period pi is thus the interval
between the beginning of window wi and the beginning of wi+1.
The average complexity value for each voice present in the
windows in o(pi ) is calculated.
Rank the voices according to their average complexity over o(pi ).
Every note in wi gets its melody attribute set to true if it is part of
the winning voice, and to false otherwise.
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 13 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
Predicting Melody Notes
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 14 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
The Musical Test Corpus
The Musical Test Corpus
1 Haydn, F.J.: String quartet No 58 op. 54, No. 2, in C major, 1st
movement
2 Mozart, W.A.: Symphony No 40 in G minor (KV 550), 1st
movement
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 15 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
The Musical Test Corpus
Annotating Melody Notes
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 16 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
The Musical Test Corpus
Evaluation Method
We can now measure how well the predicted notes correspond to the
annotated melody in the score. We express this in terms of recall (R) and
precision (P) values.
Recall is the number of correctly predicted notes (true positives,
TP) divided by the total number of notes in the melody.
Precision is TP divided by the total number of notes predicted
(TP + FP (false positives)).
F(R, P) = 1 −
2RP
R + P
A high rate of correctly predicted notes will result in high values of recall,
precision and F − measure (close to 1.0).
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 17 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
The Musical Test Corpus
Results
We performed prediction experiments with four different window sizes
(1-4 seconds) and with the six different entropy measures.
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 18 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
The Musical Test Corpus
Results
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 19 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
The Musical Test Corpus
Results
We can conclude that there is indeed a correlation between melody and
complexity in both pieces. The precision value of 0.60 in the best
symphony experiment with a resulting F- measure of 0.51 (window size 3
seconds) tells us that 60% of the predicted notes in the symphony are
truly melody notes.
In the string quartet, the second violin is alternating between a single
note and notes from a descending scale, making the voice very attractive
(lots of different notes and intervals) while the ‘real melody’
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 20 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
Discussion
In our opinion, the current results, though based on a rather limited test
corpus, indicate that it makes sense to consider musical complexity as an
important factor in computational models of melody perception.
(MADSEN, 2015)
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 21 / 22
Introduction Complexity and Melody Perception A Computational Model Experiments Discussion
Referêcias I
MADSEN, G. W. S. T. Towards a Computational Model of Melody
Identification in Polyphonic Music. 1st. ed. [S.l.]: IJCAI, 2015.
So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 22 / 22

Contenu connexe

Similaire à Towards a Computational Model of Melody Identification in Polyphonic Music

Melcomplexity Escom 20090729
Melcomplexity Escom 20090729Melcomplexity Escom 20090729
Melcomplexity Escom 20090729Klaus Frieler
 
In Independent (Re-)Creation Likely To Happen In Pop Music? (Escom 2009)
In Independent (Re-)Creation Likely To Happen In Pop Music? (Escom 2009)In Independent (Re-)Creation Likely To Happen In Pop Music? (Escom 2009)
In Independent (Re-)Creation Likely To Happen In Pop Music? (Escom 2009)Klaus Frieler
 
Audio Morphing for Percussive Sound Generation
Audio Morphing for Percussive Sound GenerationAudio Morphing for Percussive Sound Generation
Audio Morphing for Percussive Sound Generationa3labdsp
 
207 intro lecture2010
207 intro lecture2010207 intro lecture2010
207 intro lecture2010guest1db8cc6
 
Computational models of symphonic music
Computational models of symphonic musicComputational models of symphonic music
Computational models of symphonic musicEmilia Gómez
 
Intelligent real-time music accompaniment for constraint-free improvisation
Intelligent real-time music accompaniment for constraint-free improvisationIntelligent real-time music accompaniment for constraint-free improvisation
Intelligent real-time music accompaniment for constraint-free improvisationAndreas Floros
 
Graphical visualization of musical emotions
Graphical visualization of musical emotionsGraphical visualization of musical emotions
Graphical visualization of musical emotionsPranay Prasoon
 
Tervo: Sensory Dissonance Models
Tervo: Sensory Dissonance ModelsTervo: Sensory Dissonance Models
Tervo: Sensory Dissonance ModelsTommi Himberg
 
Audio Art Authentication and Classification with Wavelet Statistics
Audio Art Authentication and Classification with Wavelet StatisticsAudio Art Authentication and Classification with Wavelet Statistics
Audio Art Authentication and Classification with Wavelet StatisticsWaqas Tariq
 
Harmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic AlgorithmHarmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic AlgorithmXin-She Yang
 
Nithin Xavier research_proposal
Nithin Xavier research_proposalNithin Xavier research_proposal
Nithin Xavier research_proposalNithin Xavier
 
Introduction to Music Information Retrieval
Introduction to Music Information RetrievalIntroduction to Music Information Retrieval
Introduction to Music Information RetrievalAndrea Gazzarini
 
The kusc classical music dataset for audio key finding
The kusc classical music dataset for audio key findingThe kusc classical music dataset for audio key finding
The kusc classical music dataset for audio key findingijma
 
Introduction to Music Information Retrieval
Introduction to Music Information RetrievalIntroduction to Music Information Retrieval
Introduction to Music Information RetrievalSease
 
Art-Appreciation-UNIT-7-Lesson-13-and-141.pptx
Art-Appreciation-UNIT-7-Lesson-13-and-141.pptxArt-Appreciation-UNIT-7-Lesson-13-and-141.pptx
Art-Appreciation-UNIT-7-Lesson-13-and-141.pptxTubleDennisIIC
 

Similaire à Towards a Computational Model of Melody Identification in Polyphonic Music (20)

ppt
pptppt
ppt
 
ppt
pptppt
ppt
 
Melcomplexity Escom 20090729
Melcomplexity Escom 20090729Melcomplexity Escom 20090729
Melcomplexity Escom 20090729
 
In Independent (Re-)Creation Likely To Happen In Pop Music? (Escom 2009)
In Independent (Re-)Creation Likely To Happen In Pop Music? (Escom 2009)In Independent (Re-)Creation Likely To Happen In Pop Music? (Escom 2009)
In Independent (Re-)Creation Likely To Happen In Pop Music? (Escom 2009)
 
Audio Morphing for Percussive Sound Generation
Audio Morphing for Percussive Sound GenerationAudio Morphing for Percussive Sound Generation
Audio Morphing for Percussive Sound Generation
 
207 intro lecture2010
207 intro lecture2010207 intro lecture2010
207 intro lecture2010
 
Computational models of symphonic music
Computational models of symphonic musicComputational models of symphonic music
Computational models of symphonic music
 
Intelligent real-time music accompaniment for constraint-free improvisation
Intelligent real-time music accompaniment for constraint-free improvisationIntelligent real-time music accompaniment for constraint-free improvisation
Intelligent real-time music accompaniment for constraint-free improvisation
 
Rigaud_et_al_WASPAA
Rigaud_et_al_WASPAARigaud_et_al_WASPAA
Rigaud_et_al_WASPAA
 
Graphical visualization of musical emotions
Graphical visualization of musical emotionsGraphical visualization of musical emotions
Graphical visualization of musical emotions
 
UofL_Math_Club_Talk
UofL_Math_Club_TalkUofL_Math_Club_Talk
UofL_Math_Club_Talk
 
Tervo: Sensory Dissonance Models
Tervo: Sensory Dissonance ModelsTervo: Sensory Dissonance Models
Tervo: Sensory Dissonance Models
 
Audio Art Authentication and Classification with Wavelet Statistics
Audio Art Authentication and Classification with Wavelet StatisticsAudio Art Authentication and Classification with Wavelet Statistics
Audio Art Authentication and Classification with Wavelet Statistics
 
Harmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic AlgorithmHarmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic Algorithm
 
Nithin Xavier research_proposal
Nithin Xavier research_proposalNithin Xavier research_proposal
Nithin Xavier research_proposal
 
Introduction to Music Information Retrieval
Introduction to Music Information RetrievalIntroduction to Music Information Retrieval
Introduction to Music Information Retrieval
 
The kusc classical music dataset for audio key finding
The kusc classical music dataset for audio key findingThe kusc classical music dataset for audio key finding
The kusc classical music dataset for audio key finding
 
Introduction to Music Information Retrieval
Introduction to Music Information RetrievalIntroduction to Music Information Retrieval
Introduction to Music Information Retrieval
 
Art-Appreciation-UNIT-7-Lesson-13-and-141.pptx
Art-Appreciation-UNIT-7-Lesson-13-and-141.pptxArt-Appreciation-UNIT-7-Lesson-13-and-141.pptx
Art-Appreciation-UNIT-7-Lesson-13-and-141.pptx
 
Sparse and Low Rank Representations in Music Signal Analysis
 Sparse and Low Rank Representations in Music Signal  Analysis Sparse and Low Rank Representations in Music Signal  Analysis
Sparse and Low Rank Representations in Music Signal Analysis
 

Plus de Ronildo Oliveira

Desenvolvimento de jogos Mobile - FliSol 2017
Desenvolvimento de jogos Mobile - FliSol 2017Desenvolvimento de jogos Mobile - FliSol 2017
Desenvolvimento de jogos Mobile - FliSol 2017Ronildo Oliveira
 
Documento de Requisitos do Sistema - Meu Telefone
Documento de Requisitos do Sistema - Meu TelefoneDocumento de Requisitos do Sistema - Meu Telefone
Documento de Requisitos do Sistema - Meu TelefoneRonildo Oliveira
 
Slide Encontros Universitários 2015 UFC - SOLID, Design de Software e Progra...
Slide Encontros Universitários 2015 UFC  - SOLID, Design de Software e Progra...Slide Encontros Universitários 2015 UFC  - SOLID, Design de Software e Progra...
Slide Encontros Universitários 2015 UFC - SOLID, Design de Software e Progra...Ronildo Oliveira
 
Calculo I - Uma Breve Introdução ao Estudo de Integrais
Calculo I - Uma Breve Introdução ao Estudo de IntegraisCalculo I - Uma Breve Introdução ao Estudo de Integrais
Calculo I - Uma Breve Introdução ao Estudo de IntegraisRonildo Oliveira
 
Apresentação de Slide - Deadlocks
Apresentação de Slide - DeadlocksApresentação de Slide - Deadlocks
Apresentação de Slide - DeadlocksRonildo Oliveira
 
Resolução de Problemas - Sistemas Operacionais
Resolução de Problemas - Sistemas OperacionaisResolução de Problemas - Sistemas Operacionais
Resolução de Problemas - Sistemas OperacionaisRonildo Oliveira
 
Conceitos básicos de sistemas operacionais
Conceitos básicos de sistemas operacionaisConceitos básicos de sistemas operacionais
Conceitos básicos de sistemas operacionaisRonildo Oliveira
 
Fases do desenvolvimento de software baseado no código de ética.
Fases do desenvolvimento de software baseado no código de ética.Fases do desenvolvimento de software baseado no código de ética.
Fases do desenvolvimento de software baseado no código de ética.Ronildo Oliveira
 
Exercícios Resolvidos - Arquitetura e Organização de Computadores
Exercícios Resolvidos - Arquitetura e Organização de ComputadoresExercícios Resolvidos - Arquitetura e Organização de Computadores
Exercícios Resolvidos - Arquitetura e Organização de ComputadoresRonildo Oliveira
 
Minicurso de Desenvolvimento Android - Iguatu - CE
Minicurso de Desenvolvimento Android - Iguatu - CEMinicurso de Desenvolvimento Android - Iguatu - CE
Minicurso de Desenvolvimento Android - Iguatu - CERonildo Oliveira
 
Curso Android - 02 configuração do ambiente (Tutorial de Instalação Eclipse +...
Curso Android - 02 configuração do ambiente (Tutorial de Instalação Eclipse +...Curso Android - 02 configuração do ambiente (Tutorial de Instalação Eclipse +...
Curso Android - 02 configuração do ambiente (Tutorial de Instalação Eclipse +...Ronildo Oliveira
 
Curso Android - 01 Introdução ao Android
Curso Android - 01 Introdução ao AndroidCurso Android - 01 Introdução ao Android
Curso Android - 01 Introdução ao AndroidRonildo Oliveira
 
Curso Android - 03 Conceitos Chaves
Curso Android - 03 Conceitos ChavesCurso Android - 03 Conceitos Chaves
Curso Android - 03 Conceitos ChavesRonildo Oliveira
 
Ciclo de Vida de uma Activity
Ciclo de Vida de uma ActivityCiclo de Vida de uma Activity
Ciclo de Vida de uma ActivityRonildo Oliveira
 
Arquitetura da Plataforma Android
Arquitetura da Plataforma AndroidArquitetura da Plataforma Android
Arquitetura da Plataforma AndroidRonildo Oliveira
 
Tutorial de Instalação Eclipse + Android SDK
Tutorial de Instalação Eclipse + Android SDKTutorial de Instalação Eclipse + Android SDK
Tutorial de Instalação Eclipse + Android SDKRonildo Oliveira
 
Minicurso Android Ronildo Oliveira
Minicurso Android  Ronildo OliveiraMinicurso Android  Ronildo Oliveira
Minicurso Android Ronildo OliveiraRonildo Oliveira
 

Plus de Ronildo Oliveira (18)

Desenvolvimento de jogos Mobile - FliSol 2017
Desenvolvimento de jogos Mobile - FliSol 2017Desenvolvimento de jogos Mobile - FliSol 2017
Desenvolvimento de jogos Mobile - FliSol 2017
 
Documento de Requisitos do Sistema - Meu Telefone
Documento de Requisitos do Sistema - Meu TelefoneDocumento de Requisitos do Sistema - Meu Telefone
Documento de Requisitos do Sistema - Meu Telefone
 
Slide Encontros Universitários 2015 UFC - SOLID, Design de Software e Progra...
Slide Encontros Universitários 2015 UFC  - SOLID, Design de Software e Progra...Slide Encontros Universitários 2015 UFC  - SOLID, Design de Software e Progra...
Slide Encontros Universitários 2015 UFC - SOLID, Design de Software e Progra...
 
Calculo I - Uma Breve Introdução ao Estudo de Integrais
Calculo I - Uma Breve Introdução ao Estudo de IntegraisCalculo I - Uma Breve Introdução ao Estudo de Integrais
Calculo I - Uma Breve Introdução ao Estudo de Integrais
 
Apresentação de Slide - Deadlocks
Apresentação de Slide - DeadlocksApresentação de Slide - Deadlocks
Apresentação de Slide - Deadlocks
 
Deadlocks (Resumo)
Deadlocks (Resumo)Deadlocks (Resumo)
Deadlocks (Resumo)
 
Resolução de Problemas - Sistemas Operacionais
Resolução de Problemas - Sistemas OperacionaisResolução de Problemas - Sistemas Operacionais
Resolução de Problemas - Sistemas Operacionais
 
Conceitos básicos de sistemas operacionais
Conceitos básicos de sistemas operacionaisConceitos básicos de sistemas operacionais
Conceitos básicos de sistemas operacionais
 
Fases do desenvolvimento de software baseado no código de ética.
Fases do desenvolvimento de software baseado no código de ética.Fases do desenvolvimento de software baseado no código de ética.
Fases do desenvolvimento de software baseado no código de ética.
 
Exercícios Resolvidos - Arquitetura e Organização de Computadores
Exercícios Resolvidos - Arquitetura e Organização de ComputadoresExercícios Resolvidos - Arquitetura e Organização de Computadores
Exercícios Resolvidos - Arquitetura e Organização de Computadores
 
Minicurso de Desenvolvimento Android - Iguatu - CE
Minicurso de Desenvolvimento Android - Iguatu - CEMinicurso de Desenvolvimento Android - Iguatu - CE
Minicurso de Desenvolvimento Android - Iguatu - CE
 
Curso Android - 02 configuração do ambiente (Tutorial de Instalação Eclipse +...
Curso Android - 02 configuração do ambiente (Tutorial de Instalação Eclipse +...Curso Android - 02 configuração do ambiente (Tutorial de Instalação Eclipse +...
Curso Android - 02 configuração do ambiente (Tutorial de Instalação Eclipse +...
 
Curso Android - 01 Introdução ao Android
Curso Android - 01 Introdução ao AndroidCurso Android - 01 Introdução ao Android
Curso Android - 01 Introdução ao Android
 
Curso Android - 03 Conceitos Chaves
Curso Android - 03 Conceitos ChavesCurso Android - 03 Conceitos Chaves
Curso Android - 03 Conceitos Chaves
 
Ciclo de Vida de uma Activity
Ciclo de Vida de uma ActivityCiclo de Vida de uma Activity
Ciclo de Vida de uma Activity
 
Arquitetura da Plataforma Android
Arquitetura da Plataforma AndroidArquitetura da Plataforma Android
Arquitetura da Plataforma Android
 
Tutorial de Instalação Eclipse + Android SDK
Tutorial de Instalação Eclipse + Android SDKTutorial de Instalação Eclipse + Android SDK
Tutorial de Instalação Eclipse + Android SDK
 
Minicurso Android Ronildo Oliveira
Minicurso Android  Ronildo OliveiraMinicurso Android  Ronildo Oliveira
Minicurso Android Ronildo Oliveira
 

Dernier

VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 

Dernier (20)

VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 

Towards a Computational Model of Melody Identification in Polyphonic Music

  • 1. Towards a Computational Model of Melody Identification in Polyphonic Music S ren Tjagvad Madsen1 , Gerhard Widmer2 Austrian Research Institute for Artificial Intelligence, Vienna1 ,Department of Computational Perception Johannes Kepler University, Linz2 IJCAI (International Joint Conference on Artificial Intelligence) Ronildo Oliveira da Silva 9 de janeiro de 2017
  • 2. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion Contents 1 Introduction 2 Complexity and Melody Perception 3 A Computational Model 4 Experiments 5 Discussion So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 2 / 22
  • 3. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion Introduction 1 Melody is a central dimension in almost all music. 2 It is not easy define the concept of ‘melody’. 3 In a way, which notes constitute the melody is defined by where the listeners perceive the most interesting things to be going on in the music. 4 This paper presents first steps towards a simple, robust computational model of automatic melody note identification. Based on results from musicology and music psychology. 5 We will introduce a simple, straightforward measure of melodic complexity based on entropy, present an algorithm for predicting the most likely melody note at any point in a piece. So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 3 / 22
  • 4. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion Complexity and Melody Perception The basic motivation for our model of melody identification is the observation, that there seems to be a connection between the complexity of a musical line, and the amount of attention that will be devoted to it on the part of a listener. Show that the complexity or information content of a sequence of notes may be directly related to the degree to which the note sequence is perceived as being part of the melody. measure of complexity based only on note-level entropies; measures based on pattern compression and top-down heuristics derived from music theory. So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 4 / 22
  • 5. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion A Computational Model The basic idea of the model consists in calculating a series of complexity values locally. Based on these series of local complexity estimates, the melody is then reconstructed note by note by a simple algorithm. The information measures will be calculated from the structural core of music alone: a digital representation of the printed music score like a MIDI (Musical Instrument Digital Interface). So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 5 / 22
  • 6. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion The Sliding Window The algorithm operates by in turn examining a small subset of the notes in the score. A fixed length window is slid from left to right over the score. 1 offset of first ending note in current window 2 onset of next note after current window So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 6 / 22
  • 7. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion The Sliding Window From the notes belonging to the same voice (instrument) in the window, we calculate a complexity value. We do that for each voice present in the window. So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 7 / 22
  • 8. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion Entropy Measures in Musical Dimensions Shannon’s entropy [Shannon, 1948] is a measure of randomness or uncertainty in a signal. If the predictability is high, the entropy is low, and vice versa. uniformity, low prediction no uniformity, high prediction Let X = {x1, x2, ..., xn} p(x) = Pr(X = x) X could for example be the set of MIDI pitch numbers and p(x) would then be the probability (estimated by the frequency) of a certain pitch. So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 8 / 22
  • 9. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion Entropy Measures in Musical Dimensions Let X = {x1, x2, ..., xn} and p(x) = Pr(X = x) then the entropy H(x) is defined as: H(X) = − x∈X p(x)log2p(x) p(x) would then be the probability (estimated by the frequency) of a certain pitch. So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 9 / 22
  • 10. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion Entropy Measures in Musical Dimensions We are going to calculate entropy of ’features‘ extracted from the notes in monophonic lines. We will use features related to pitch and duration of the notes. 1 Pitch class (C): count the occurrences of different pitch classes present (the term pitch class is used to refer the ‘name’ of a note); 2 MIDI Interval (I): count the occurrences of each melodic interval present (e.g., minor second up, major third down, . . . ); 3 Note duration (D): count the number of note duration classes present, where note classes are derived by discretisation (a duration is given its own class if it is not within 10% of an existing class). So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 10 / 22
  • 11. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion Entropy Measures in Musical Dimensions With each measure we extract events from a given sequence of notes, and calculate entropy from the frequencies of these events (HC , HI ,HD ). So far rhythm and pitch are treated separately. We have also included a measure HCID weighting the above three measures: HCID = 1 4 (HC + HI ) + 1 2 HD. Entropy is also defined for a pair of random variables with joint distribution: H(X, Y ) = − x∈X y∈Y p(x, y)log2[p(x, y)] So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 11 / 22
  • 12. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion An Alternative: Complexity via Compression The entropy function is a purely statistical measure related to the frequency of events. No relationships between events is measured – e.g. the events abcabcabc and abcbcacab will result in the same entropy value. So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 12 / 22
  • 13. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion Predicting Melody Notes The prediction period. The prediction period pi is thus the interval between the beginning of window wi and the beginning of wi+1. The average complexity value for each voice present in the windows in o(pi ) is calculated. Rank the voices according to their average complexity over o(pi ). Every note in wi gets its melody attribute set to true if it is part of the winning voice, and to false otherwise. So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 13 / 22
  • 14. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion Predicting Melody Notes So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 14 / 22
  • 15. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion The Musical Test Corpus The Musical Test Corpus 1 Haydn, F.J.: String quartet No 58 op. 54, No. 2, in C major, 1st movement 2 Mozart, W.A.: Symphony No 40 in G minor (KV 550), 1st movement So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 15 / 22
  • 16. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion The Musical Test Corpus Annotating Melody Notes So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 16 / 22
  • 17. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion The Musical Test Corpus Evaluation Method We can now measure how well the predicted notes correspond to the annotated melody in the score. We express this in terms of recall (R) and precision (P) values. Recall is the number of correctly predicted notes (true positives, TP) divided by the total number of notes in the melody. Precision is TP divided by the total number of notes predicted (TP + FP (false positives)). F(R, P) = 1 − 2RP R + P A high rate of correctly predicted notes will result in high values of recall, precision and F − measure (close to 1.0). So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 17 / 22
  • 18. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion The Musical Test Corpus Results We performed prediction experiments with four different window sizes (1-4 seconds) and with the six different entropy measures. So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 18 / 22
  • 19. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion The Musical Test Corpus Results So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 19 / 22
  • 20. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion The Musical Test Corpus Results We can conclude that there is indeed a correlation between melody and complexity in both pieces. The precision value of 0.60 in the best symphony experiment with a resulting F- measure of 0.51 (window size 3 seconds) tells us that 60% of the predicted notes in the symphony are truly melody notes. In the string quartet, the second violin is alternating between a single note and notes from a descending scale, making the voice very attractive (lots of different notes and intervals) while the ‘real melody’ So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 20 / 22
  • 21. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion Discussion In our opinion, the current results, though based on a rather limited test corpus, indicate that it makes sense to consider musical complexity as an important factor in computational models of melody perception. (MADSEN, 2015) So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 21 / 22
  • 22. Introduction Complexity and Melody Perception A Computational Model Experiments Discussion Referêcias I MADSEN, G. W. S. T. Towards a Computational Model of Melody Identification in Polyphonic Music. 1st. ed. [S.l.]: IJCAI, 2015. So ren Gerhard Towards a Computational Model of Melody Identification in Polyphonic Music 22 / 22