SlideShare uma empresa Scribd logo
1 de 22
Baixar para ler offline
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

Mais conteúdo relacionado

Semelhante a 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
 

Semelhante a 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
 

Mais 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
 

Mais 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
 

Último

Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanMYRABACSAFRA2
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...Boston Institute of Analytics
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.natarajan8993
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一fhwihughh
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...limedy534
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Multiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfMultiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfchwongval
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改yuu sss
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsVICTOR MAESTRE RAMIREZ
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhijennyeacort
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 

Último (20)

Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population Mean
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Multiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfMultiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdf
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business Professionals
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 

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