CHARM Symposium Kings College London 6 January 2006 The Mazurka Project.

Slides:



Advertisements
Similar presentations
Chapter 2: Rhythm and Pitch
Advertisements

Descriptive Measures MARE 250 Dr. Jason Turner.
Recording-based performance analysis: Feature extraction in Chopin mazurkas Craig Sapp (Royal Holloway, Univ. of London) Andrew Earis (Royal College of.
Correlation Chapter 6. Assumptions for Pearson r X and Y should be interval or ratio. X and Y should be normally distributed. Each X should be independent.
Int 2 Multimedia Revision. Digitised Sound Analogue sound recorded from person, or real instruments.
Measurement Systems Analysis with R&R INNOVATOR Lite TM The House of Quality presents.
The Standard Deviation as a Ruler and the Normal Model.
Mazurka Project Update Craig Stuart Sapp CHARM Symposium Kings College, University of London 26 January 2006.
Reverse Conducting Slides Mazurka Project Presentation Materials Version: 14 November 2005.
Limit for Title Do not exceed Limit for Subhead and content Do not exceed Overall content limit Tecton Nucleus User Presentation.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 6 The Standard Deviation as a Ruler and the Normal Model.
Data Analysis Unit Interpreting Data in Various Forms
Classification of Music According to Genres Using Neural Networks, Genetic Algorithms and Fuzzy Systems.
Pinpointing the Beat: Tapping to Expressive Performances. By S. Dixon and W. Goebl (2002). (beat tracking & auto-transcription) Emilios Cambouropoulos.
The goal of data analysis is to gain information from the data. Exploratory data analysis: set of methods to display and summarize the data. Data on just.
Localized Key-Finding: Algorithms and Applications Ilya Shmulevich, Olli Yli-Harja Tampere University of Technology Tampere, Finland October 4, 1999.
Experiments in Behavioral Network Science: Brief Coloring and Consensus Postmortem (Revised and Updated 4/2/07) Networked Life CSE 112 Spring 2007 Michael.
Short Term Load Forecasting with Expert Fuzzy-Logic System
CHARM Advisory Board Meeting Institute for Historical Research, School of Advanced Study, UL Senate House, London 12 Dec 2006 Craig Stuart Sapp Centre.
Hydrologic Statistics
Time-history seismic analysis with SAP2000 A step-by-step guide for BEng/MEng/MSc students familiarizing with this piece of software.
Computer Science 1000 Spreadsheets II Permission to redistribute these slides is strictly prohibited without permission.
Beat-level comparative performance analysis Craig Stuart Sapp CHARM Friday the 13 th of April 2007 CHARM Symposium 4: Methods for analysing recordings.
Polyphonic Queries A Review of Recent Research by Cory Mckay.
Data Collection & Processing Hand Grip Strength P textbook.
The Mazurka Project Craig Stuart Sapp Centre for the History and Analysis of Recorded Music Royal Holloway, Univ. of London Universiteit van Amsterdam.
Applications Statistical Graphical Models in Music Informatics Yushen Han Feb I548 Presentation.
Paper by Craig Stuart Sapp 2007 & 2008 Presented by Salehe Erfanian Ebadi QMUL ELE021/ELED021/ELEM021 5 March 2012.
BPS - 3rd Ed. Chapter 211 Inference for Regression.
Copyright © 2010 Pearson Education, Inc. Chapter 6 The Standard Deviation as a Ruler and the Normal Model.
Intra-individual variability in early child language Representing and testing variability and variability change Paul van Geert University of Groningen.
ABI Instructions- Setting up your Gradebooks *skip to slide 10 for setting up a new quarter By Sarah Rosenkrantz
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 6 The Standard Deviation as a Ruler and the Normal Model.
Copyright © 2009 Pearson Education, Inc. Chapter 6 The Standard Deviation As A Ruler And The Normal Model.
Copyright © 2009 Pearson Education, Inc. Chapter 6 The Standard Deviation as a Ruler and the Normal Model.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Feedback Control.
The Standard Deviation as a Ruler and the Normal Model
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 4 Describing Numerical Data.
Extracting Melody Lines from Complex Audio Jana Eggink Supervisor: Guy J. Brown University of Sheffield {j.eggink
Mazurka Project 29 June 2006 CHARM Symposium Craig Stuart Sapp.
Introductory Statistics. Learning Objectives l Distinguish between different data types l Evaluate the central tendency of realistic business data l Evaluate.
SW318 Social Work Statistics Slide 1 Measure of Variability: Range (1) This question asks about the range, or minimum and maximum values of the variable.
A n = c 1 a n-1 + c2an-2 + … + c d a n-d d= degree and t= the number of training data (notes) The assumption is that the notes in the piece are generated.
11/23/2015Slide 1 Using a combination of tables and plots from SPSS plus spreadsheets from Excel, we will show the linkage between correlation and linear.
V ISUALIZING E XPRESSIVE P ERFORMANCE IN T EMPO -L OUDNESS S PACE Presented by Vinoth Kulaveerasingam QMUL ELE021/ELED021/ELEM021 5 Mar 2012 Paper by Jorg.
Chapter 3 Response Charts.
Slide Chapter 2d Describing Quantitative Data – The Normal Distribution Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
The Mazurka Project Science and Music Seminar University of Cambridge 28 Nov 2006 Craig Stuart Sapp Centre for the History and Analysis of Recorded Music.
RESEARCH & DATA ANALYSIS
Computational Performance Analysis Craig Stuart Sapp CHARM 25 April 2007 CCRMA Colloquium.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 6 The Standard Deviation as a Ruler and the Normal Model.
Info Read SEGY Wavelet estimation New Project Correlate near offset far offset Display Well Tie Elog Strata Geoview Hampson-Russell References Create New.
Lecture 7: Bivariate Statistics. 2 Properties of Standard Deviation Variance is just the square of the S.D. If a constant is added to all scores, it has.
This research was funded by a generous gift from the Xerox Corporation. Beat-Detection: Keeping Tabs on Tempo Using Auto-Correlation David J. Heid
CHAPTER 11 Mean and Standard Deviation. BOX AND WHISKER PLOTS  Worksheet on Interpreting and making a box and whisker plot in the calculator.
BPS - 5th Ed. Chapter 231 Inference for Regression.
(Unit 6) Formulas and Definitions:. Association. A connection between data values.
Statistical Analysis with Excel
Introduction Welcome to MyTunes You will learn to make
Statistical Analysis with Excel
Statistical Methods For Engineers
Statistical Analysis with Excel
pencil, red pen, highlighter, GP notebook, graphing calculator
Cortical Mechanisms of Smooth Eye Movements Revealed by Dynamic Covariations of Neural and Behavioral Responses  David Schoppik, Katherine I. Nagel, Stephen.
Hippocampal “Time Cells”: Time versus Path Integration
The Spatiotemporal Organization of the Striatum Encodes Action Space
Measuring the Similarity of Rhythmic Patterns
Steven C. Leiser, Karen A. Moxon  Neuron 
Presentation transcript:

CHARM Symposium Kings College London 6 January 2006 The Mazurka Project

Recent Progress Collected about 400 performances of mazurkas on 34 CDs Website for data and analysis results: Rough score alignment by tapping to recording Raw input to automated alignment process Andrew will present current state of automatic alignment Basic evaluation of tapping quality How accurate is reverse conducting? / Quality metrics For human-assisted alignment of performances to score

Sample Performance Listing Duration Performer (year) Label Full list of collected performances at:

Reverse Conducting and Score Alignment

Lots of Tapping Reverse conducting of same performance 20 times used to smooth out errors in individual sessions used to test various automatic windowing methods (such as SD) takes about 3 hours / performance to record and process 20 trials about 400 performances of the mazurkas collected 20 performances have been reverse conducted thus far: So 2 performances can be tapped per day 7 performances of Op. 7, No. 2 in A Minor 6 performances of Op. 7, No. 3 in F Minor (initial test case) 7 performances of Op. 17, No. 4 in A Minor

Data Entry Method **kern**beat**abstm**deltatime =1-=1-=1-= =2=2=2= =3=3=3= =4=4=4= backbeat.exe : command-line program for recording tap times Beat duration (quarter note) Metric position Absolute Time (ms) Delta Time (ms) Space bar records beats Any letter records barline and first beat of measure Absolute time from first click in milliseconds. Other 3 fields for error checking (during performance and afterwards). Computer keyboard resolution is 5 milliseconds. Example output: barline

Offset Alignment with Audio Need to align first tap to first note in recording. Cannot just measure start time of note in audio. Individual tapping trials aligned by least squares fit to a sample of manually measured beat time in audio file. Before alignment After alignment Typical deviations from correct offset: 5, -12, -27, -36 ms Play pid avg (Friedman 1930) Play pid avg (Perahia 1994) Examples of final alignment:

Tapping Summary Data **kern **beat **time **dur **min **max**cmin**cmax **sd =1=1 =1 =1 =1=1=1=1= =2 =2 =2 =2 =2 =2 =2 =2 = =3 =3 =3 =3 =3 =3 =3 =3 = =4 =4 =4 =4 =4 =4 =4 =4 = =5 =5 =5 =5 =5 =5 =5 =5 =

Score Alignment and Time Interpolation **time**kern**kern =1-=1-=1- **^* 2465([2.C/8FF\L2.r EEn\J CC\ =2=2=2= C/][2.FF\2.r 39214D-/ BBn/.. =3=3=3=3 4569[2.C/8FF\L]2.r EEn\J CC\ =4=4=4= C/][2.FF\2.r 59284D-/ BBn/).. =5=5=5=5 Abs times Score

Output data to Matlab %%col01: abstime (average absolute time in milliseconds of human beats) %%col02: duration (expected duration in ms based on score duration) %%col03: note (MIDI note number of pitch) %%col04: metlev (metric level: 1 = downbeat; 0 = beat; -1 = offbeat) %%col05: measure (measure number in which note occurs) %%col06: absbeat (absolute beat from starting beat at 0) %%col07: mintime (minimum absolute time of human beat for this note) %%col08: maxtime (maximum absolute time of human beat for this note) %%col09: sd (standard deviation of human beat time in ms.) Created from timed score + tapping summary data

Tapping Quality Measurements

Manual correction of the beat times Align tapped beats within 10 ms by ear/eye in sound editor Each beat alignment takes about 1-2 minutes on average 300 beats in each mazurka = 1 to 2 days for a performance Necessary for evaluation of automatic alignment 4 manual corrections done to date (for 7-2 & 7-3) Play pid corr (Friedman 1930)

Learning Curves for 4 Performances Mazurka in F Minor, Op. 7, No. 3 Rosen 1989Friedman 1930 Mazurka in A Minor, Op. 7, No. 2 Chiu 1999Friedman 1930 Play pid avg (Chiu 1999)

Average Displacement Errors Mazurka in F Minor, Op. 7, No. 3 Rosen 1989 millseconds = individual trial average displacement errors = dropping more and more later trials = dropping more and more earlier trials

Correction Offsets Mazurka in A Minor, Op. 7, No. 2 Chiu 1999Friedman ms avg correction; -12 ms overall shift 60 ms avg correction; -36 ms overall shift The top plots show amount of time in milliseconds between corrected beat times and average manually tapped beat times. Lower plots display a histogram of same. Spike at 0 in histograms due to 10 ms audible corrections resolution.

Correction Offsets (2) Mazurka in F Minor, Op. 7, No. 3 Rosen 1989Friedman ms avg correction; +5 ms overall shift 48 ms avg correction; -27 ms overall shift

Beat Accuracy Metric Human tapper: 48% of beats within 40 milliseconds Pid (7-3; Friedman 1930) 0-20 pid (7-2; Chiu 1999) ABC D E percent Milliseconds: Logarithmic scale to measure differences between tapped and true beat location: excellent good fairpoor bad horrible

Automatic Score Alignment

Current Work Tempo Correlation Analysis Performance Reconstruction Tempo Plots

Measure number Tempo max min avg 95%avgmin 95%avgmax Individual trials (smaller = earlier trial) & (red = earlier; purple=later trial) Friedman 1930 Op. 7, No. 3

Tempo Plots Op. 7, No. 3 Play pid m Play pid m Friedman 1930 Rosen 1989 Mazurka in F minor Op. 7, No. 3 Manual corrections: Red dot = beat 1 Blue dots = beats 2 & 3 (rubato)

Tempo Plots Op. 7, No. 3 (2) Play pid m Play pid m Friedman 1930 Rosen 1989 Mazurka in F minor Op. 7, No. 3 (Note surprise or lack of it) (boundaries)

Tempo Plots Op. 7, No. 2 Play pid m Play pid m Friedman 1930 Chiu 1999 Mazurka in A minor Op. 7, No. 2 (Third beats red) Very clear phrase boundaries (peaks every two measures): (phrasing)

Tempo Plots Op. 7, No. 2 (2) Play pid m Play pid m Friedman 1930 Chiu 1999 Mazurka in A minor Op. 7, No. 2 (Third beats red) (phrasing)

Tempo Correlation Pearson's product moment correlation: Correlation value in the range from -1 to means exact correlation, 0 means no correlation, -1 is anticorrelation Used in the Krumhansl-Schmuckler key-finding algorithm Spearman Rank Correlation Coefficient Other types of correlation metrics, such as:

Tempo Correlation (2) Chiu 1999 Magaloff 1977 Chiu 1999 Magaloff 1977 Chiu 1999 Horowitz 1985 Chiu 1999 Horowitz 1985 Beat durations: Measure durations: r = 0.57 r = 0.58r = 0.75 r = 0.81 Op. 17, No. 4

Tempo Correlation (3) Comparing two unrelated pieces: Raw and corrected reverse conduction: r = ; Chiu ; Chiu 1999 r = ; Chiu 1999; raw corrected correlation extremes

Tempo Correlation (4) Autocorrelation with shifted performance 7-2; Chiu ; Chiu 1999 phrase measures r-value beat number

Performance Reconstruction Simulate performances of the score from various components: Constant tempo Measure tempo Beat tempo Tempo of offbeats Exact duration of all notes Constant Loudness Chordal Loudness Note Loudness phrasing jazzing voicing dynamics boring Non-simultaneous beat events Tempo Dynamics Also durations for: staccato, legato & pedaling

Performance Reconstruction (2) **time**kern**kern =1-=1-=1- **^* 2465([2.C/8FF\L2.r EEn\J CC\ =2=2=2= C/][2.FF\2.r 39214D-/ BBn/.. =3=3=3=3 4569[2.C/8FF\L]2.r EEn\J CC\ =4=4=4= C/][2.FF\2.r 59284D-/ BBn/).. =5=5=5=5 Abs timesScore First Reconstruction: Use tap timings to control the tempo of each beat Interpolate expected times of offbeats Convert score to MIDI using **time data with inferred durations. 7-2; Chiu ; Chiu 1999 reconstruction simultaneously Play pid Play pid rA Play pid sim

Future Work Audio: Minimize alignment errors/Speed alignment process Automatic alignment of offbeats after beats are verified Non-simultaneous chord note timing offsets Note dynamics Performance Analysis: Characterize and compare performances Identify importance/relation of timing and dynamics Automatic identification of “schools” of music?

Miscellaneous Slides

Tempo Perception Experiment clicks: JND: faster tempo: slower tempo: JND JND/4 JND * 4 JND * 10 JND/10 10 clicks; 60 MM

Average Displacement Errors (2) Mazurka in F Minor, Op. 7, No. 3 Rosen 1989Friedman 1930 Mazurka in A Minor, Op. 7, No. 2 Chiu 1999Friedman 1930 slower tempo