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

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

SPECIES COUNTERPOINT

MELODIC AND RHYTHMIC EMBELLISHMENT IN TWO VOICE COMPOSITION. Chapter 10

AP MUSIC THEORY 2011 SCORING GUIDELINES

AP MUSIC THEORY 2016 SCORING GUIDELINES

Title: Species Counterpoint Speaker: Scott Blasco Created by: Scott Blasco. online.wsu.edu

PRACTICE FINAL EXAM. Fill in the metrical information missing from the table below. (3 minutes; 5%) Meter Signature

CHAPTER ONE TWO-PART COUNTERPOINT IN FIRST SPECIES (1:1)

AP MUSIC THEORY 2013 SCORING GUIDELINES

Cadence fingerprints

AP MUSIC THEORY 2015 SCORING GUIDELINES

King Edward VI College, Stourbridge Starting Points in Composition and Analysis

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

Exploring the Rules in Species Counterpoint

Unit 5b: Bach chorale (technical study)

Student Performance Q&A:

AP MUSIC THEORY 2006 SCORING GUIDELINES. Question 7

Past papers. for graded examinations in music theory Grade 6

Student Performance Q&A:

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

Chorale Completion Cribsheet

Student Performance Q&A:

AP Music Theory 2010 Scoring Guidelines

Student Performance Q&A:

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

PART-WRITING CHECKLIST

Outline The Study of Counterpoint from Joseph Fux s Gradus Ad Parnassum. Translated & Edited by Alfred Mann

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

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

AP MUSIC THEORY 2010 SCORING GUIDELINES

Music Theory For Pianists. David Hicken

Example 1 (W.A. Mozart, Piano Trio, K. 542/iii, mm ):


AP Music Theory. Scoring Guidelines

AP Music Theory 2013 Scoring Guidelines

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

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

Readings Assignments on Counterpoint in Composition by Felix Salzer and Carl Schachter


Introduction to Free Counterpoint. ( or Bach Style Counterpoint ) by Glen Halls All rights reserved.

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 Theory. Fine Arts Curriculum Framework. Revised 2008

Past papers. for graded examinations in music theory Grade 4

The Composer s Materials

Keyboard Foundation Level 1

Music Theory Syllabus Course Information: Name: Music Theory (AP) School Year Time: 1:25 pm-2:55 pm (Block 4) Location: Band Room

Student Performance Q&A:

Lesson Two...6 Eighth notes, beam, flag, add notes F# an E, questions and answer phrases


Piano Syllabus. London College of Music Examinations

Working with unfigured (or under-figured) early Italian Baroque bass lines

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

2011 MUSICIANSHIP ATTACH SACE REGISTRATION NUMBER LABEL TO THIS BOX. Part 1: Theory, Aural Recognition, and Musical Techniques

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

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

BIBLIOGRAPHY APPENDIX...

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

Divisions on a Ground

Workbooks for undergraduate counterpoint 1-4

Virginia Commonwealth University MHIS 146 Outline Notes. Open and Closed Positions of Triads Never more than an octave between the upper three voices

Music Theory Courses - Piano Program

CPU Bach: An Automatic Chorale Harmonization System

Theory of Music Grade 6

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.

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

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

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

The Composer s Materials

Course Objectives The objectives for this course have been adapted and expanded from the 2010 AP Music Theory Course Description from:

AP Music Theory Syllabus

Practical Rules. Learning Composition Translated from a Work intitled GRADUS AD PARNASSUM JOHN JOSEPH FEUX. The Roman Emperor CHARLES VI

Cadences. There are four different types of harmonic cadences: perfect (or authentic) imperfect (or half), plagal and interrupted (or deceptive).

AP/MUSIC THEORY Syllabus

NJCCCS AREA: North Brunswick Township Public Schools. AP Music Theory. Acknowledgements: Written by: James Egan, Band Director

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

NUMBER OF TIMES COURSE MAY BE TAKEN FOR CREDIT: One

Course Overview. At the end of the course, students should be able to:

BLUE VALLEY DISTRICT CURRICULUM & INSTRUCTION Music 9-12/Honors Music Theory

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

Grade Six. MyMusicTheory.com. Composition Complete Course, Exercises & Answers PREVIEW. (ABRSM Syllabus) BY VICTORIA WILLIAMS BA MUSIC

Music Theory. Level 3. Printable Music Theory Books. A Fun Way to Learn Music Theory. Student s Name: Class:

Music Theory Courses - Piano Program

Keys Supplementary Sheet 11. Modes Dorian

AP Music Theory Course Planner

Beethoven: Pathétique Sonata

REPORT ON THE NOVEMBER 2009 EXAMINATIONS

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

Assignment Ideas Your Favourite Music Closed Assignments Open Assignments Other Composers Composing Your Own Music

Course Schedule 1 DATE TOPICS AND READING ASSIGNMENTS THEORY ASSIGNMENTS DUE

AP MUSIC THEORY 2014 SCORING GUIDELINES

Acknowledgements... ii Preface... iii CHAPTER CHAPTER CHAPTER CHAPTER CHAPTER CHAPTER 6...

Curriculum Catalog

Week 22, Unit 22: The French Sixth Chord and The Neapolitan Sixth Chord

NUMBER OF TIMES COURSE MAY BE TAKEN FOR CREDIT: One

SAMPLE. Music Studies 2019 sample paper. Question booklet. Examination information

MUSIC. Transition guide KS4-KS5 Topic: Composition Version 1. A LEVEL Transition Guide. H543 For first teaching in 2016

The following are Guidelines good places to start when working through a part-writing exercise.

AP Music Theory Syllabus

Theory of Music Grade 5

Theory of Music Grade 5

Transcription:

O Y Music nformatics Alan maill eb 15 2018 Alan maill Music nformatics eb 15 2018 1/1

oday Y ule based systems ule-based Counterpoint ystems ule-based systems for 4-part harmonisation Alan maill Music nformatics eb 15 2018 2/1

ule-based systems Y aka Knowledge-ased ystems. his goes back to the idea of working with a declarative representation of the knowledge of some particular domain of interest (medical, geological, legal, musical... ). t is standard to distinguish between: declarative knowledge: in the form of explicit statements about the object domain: Paris is the capital of rance. procedural knowledge: knowing how to do something how to tie shoe-laces. A rule based system for a particular domain will need to use both sorts of knowledge to solve problems. Alan maill Music nformatics eb 15 2018 3/1

eclarative Knowledge Y A standard answer is to use a logic-based representation ranslation from nglish is fairly easy. All donkeys are stupid gives x donkey(x) stupid(x) red is a donkey gives donkey(fred) s red stupid? gives stupid(fred)? Logic gives an answer. We can build up a knowledge base for a given domain in this sort of language richer than database languages, usually, but along the same lines. Alan maill Music nformatics eb 15 2018 4/1

Procedural Knowledge Y his is harder to represent. here is a problem about how to use declarative knowledge eg that it is better to use one available rule that another to solve a particular problem. ome possible answers: annotations to prioritise rules order of the data in Knowledge ase as a specialised control structure that analyses problems to determine the best route to a solution. Alan maill Music nformatics eb 15 2018 5/1

ules in music Y tudents are taught various rules for tackling some musical tasks, eg: counterpoint harmonisation he rules do not lead to a unique answer (unlike rules for sudoku problems, which are set up to have a unique answer). Also, the rules can be absolute, or describe preferences that can be broken. here are a good number of rule-based systems that tackle these tasks; aside from being an interesting question in its own right, these systems can also be useful in a teaching context, to guide or critique students work. Alan maill Music nformatics eb 15 2018 6/1

Counterpoint Y ules from ux s radus ad Parnassum on 2-part counterpoint (16th century) (following material taken from): http: // homepage. eircom. net/ ~ gerfmcc/ peciesone. html here are general rules, and rules specific to particular styles. xamples: Augmented or diminished intervals between succeeding notes are not allowed Leaps greater than an octave, & leaps of a major 6th or 7th are prohibited An ascending leap of a minor sixth or an octave must be followed by a step back down within the compass of the leap... Alan maill Music nformatics eb 15 2018 7/1

pecialised language Y he rules use some definitions specific to this style (pre WM): Perfect consonant intervals are unisons, fifths, and octaves. mperfect consonant intervals are thirds and sixths. econds, fourths, sevenths, and all augmented and diminished intervals are dissonances. When the two voices move in the same direction, movement direct. When the two voices move in different directions, movement is contrary general rule: he two parts may not move in direct motion to a perfect consonance. Alan maill Music nformatics eb 15 2018 8/1

irst species rules Y he counterpoint consists of a single semibreve against each note of the cantus firmus. o dissonances are allowed. n the penultimate bar the counterpoint must be a major sixth above the cantus firmus. his may require an accidental. n the final bar the counterpoint must be an octave above the cantus firmus. nisons are not allowed, except in the first bar. he counterpoint in the first bar must be an octave or a fifth above the cantus firmus, or a unison Alan maill Music nformatics eb 15 2018 9/1

he task Y iven a cantus firmus, produce a counterpoint that obeys the rules. or example, lower line given, upper to be written: Above is not the full set of rules, and there are other rules about the range of the upper voice for example. he link gives an applet to check if a counterpoint obeys all the rules. Alan maill Music nformatics eb 15 2018 10/1

Comments Y here are other musical considerations than getting the counterpoint right according to the rules, but this is a good musical exercise. What about generating counterpoint automatically? Alan maill Music nformatics eb 15 2018 11/1

enerating counterpoint Y ome possibilities: generate 11 notes (randomly?) in the right range and see if the rules are OK; this generate and test is inefficient, and not how humans do this. generate notes incrementally from start, checking rules as much as possible at each step; this is computationally better, & more human-like; might need to backtrack. incrementally from the end backwards. mixture of forward and backward.... Alan maill Music nformatics eb 15 2018 12/1

Comments ctd Y We see the distinction again between the declarative knowledge (the rules of 1st species counterpoint), and the procedural knowledge of how to solve a given problem, while respecting the rules. ifferent solution strategies give different ways to generate the counterpoint. An important feature of a rule-based system here is that the rules remain the same when used with a different control regime: this is an advantage of the declarative approach. Alan maill Music nformatics eb 15 2018 13/1

armonisation in the style of ach Y ere the space of possibilities is much larger. iven a melody line, the task is to supply 3 lower voices that provide a harmonisation in the style use by ach in his Chorales. iven: Alan maill Music nformatics eb 15 2018 14/1

ach s answer Y his is a challenging example! Alan maill Music nformatics eb 15 2018 15/1

ules for harmonising Y When this is taught, there are standard sorts of guidance that is given, as well as ideas in the best order in which to carry out a harmonisation. urning all of these into a set of rules for a rule-based system involves a serious amount of work on the part of anyone who wants to build such a system. A system that carries out this task is by omnuk Phon-Amnuaisuk, Journal of ew Music esearch, 2006. http://www.tandfonline.com/doi/full/10.1080/ 09298210701458835 he following is based on that article, and other work by the first author; the work makes much use of earlier work by bcioglu. Alan maill Music nformatics eb 15 2018 16/1

ules Y he task is organised around successive elaboration of the final output, in stages: 1. Analyse the input melody 2. Outline each phrase with a harmonic plan 3. ketch outline voices 4. ill in the actual notes and other detail. he rules allow a partial solution to be extended or altered; they may lead down a blind alley, where there is no good solution, and then allow backtracking. Alan maill Music nformatics eb 15 2018 17/1

teps 1 & 2 Y nput analysis is very simple just split into phrases, and indicate basic rhythm (this information is obvious from the presentation of the input, which has to be put into a declarative form). or chord assignment, melody has to fit with chosen chord; a cadence is needed at the phrase end, and there is a set of possible cadence types; also start of phrase is treated differently. hree version of this rule, with many possible outcomes: outlinechord(intro); outlinechord(body); outlinechord(cadence); hese can be used in different orders. Alan maill Music nformatics eb 15 2018 18/1

teps 3: outline voices Y o look for possible bass lines, given soprano and chords: outlineass(intro); outlineass(cadence); outlineass(body) nner voices: outlinenneroices Alan maill Music nformatics eb 15 2018 19/1

tage 4: elaborate voices Y 16 different ways of filling in from basic chords to decorated versions, eg: fill(neighbouruspension) n a normal state of any voice, when two outline pitches form a unison, fill an upper neighbour note and change the voice state to the suspension state. Alan maill Music nformatics eb 15 2018 20/1

ests and measures Y Alongside rules for generating candidate partial solutions, use tests constraints that must be satisfied measures giving preferences according to various criteria hese will be used to guide the search for good solutions. Alan maill Music nformatics eb 15 2018 21/1

ests Y constrain(doubleleadingote) o doubling of a leading note allowed. constrain(skipleadingote) f a leading note does not move to a tonic note (between a crotchet beat), then it is forbidden to decorate between the two notes with a skip quaver. constrain(cadenceleadingote) n a perfect cadence, if the leading pitch moves to the dominant pitch, then it should not be decorated with a passing note. n the vii o - perfect cadence pattern, the bass should not be decorated with the root of the leading chord before the final tonic bass etc etc Alan maill Music nformatics eb 15 2018 22/1

Measurements Y se these to indicate preferences. xamples: property(preferredhythmicpattern(bass)) he pattern quaver/quaver/crotchet (8th note/8th note/quarter note) is undesirable, if the quaver/quaver starts on the strong beat of a bar. property(preferrednisonornamentation) nison in a weak quaver is undesirable. property(preferredissonantuspension) issonant second, fourth or seventh with the bass voice is desirable Others, eg on spacing of inner voices. Alan maill Music nformatics eb 15 2018 23/1

pecifying control Y Can configure how the rules are used by building control definitions. definition(outlinearmonicprogression, repeat ( rule:selectphrase(outlinearmonicplan) then filter outlinephrasearmonicplan with test:constrain(harmonicplanoutline)) ). Alan maill Music nformatics eb 15 2018 24/1

xample Y Alan maill Music nformatics eb 15 2018 25/1

Comments Y his shows that good quality output can be achieved by machine for this particular task. his approach takes a large amount of work on the part of the specifier of the rules, tests, etc, which is all done by hand makes the steps in finding harmonisation explicit gives an explanation of how the result was obtained potentially useful in teaching (what possibilities for next step?) Alan maill Music nformatics eb 15 2018 26/1

tages 1, 2 Y Alan maill Music nformatics eb 15 2018 27/1

tages 3, 4 Y Alan maill Music nformatics eb 15 2018 28/1

tage 5 Y Alan maill Music nformatics eb 15 2018 29/1

Other approaches uilding such a system takes a lot of effort and musical expertise. Other approaches involve machine learning (ML), and/or combination of ML and rule-based for different aspects of the problem. or ML approach to harmony, see demo at: Y http://www.anc.inf.ed.ac.uk/demos/hmmbach/ and associated documents: https://tardis.ed.ac.uk/~moray/harmony/ (You will probably have to download midi files to listen to them.) or ach chorales, there are machine-readable, analysed versions of the scores available. till, a problem here is the sparseness of data! (compared to natural language corpora) Alan maill Music nformatics eb 15 2018 30/1

Other approaches ctd Y A hybrid system: ML (for harmony) and rule-based (for laying out the individual voices): AMO: A eural et for armonizing Chorales in the tyle of J.. ach, ild, eulner and Menzel, Advances in eural nformation Processing ystems 4 (P 1991) http://preview.tinyurl.com/gr3n5hq Alan maill Music nformatics eb 15 2018 31/1

armonet ctd Y his is a connectionist system, which works at 3 levels: armonic skeleton (ML); Chord skeleton (rule-based); oice ornamentation (ML). his produces more elaborate harmonisations than in Allan & Williams. Alan maill Music nformatics eb 15 2018 32/1

ummary Y declarative rule-based systems control in search for solutions to problems musical examples (counterpoint, harmonisation) Alan maill Music nformatics eb 15 2018 33/1