David Temperley Presentation by Carley Tanoue

Slides:



Advertisements
Similar presentations
Introduction to the Elements of Music
Advertisements

Perceptron Learning Rule
Testing Theories: Three Reasons Why Data Might not Match the Theory.
Copyright ©2011 Pearson Education
Programming in Visual Basic
Branch & Bound Algorithms
Outline Introduction Music Information Retrieval Classification Process Steps Pitch Histograms Multiple Pitch Detection Algorithm Musical Genre Classification.
Pitch-spelling algorithms David Meredith Aalborg University.
© University of Wisconsin, CS559 Spring 2004
An Approach to Evaluate Data Trustworthiness Based on Data Provenance Department of Computer Science Purdue University.
AP Music Theory Mr. Jackson
Copyright © 2003 by The McGraw-Hill Companies, Inc. All rights reserved. Business and Administrative Communication SIXTH EDITION.
HMM-BASED PATTERN DETECTION. Outline  Markov Process  Hidden Markov Models Elements Basic Problems Evaluation Optimization Training Implementation 2-D.
UFCEXR-20-1Multimedia Sound Production Music Notation: Scales and Key Signatures.
Mapping MIDI to the Spiral Array: Disambiguating Pitch Spelling Elaine CHEW Yun-Ching CHEN.
A Study of Approaches for Object Recognition
Automatic Pitch Spelling Xiaodan Wu Feb Presentation From Numbers to Sharps and Flats Emilios Cambouropoulos.
Localized Key-Finding: Algorithms and Applications Ilya Shmulevich, Olli Yli-Harja Tampere University of Technology Tampere, Finland October 4, 1999.
High School Music Theory The Fugue Straka. What is the Fugue? The fugue is a composition based on imitative counterpoints. It has a fixed number of voices.
Final Presentation Simon McNeilly Supervisors Dr. Lloyd Allison Jon McCormack Melody Generation by Phrase.
Tonal implications of harmonic and melodic Tn-sets Richard Parncutt University of Graz, Austria Presented at Mathematics and Computation in Music (MCM2007)Mathematics.
UFCEXR-20-1Multimedia Sound Production Basic Chord Structures and Patterns.
Voice Separation A Local Optimization Approach Voice Separation A Local Optimization Approach Jurgen Kilian Holger H. Hoos Xiaodan Wu Feb
Copyright © Cengage Learning. All rights reserved. CHAPTER 11 ANALYSIS OF ALGORITHM EFFICIENCY ANALYSIS OF ALGORITHM EFFICIENCY.
NP-complete and NP-hard problems. Decision problems vs. optimization problems The problems we are trying to solve are basically of two kinds. In decision.
Scaling and Attitude Measurement in Travel and Hospitality Research Research Methodologies CHAPTER 11.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall
Query session guided multi- document summarization THESIS PRESENTATION BY TAL BAUMEL ADVISOR: PROF. MICHAEL ELHADAD.
AP Music Theory Elements of Music: Pitch. IB and AP  This class will get you through the material you will need to accurately analyze a piece of music.
Group practice in problem design and problem solving
Musical Tonality Existence of multiple tonalities raises a variety of questions What is the relation of one tonality to another? Can we measure relatedness?
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
Decision Making Dr Vasuprada Kartic NAC Batch IX PGDCPM.
Grouping David Meredith Aalborg University. Musical grouping structure Listeners automatically chunk or “segment” music into structural units of various.
A Time Based Approach to Musical Pattern Discovery in Polyphonic Music Tamar Berman Graduate School of Library and Information Science University of Illinois.
Genetic Algorithm.
Chapter 5: MELODY  Melody - A series of single tones that add up to a recognizable whole Melodic line/melodic curve  Steps and leaps.
Introduction to algorithmic models of music cognition David Meredith Aalborg University.
Visualizing Harmony Craig Stuart Sapp ICMC 2001 Havana, Cuba.
Copyright ©2011 Pearson Education
M ULTIFRAME P OINT C ORRESPONDENCE By Naseem Mahajna & Muhammad Zoabi.
Testing Theories: Three Reasons Why Data Might not Match the Theory Psych 437.
Introduction Many decision making problems in real life
Invitation to Computer Science, Java Version, Second Edition.
Introduction Algorithms and Conventions The design and analysis of algorithms is the core subject matter of Computer Science. Given a problem, we want.
11 Applications of Machine Learning to Music Research: Empirical Investigations into the Phenomenon of Musical Expression 이 인 복.
Decision Making.
Incorporating Dynamic Time Warping (DTW) in the SeqRec.m File Presented by: Clay McCreary, MSEE.
Music Software Projects New York University Adjunct Instructor Scott Burton.
1/27 Discrete and Genetic Algorithms in Bioinformatics 許聞廉 中央研究院資訊所.
Similarity Matrix Processing for Music Structure Analysis Yu Shiu, Hong Jeng C.-C. Jay Kuo ACM Multimedia 2006.
PowerPoint Presentation by Charlie Cook The University of West Alabama Copyright © 2005 Prentice Hall, Inc. All rights reserved. Chapter 4 Foundations.
CS Data Structures I Chapter 2 Principles of Programming & Software Engineering.
2005MEE Software Engineering Lecture 11 – Optimisation Techniques.
Voice Separation-A Local Optimisation Approach Jurgen Kilian Department of Computer Science Darmstadt University of technology Holger H.Hoos Department.
Tetris Agent Optimization Using Harmony Search Algorithm
Pitch Spelling – A Computational Model By Emilios Cambouropoulos Presentation by Amit Singh.
2. Main Test Theories: The Classical Test Theory (CTT) Psychometrics. 2011/12. Group A (English)
1 of 48 The EPA 7-Step DQO Process Step 6 - Specify Error Tolerances 3:00 PM - 3:30 PM (30 minutes) Presenter: Sebastian Tindall Day 2 DQO Training Course.
Learning to analyse tonal music Pl á cido Rom á n Illescas David Rizo Jos é Manuel I ñ esta Pattern recognition and Artificial Intelligence group University.
Machine Learning in Practice Lecture 9 Carolyn Penstein Rosé Language Technologies Institute/ Human-Computer Interaction Institute.
Sampling.
Chords and Triads.
Craig Stuart Sapp ICMC 2001 Havana, Cuba
Designing and Debugging Batch and Interactive COBOL Programs
Integrating Segmentation and Similarity in Melodic Analysis
Visual Recognition of American Sign Language Using Hidden Markov Models 문현구 문현구.
Pitch Spelling Algorithms
Chord Recognition with Application in Melodic Similarity
Chapter 3: Pitch Collections, Scales, and Major Keys
Presentation transcript:

What’s Key for Key? The Krumhansl-Schmuckler Key-Finding Algorithm Reconsidered David Temperley Presentation by Carley Tanoue Special thanks to Anja Volk for the use of the visualizations

Introduction Key is an essential aspect of Western Music Perception of musical elements

Thesis Important problems with the Krumhansl-Schmuckler algorithm and solutions Key-profile model can provide an effective approach to key finding Alternative Solutions Computational approach Judgments

The Krumhansl-Schmuckler Key-Finding Algorithm Based on Key-Profiles 24 major and minor keys Input Vector Temperley’s Modification Simplification HarmoRubette Result: used Krumhansl data, Minor: 1.5, Major:2

Old Algorithm Tests C G e g d a D Bach’s Well-Tempered Clavier and Shostakovich’s and Chopin’s preludes First four notes Clear data Unrealistic Series of notes sequences Runs until the algorithm chooses the correct key and then terminates Bach’s Prelude no. 2 in C minor Context taken into account Results were promising for improvement HarmoRubette Result: used Krumhansl data, Minor: 2, Major:2

New Algorithm Test Easy and informal way of testing the algorithm Judge the key by small segments in isolation Compare with personal judgments Context is not concidered Results: Incorrect on 13 / 40 measures Correct rate of 67.5% Reasons for Errors – analyzing the key-profile values Counterintuitive values In minor: Flattened 7th degree In major: Leading tone Dominant 7th Minor vs. Major

Modifications New key-profile values Template matching approaches New problem: Repetitions of notes affect result Template matching approaches K-S model “Weighted-input/Weighted-key” approach Longuet-Higgins and Steedman’s approach “Flat-input/Flat-key” approach Problem: The algorithm has no way of judging passages in which all the pitches present are in more than one scale. New key-profile: “Flat-input/Weighted key” Influence of other theoretical work Fred Lerdahl Theory of tonal pitch space David Butler “Rare-interval” approach

Modulation Vital part of tonal music (tonicizations) Problems: The division of the piece into key sections would allow to infer when the key is changing as well as the “global key” (Timing) Inertia of a key  resolution Result of the new computational approach program Parameters: Change Penalty Length of segments Problem: “flat” input profile

Preference Rule System vs. Procedural System Procedural Systems: Systems that are more easily described in terms of the procedure they follow rather than the output they produce Longuet-Higgins and Steedman’s model Holtzmann’s model Winograd’s and Maxwell’s Systems for harmonic analysis Vos and Van Greenen algorithm Preference Rule Systems (Temperley’s Model) Systems that consider many possible analysis of a piece or passage, evaluates them by certain criteria and chooses the highest-scoring one Advantages: Handling of real-time processing Creates a numerical score for analysis Problem: A segment containing more pitch classes will have a higher score

Testing the Model Input required for the program Parameters: Test #1: A list of notes  MIDI file A list of segments Parameters: Key Profiles: Not modified from last modification Change Penalty: Modified on each test and the best performance value was used Test #1: Tested on 48 fugue subjects from Bach’s Well-Tempered Clavier Results Test #2: Tested on 46 excerpts from the Kostka-Payne theory textbook, “Tonal Harmony” by Stefan Kostka and Dorothy Payne

Testing the Model C C G G g C G Above: HarmoRubette: used Temperley data, Minor: 1.5, Major:2 equals to Minor:2 Major: 2 Upper Right: Temperley’s own results according p.79/80 Lower Right: HarmoRubette: Results with Distance 0.8 (change of key gets greater penalty)

Testing the Model Errors: Rate of modulation: Modulated too rarely or too often Solution: Modify the change penalty Wrong chosen key due to harmony Solution: Add a preference rule for tonic harmony and a primacy rule or implied tonic harmony Wrong chosen key due to the French sixth chords Solution: Program needs inherent information on the conventional tonal implications of French sixth chords Key-profile refinement Solution: Computational “hill-climbing” technique or by tallying of pitch classes in pieces for the basis of the key-profile values

Spelling Distinctions Categories Tonal Pitch Classes (TPCs) Neutral Pitch Classes (NPCs) NPCs 12 pitches. Neutral model of pitch classes. TPCs Spelling labels of pitch events are an important part of tonal perception Results of Results of testing with TPC instead of NPC TCP version attained a score of 87.4% correct NPC version attained a score of 83.8% correct

David Huron and Richard Parncutt: Huron-Parncutt algorithm The key at each moment in a piece is determined by an input vector of all the pitch events so far in the piece, weighted according to their recency Half-life curve Implementation Test: Kostka-Payne test group Modificed version of the key-profile values Same input format as in the previous tests Same segments as in the previous tests NEW: For each segment, a “global input vecor” was generated Results: With optimized half-life input Scored correctly 628.5 our of 896 segments Correct rate of 70.1% Reasons for disappointing performance Inability to backtrack No real defense against rapid modulation

Conclusions Key-profile model Is a successful solution to the key-finding problem Spelling, harmony and the “Primacy” factor appear to play a role in key finding