T Y H G E D I. Music Informatics. Alan Smaill. Jan 21st Alan Smaill Music Informatics Jan 21st /1

Similar documents
T Y H G E D I. Music Informatics. Alan Smaill. Feb Alan Smaill Music Informatics Feb /1

On Interpreting Bach. Purpose. Assumptions. Results

Notes on David Temperley s What s Key for Key? The Krumhansl-Schmuckler Key-Finding Algorithm Reconsidered By Carley Tanoue

HST 725 Music Perception & Cognition Assignment #1 =================================================================

T Y H G E D I. Music Informatics. Alan Smaill. Jan 29, Alan Smaill Music Informatics Jan 29, /20

Lesson Week: August 17-19, 2016 Grade Level: 11 th & 12 th Subject: Advanced Placement Music Theory Prepared by: Aaron Williams Overview & Purpose:

Credo Theory of Music training programme GRADE 4 By S. J. Cloete

The Keyboard. Introduction to J9soundadvice KS3 Introduction to the Keyboard. Relevant KS3 Level descriptors; Tasks.

An Integrated Music Chromaticism Model

Student Performance Q&A:

The Keyboard. An Introduction to. 1 j9soundadvice 2013 KS3 Keyboard. Relevant KS3 Level descriptors; The Tasks. Level 4

The Baroque 1/4 ( ) Based on the writings of Anna Butterworth: Stylistic Harmony (OUP 1992)

CSC475 Music Information Retrieval

Chapter 1: Key & Scales A Walkthrough of Music Theory Grade 5 Mr Henry HUNG. Key & Scales

Homework Booklet. Name: Date:

2014 Music Performance GA 3: Aural and written examination

2011 Music Performance GA 3: Aural and written examination

Developing Your Musicianship Lesson 1 Study Guide

MUSIC PERFORMANCE: GROUP

COURSE OUTLINE. Corequisites: None

Student Performance Q&A:

Harmony and tonality The vertical dimension. HST 725 Lecture 11 Music Perception & Cognition

MUSIC CURRICULM MAP: KEY STAGE THREE:

Student Performance Q&A:

Outline. Why do we classify? Audio Classification

Music Department Columbia University Ear Training Curriculum, Fall 2012 Sing and Play at the Piano Face the Music

AQA A Level Music. Listen to Haydn s 104 Symphony a number of times and follow the score. You will be able to find the score on this website.

Music Curriculum Glossary

PHY 103: Scales and Musical Temperament. Segev BenZvi Department of Physics and Astronomy University of Rochester

How Figured Bass Works

The Perception of Music

Proceedings of the 7th WSEAS International Conference on Acoustics & Music: Theory & Applications, Cavtat, Croatia, June 13-15, 2006 (pp54-59)

Music Theory. created by William Anderson B.A. Music

Student Performance Q&A: 2001 AP Music Theory Free-Response Questions

Partimenti Pedagogy at the European American Musical Alliance, Derek Remeš

Pitch Spelling Algorithms

Stylistic features Antonio Vivaldi: Concerto in D minor, Op. 3 No. 11

Student Performance Q&A:

Music Solo Performance

MUSIC PERFORMANCE: GROUP

Student Performance Q&A:

AP MUSIC THEORY 2015 SCORING GUIDELINES

AP MUSIC THEORY 2006 SCORING GUIDELINES. Question 7

AP MUSIC THEORY 2011 SCORING GUIDELINES

Oak Bay Band MUSIC THEORY LEARNING GUIDE LEVEL IA

Divisions on a Ground

MMTA Written Theory Exam Requirements Level 3 and Below. b. Notes on grand staff from Low F to High G, including inner ledger lines (D,C,B).

MUSIC GROUP PERFORMANCE

The KING S Medium Term Plan - Music. Y10 LC1 Programme. Module Area of Study 3

Elements of Music David Scoggin OLLI Understanding Jazz Fall 2016

MUSIC THEORY CURRICULUM STANDARDS GRADES Students will sing, alone and with others, a varied repertoire of music.

2) Is it a Sharp or a Flat key? a. Flat key Go one Flat Further (use Blanket Explodes) b. Sharp key Go Down a Semitone (use Father Christmas)

Assessment Schedule 2017 Music: Demonstrate knowledge of conventions in a range of music scores (91276)

CHAPTER CHAPTER CHAPTER CHAPTER CHAPTER CHAPTER CHAPTER CHAPTER CHAPTER 9...

new dark art treatise Corey Mwamba

MELODIC AND RHYTHMIC EMBELLISHMENT IN TWO VOICE COMPOSITION. Chapter 10

Descending- and ascending- 5 6 sequences (sequences based on thirds and seconds):

AP Music Theory 2013 Scoring Guidelines

New Zealand Music Examinations Board

AP Music Theory

Leaving Certificate 2013

Vivaldi: Concerto in D minor, Op. 3 No. 11 (for component 3: Appraising)

In all creative work melody writing, harmonising a bass part, adding a melody to a given bass part the simplest answers tend to be the best answers.

Calculating Dissonance in Chopin s Étude Op. 10 No. 1

3 against 2. Acciaccatura. Added 6th. Augmentation. Basso continuo

Ragtime wordsearch. Activity SYNCOPATED B T S A D E T N E C C A G E M F AMERICA Y N O M R A H T N A N I M O D Z SCOTT JOPLIN

AP Music Theory. Sample Student Responses and Scoring Commentary. Inside: Free Response Question 1. Scoring Guideline.

The Practice Room. Learn to Sight Sing. Level 2. Rhythmic Reading Sight Singing Two Part Reading. 60 Examples

AP Music Theory. Sample Student Responses and Scoring Commentary. Inside: Free Response Question 7. Scoring Guideline.

Sequential Association Rules in Atonal Music

AP MUSIC THEORY 2016 SCORING GUIDELINES

New Zealand Music Examinations Board

GRADUATE/ transfer THEORY PLACEMENT EXAM guide. Texas woman s university

All rights reserved. Ensemble suggestion: All parts may be performed by soprano recorder if desired.

AP Music Theory 2010 Scoring Guidelines

Keys Supplementary Sheet 11. Modes Dorian

Music Theory Lesson Plans

Theory Bowl. Round 3: Harmony, Voice Leading and Analysis

PART-WRITING CHECKLIST

Music Theory Courses - Piano Program

Musical Acoustics Lecture 16 Interval, Scales, Tuning and Temperament - I

SE22 Piano School Grade 1 theory guide

Curriculum Development In the Fairfield Public Schools FAIRFIELD PUBLIC SCHOOLS FAIRFIELD, CONNECTICUT MUSIC THEORY I

AP MUSIC THEORY 2013 SCORING GUIDELINES

PKUES Grade 10 Music Pre-IB Curriculum Outline. (adapted from IB Music SL)

Take a Break, Bach! Let Machine Learning Harmonize That Chorale For You. Chris Lewis Stanford University

B b. E b. A b. B/C b. C # /D b. F # /G b. The Circle of Fifths. Tony R. Kuphaldt. The Circle. Why Theory? Purpose. Assumptions. Intervals.

Theory of Music. Clefs and Notes. Major and Minor scales. A# Db C D E F G A B. Treble Clef. Bass Clef

46. Barrington Pheloung Morse on the Case

AP MUSIC THEORY 2016 SCORING GUIDELINES

15. Corelli Trio Sonata in D, Op. 3 No. 2: Movement IV (for Unit 3: Developing Musical Understanding)

Curriculum Catalog

The Pythagorean Scale and Just Intonation

NUMBER OF TIMES COURSE MAY BE TAKEN FOR CREDIT: One

Introduction to Music Theory. Collection Editor: Catherine Schmidt-Jones

Study Guide. Solutions to Selected Exercises. Foundations of Music and Musicianship with CD-ROM. 2nd Edition. David Damschroder

LESSON 1 PITCH NOTATION AND INTERVALS

Music Theory. Fine Arts Curriculum Framework. Revised 2008

Unit Outcome Assessment Standards 1.1 & 1.3

Musicianship Question booklet 1. Examination information

Transcription:

O Music nformatics Alan maill Jan 21st 2016 Alan maill Music nformatics Jan 21st 2016 1/1

oday WM pitch and key tuning systems a basic key analysis algorithm Alan maill Music nformatics Jan 21st 2016 2/1

WM pitch organisation Just as most WM is organised around a regular metrical hierarchy, the pitches are typically organised around a standard set of (relative) pitches, where: the interval of the octave plays a key role: notes are named (like g ) independently of the octave, voices singing an octave apart are singing in unison. the intermediate notes are spaced roughly equally between the octave, as on piano keyboard or guitar frets. his doesn t stop other pitches appearing, for expressive or other purposes. ut the claim is that pitches are related to such an underlying framework. Alan maill Music nformatics Jan 21st 2016 3/1

Key WM is organised around a system of keys (like A major, minor). A key is associated with a tonal centre (A) and a scale selected from the 12 semi-tones, in the major or minor pattern. otice that the names chosen for the notes on a keyboard are different depending on the key (g,a ), and a system to turn a midi file into a conventional score has to work out the right spelling for the note. his depends on determining the key from a set of notes. Alan maill Music nformatics Jan 21st 2016 4/1

uning here are different ways in which the semitone pitches have been related to each other historically, going back to Pythagoras. here was a big change at the time of ach which allowed keyboard instruments to play in remote keys (like major) and still sound in tune. or an overview of these different tunings, see eg http: // tinyurl. com/ yhtxs2k he perfect fifth (eg C ) is realised as the interval between the second and third harmonics (of the note an octave below the C here); physically these notes have frequencies in the ratio 2:3. ingers will aim for this tuning. n the Pythagorean tuning, major fifths are tuned exactly up and down from the tonic. Alan maill Music nformatics Jan 21st 2016 5/1

Pythagorean vs mean vs equal tuning Pythagorean otal ntervals:1 9:8 81:64 4:3 3:2 27:16 243:128 2 ote: C A C local ntervals: 9:8 9:8 256:243 9:8 9:8 9:8 256:243 Cents: 204 204 90 204 204 204 90 he usual tuning before 1700 was just temperament (or mean tone), where major thirds are tuned exactly: Mean/just otal ntervals:1 5:4 2 ote: C A C Cents: 193 193 117 193 193 193 117 he equal temperament scale makes every semitone the same size. o tone/semitone have size 200/100 cents. Alan maill Music nformatics Jan 21st 2016 6/1

Comparison t is not always easy to hear the difference between tunings; it is worth listening several times here. ome examples of just tuning with equal temperament are at http: // www. wmich. edu/ mus-theo/ groven/ compare. html ote that this has been set up so that just temperament is used even for a piece in C major, by basing the tuning on that key (unlike in historic keyboard instruments). Alan maill Music nformatics Jan 21st 2016 7/1

Local key-finding in equal temperament Problem: given a sequence of pitches in equal temperament (just as a semitone position on a semitone scale), estimate whether the melody is major or minor what the tonal centre is (keynote). Longuet-iggins developed a geometrical representation of semitone pitches in a 2-dimensional array that allows for multiple occurrences of the same (in equal temperament) pitches, depending on their role in different keys. he algorithm tries to match a given set of pitches to possible occurrences on the array, so as to have the occurrences as close together as possible. he shape of the occurrences then suggests major or minor, and the keynote. Alan maill Music nformatics Jan 21st 2016 8/1

major key by 3rds and fifths he basis for the two dimensional array is intervals horizontally are perfect fifths (7 semitones) intervals vertically are major thirds (4 semitones) or the C major scale, this gives A C and for (harmonic version of) C minor, get C A Alan maill Music nformatics Jan 21st 2016 9/1

he array his pattern in the general array indicates major and minor scales, with the keynote at a distinguished position. ecall that the spelling of the note name depends on position in the array. C A C A C A C A C A C his array can be extended, eg above and below where double sharp/double flat spellings are found. he aim of the algorithm, given a sequence of pitches, is to look for a mapping of pitches into the array that corresponds to the major or minor key shape. his can be done by looking at each pattern of pitches corresponding to a key, and seeing how many of the given notes can be mapped inside this pattern. Alan maill Music nformatics Jan 21st 2016 10/1

xample Look at the subject of fugue 5, book 2 in major. iven a midi-like representation of the notes, how do we work out whether the last note is or? here are 6 distinct pitches; the key is ambiguous between major and major, but in either case the last note is. Alan maill Music nformatics Jan 21st 2016 11/1

xample ctd or major: C A A C C A A C his shape suggests a missing but implied C natural; is far away from the active pitches. Alan maill Music nformatics Jan 21st 2016 12/1

xample ctd here is a similar story for major: C A A C C A A C ow it is the C that is suggested (and not ); it is a different occurrence of also. Alan maill Music nformatics Jan 21st 2016 13/1

Minor keys We have seen the shape for minor keys. t was normal at ach s time to allow also the melodic versions of the scale (in C minor,, A,, C ascending, C,, A descending), and this forms an extended shape for minor keys. he algorithm takes in successive notes, until a unique key is determined as suggested. he subjects of the fugues stick to a key, so this is a very special situation, where a melody line usually establishes a key quickly. Alan maill Music nformatics Jan 21st 2016 14/1

esolving ambiguity n the metrical analysis, we saw that stresses outside the metrical grid do not appear until the grid is established. or key, similarly, pitches outside the basic scale do appear after the key is established, but usually not before that. ere is an example: C he key is uniquely determined after the first 7 notes (end of first bar). otice that the later notes notated C and are different notations for the same pitch. he ideas so far give a the basis of an analysis of how the notes outside the pitches of the key relate to the notes in the key. Alan maill Music nformatics Jan 21st 2016 15/1

Outside pitches he part of pitch-space identified by the first 7 notes (5 pitches) is this: C A A C C A or other pitches, look for a position in the grid closest to the pitches identified by the key this determines where the and are located. Alan maill Music nformatics Jan 21st 2016 16/1

Outside pitches ctd One more rule is used where there are (one or more) semitones in the melody: the first and last of any sequence of semitones should be made of the combination of one place right and one place up (ie perfect fifth and major third). his is what gives the difference between C and. o we get the following for the first 17 notes (outside notes in blue, semitone pairs with yellow background). C A A C C A Alan maill Music nformatics Jan 21st 2016 17/1

esolving Ambiguity ctd he key determination algorithms is not enough for all the examples in the 48; there is a problem if the notes so far go from allowing several keys to allowing no keys when one note is added (eg ugue 14 book 1, see article). o choose between possible hypotheses when extra notes do not help, prefer if possible: first the key whose keynote is the first note of the fugue otherwise the key whose fifth note is the first note of the fugue. his is enough to correctly identify the keys of all the fugues. t is very specific to the style in question, however. Alan maill Music nformatics Jan 21st 2016 18/1

otating other notes armonic analysis should also provide a way of notating the pitches for notes outside the notes of the scale once the key has been identified. ven in these short examples, we can see that ach uses both and C in one phrase (fugue 24 book 1). A rule to resolve this is that semitone intervals between notes should be notated as different notes in the scale, with one possibly sharpened or flattened from the normal note in the scale. his rule works for these examples. Justifying this decision in terms of the theory of harmony of the time would take us out of the scope of the course... Alan maill Music nformatics Jan 21st 2016 19/1

Cognitive Aspects As for rhythmic analysis, the harmonic algorithm aims to model the process by which a listener can come to understand the harmonic context in which the work unfolds. part of this is the incremental nature of the processing, which establishes the key as soon as it is unambiguous. Other styles of music would make this a lot harder for a machine because it is harder for the listener, and the music deliberately plays on harmonic ambiguity. Alan maill Music nformatics Jan 21st 2016 20/1

Modulation o far, this says nothing about recognition of key change (modulation), which is an important aspect of tonality in WM. Once a key is established, notes outside the key can be felt as decoration (without changing the key), or as establishing a new key. We can imagine keeping a window of recent pitch events, and when the number of notes outside the scale is too large, reanalysing the key. owever, the setting up of key change is usually more obvious than this to the listener. Alan maill Music nformatics Jan 21st 2016 21/1

Comparison hese ideas are still relevant (though the work was done some time ago). Comparison of some algorithms in this area that also aim to capture aspects of musical cognition are in Carol Krumhansl s book Cognitive Aspects of Musical Pitch, Oxford niversity Press, 2001, ch 4; this chapter is on-line: http: // tinyurl. com/ yfxqrza Alan maill Music nformatics Jan 21st 2016 22/1

Other harmonic tasks Other interesting related problems: Analysis from audio on-incremental analysis given a whole piece (say ach Prelude), estimate the overall key, or key areas. ere a machine can do arbitrary comparisons between chunks that are far apart, and in any order. his doesn t claim to model human cognition, but can be very effective. Alan maill Music nformatics Jan 21st 2016 23/1

armonic Progressions n the context of a particular key, harmony in WM is organised around a notion of harmonic progressions, which correspond to chosen sets of notes from the given key. or the major keys, the starting point is to consider the chords based on the notes of the major scale by picking 3 notes (a triad), numbered n, n + 2, n + 4 in the scale. ere and in many other places we consider that notes an octave apart are considered to be equivalent for harmonic purposes. hese are notes given the same name (A,, C,... ), and this corresponds to doubling the underlying main frequency of the pitch. Alan maill Music nformatics Jan 21st 2016 24/1

Major scale chords hen the chords in a particular key can be numbered in oman form, where is the chord on the keynote (the tonic, the base of the scale); ii is the (minor) chord on the second note of the scale; iii is the (minor) chord on the third note of the scale; and so on (lower case oman for minor chord) Many simple songs make use of just a small number of these harmonies ( ). n using these harmonies, there are many possible ways of playing the notes of the chord (which octave, which note is the lowest, simultaneously or successively). Alan maill Music nformatics Jan 21st 2016 25/1

xample he well-known Canon by Pachelbel illustrates the situation. ere a single progression is repeated many times, with different melody notes associated. he original version left freedom to one player to play the harmonies associated with the bass line as they felt appropriate. hus the score does not say which exact notes to play compare a guitar accompaniment with similar indication. he progression, in major, is: vi iii... he phrase returns to the start, so is both initial and final harmony. he ending of a phrase usually has a special role for the harmony. Alan maill Music nformatics Jan 21st 2016 26/1

O Canon as it starts violin cello 5 Alan maill Music nformatics Jan 21st 2016 27/1

Melody with harmony otice here: he melody notes relate strongly to the harmony: n the initial slower section, each pitch of the melody is one of the pitches of the harmony; n the faster section, the pitches are either in the harmony, or close in pitch to a harmony pitch, while remaining in the key. hese are features of the pitch organisation of WM that we would like to be able to: analyse, and use to guide generation of music. Alan maill Music nformatics Jan 21st 2016 28/1

ummary WM keys as corresponding to realted scales with tonal centres; tuning systems; 2-dimensional array of pitches reflecting harmonic relations; algorithm for local key determination; basics of harmonic progression. Alan maill Music nformatics Jan 21st 2016 29/1