Musical Harmonization with Constraints: A Survey. Overview. Computers and Music. Tonal Music

Similar documents
Musical Harmonization with Constraints: A Survey

CPU Bach: An Automatic Chorale Harmonization System

Musical Creativity. Jukka Toivanen Introduction to Computational Creativity Dept. of Computer Science University of Helsinki

Figured Bass and Tonality Recognition Jerome Barthélemy Ircam 1 Place Igor Stravinsky Paris France

PLANE TESSELATION WITH MUSICAL-SCALE TILES AND BIDIMENSIONAL AUTOMATIC COMPOSITION

Building a Better Bach with Markov Chains

MorpheuS: constraining structure in automatic music generation

jsymbolic and ELVIS Cory McKay Marianopolis College Montreal, Canada

Computing, Artificial Intelligence, and Music. A History and Exploration of Current Research. Josh Everist CS 427 5/12/05

A Model of Musical Motifs

A Model of Musical Motifs

Bach-Prop: Modeling Bach s Harmonization Style with a Back- Propagation Network

How Figured Bass Works

On Interpreting Bach. Purpose. Assumptions. Results

Pitch Spelling Algorithms

Algorithmic Music Composition

Elements of Music David Scoggin OLLI Understanding Jazz Fall 2016

Fundamentals of Music Theory MUSIC 110 Mondays & Wednesdays 4:30 5:45 p.m. Fine Arts Center, Music Building, room 44

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

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

jsymbolic 2: New Developments and Research Opportunities

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

Music Theory. Fine Arts Curriculum Framework. Revised 2008

Developing Your Musicianship Lesson 1 Study Guide

Automated extraction of motivic patterns and application to the analysis of Debussy s Syrinx

MHSIB.5 Composing and arranging music within specified guidelines a. Creates music incorporating expressive elements.

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

The Music Theory Placement Exam consists of three parts: The test is normally offered the Saturday before classes begin.

melodic c2 melodic c3 melodic

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

Harmonic Generation based on Harmonicity Weightings

Music Theory: A Very Brief Introduction

Jazz Melody Generation and Recognition

Student Performance Q&A:

Chorale Harmonisation in the Style of J.S. Bach A Machine Learning Approach. Alex Chilvers

II. Prerequisites: Ability to play a band instrument, access to a working instrument

The Ambiguity of the dotted eighth-note

Sequential Association Rules in Atonal Music

MELONET I: Neural Nets for Inventing Baroque-Style Chorale Variations

MSN Encarta Standard - Print Preview - Harmony (music)

Palestrina Pal: A Grammar Checker for Music Compositions in the Style of Palestrina

ANNOTATING MUSICAL SCORES IN ENP

MUSC 201: Tonal Harmony

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

Harmonising Chorales by Probabilistic Inference

Specifying Features for Classical and Non-Classical Melody Evaluation

1a.51 Harmonic Seconds and Fifths WB2 1A_51ABCDEFGHIJ.WAV 1a.52 Identifying and Notating Seconds and All WB2 1A_52ABCDEFGHIJ.WAV

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

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

Exploring the Rules in Species Counterpoint

INTERACTIVE GTTM ANALYZER

Automatic Generation of Four-part Harmony

Arts, Computers and Artificial Intelligence

An Integrated Music Chromaticism Model

AP Music Theory Curriculum

AP Music Theory

Evolutionary jazz improvisation and harmony system: A new jazz improvisation and harmony system

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

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

Chapter 1 Overview of Music Theories

AutoChorusCreator : Four-Part Chorus Generator with Musical Feature Control, Using Search Spaces Constructed from Rules of Music Theory

NUMBER OF TIMES COURSE MAY BE TAKEN FOR CREDIT: One

Analysis and Clustering of Musical Compositions using Melody-based Features

Lesson 9: Scales. 1. How will reading and notating music aid in the learning of a piece? 2. Why is it important to learn how to read music?

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

HS/XII/A. Sc. Com.V/Mu/18 MUSIC

AP MUSIC THEORY 2011 SCORING GUIDELINES

Sequential Association Rules in Atonal Music

Algorithmic Composition in Contrasting Music Styles

CSC475 Music Information Retrieval

Composer Style Attribution

QuickTime Movies Viewer s Guide

University of Huddersfield Repository

On time: the influence of tempo, structure and style on the timing of grace notes in skilled musical performance

Lesson One. New Terms. a note between two chords, dissonant to the first and consonant to the second. example

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

Secrets To Better Composing & Improvising

CHOIR Grade 6. Benchmark 4: Students sing music written in two and three parts.

Introduction to Set Theory by Stephen Taylor

World Music. Music of Africa: choral and popular music

Chapter 9. Meeting 9, History: Lejaren Hiller

INTERVALS Ted Greene

Transition Networks. Chapter 5

Doctor of Philosophy

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

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

FUNDAMENTALS OF MUSIC ONLINE

Outline. Why do we classify? Audio Classification

ORCHESTRA Grade 5 Course Overview:

Student Performance Q&A:

Curriculum Standard One: The student will listen to and analyze music critically, using the vocabulary and language of music.

ORB COMPOSER Documentation 1.0.0

GRADUATE PLACEMENT EXAMINATIONS MUSIC THEORY

AP Music Theory 2010 Scoring Guidelines

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

Student Performance Q&A:

AP Music Theory 2015 Free-Response Questions

AP Music Theory Syllabus

Music Curriculum Kindergarten

AP Music Theory Syllabus CHS Fine Arts Department

Transcription:

Musical Harmonization with Constraints: A Survey by Francois Pachet presentation by Reid Swanson USC CSCI 675c / ISE 575c, Spring 2007 Overview Why tonal music with some theory and history Example Rule Formulations Automatic composition The problem Survey of constraint based solutions A few other approaches Conclusion Discussion Computers and Music Tonal Music Computer generated music is almost as old as computer science itself Earliest systems developed in the 50s ILLIAC generate random numbers then filter with rules Computers and music work better together than other traditional art forms Representation Mathematical Formalisms Based on tonality Groups of similar notes organized together as scales Notes from these groups are in turn grouped together hierarchically to form entire pieces One tonality considered primary Notes in this key are considered more important The art is in organizing the notes to cause interesting interactions with the tonal centers

Serial Music So Why Tonal Music? Attributed to Schoenberg Gives each note of the 12-tone scale equal importance Create sets of 12 note (non repeating) sequences from the chromatic scale Chromatic Scale: the scale that contains all twelve pitches of the Western tempered scale (Wikipedia) Tempered: divide the octave into twelve equal parts Use these sets as the basis of the composition Short Answer Lots of Treatises Johan J. Fux, 1725 (Used by Bach and Haydn) Jean-Philippe Rameau, 1722 (Formalization of Tonality) Schoenberg, 1983 (Comprehensive and authoritative) Just about every composer of tonal music has their own Evolution of tonal music considered finished Not all rules are shared by all treatises but most treatises share at least some of the rules Simple Rules of 4 Voice Horizontal Rules of 4 Voice Four-Voice Harmonization: Prototypical problem that is under consideration Simple rule Each melody within a range e.g. between C 1 and C 3 Horizontal Rules Governing choices for successive notes e.g. tritone interval is forbidden (an interval that spans three whole tones)

Vertical Rules of 4 Voice Chord Rules of 4 Voice Vertical Rules How chords can be put together e.g. only allowing 3 pitches in a chord Rules for chord sequences Parallel fifth rule between any two successive chords there should not be a parallel fifth Figure Rules of 4 Voice Automatic Composition Chord Figuring Used to give some kind of semantic information on the harmony Initially used as shorthand for chords give the bass + a figure Allow performer to reconstruct the original chord (or a similar one) Two main systems Baroque Indicate interval of the chord Functional Notation Indicate the harmonic function of the chord Early work Using weighted finite state automata (Markov Chains) No real search is done and results not spectacular The problem Search space becomes combinatorial when producing a harmony given a preexisting fixed voice

Levels of Complexity Modeling with Constraints Informally Can impose a melody (e.g. soprano) must harmonize the other 3 gives some structure which reduces the search space Impose the bass Very difficult and under specified Figured bass The bass is given and figures for the chords on top of the base Much easier Two-voice problem: Give the melodies and find the bass only Some approaches Steels used to generate passing chords insert a chord between to given chords uses a frame system with BFS and lazy evaluation also tried 4 voice harmonization Courtot combine brute force with heuristics try to learn heuristics from solutions Prolog system to create polyphonies (multiple independent melodic voices played together) Levitt Defines a music constraint language Detailed enough to produce Ragtime pieces Uses backtracking, can't handle large problems Schottstaedt Four-part harmonization based on Fux's treatise Classifies rules based on importance Impossible rules given infinite penalty e.g. parallel fifth Very bad rules -200 range rule etc Uses best first backtracking abandons branch after finding first solution incomplete but fast Ebcioglu First high quality four-part harmonization entirely automatically Uses a proprietary constraint language BSL CLP using backjumping (speeds up search) About 350 rules Sytle of Bach Not sure what to make of the system Hard to understand Hard to reproduce Tried in Eclipse but no full arc-consistency (given two variables one is arc-consistent with the other if for all values of variable 1 are consistent with some admissible value for variable 2)

Ovans and Davidson Advocated deep combinatorial aspect and pushed for use of full arc-consistency Implemented a 2 voice harmonization system trying several different approaches Backtracking Forward Checking Full arc-consistency No system consistently outperformed the others They still criticized Ebcioglu for not using full arcconsistency however Tsang & Aitken Uses CLP [R] Only 20 rules Straight forward representation of musical objects Slow and uses lots of memory Used as a reference because of its simplicity Some Issues Ballesta Uses Ilog's PECOS Solves the Figured Bass problem Considered good Performance is considered unacceptable Constraint satisfaction shown useful Not without problems Not able to handle realistic melodies in real time Some possible enhancements Consider notes and chords separately two phases considerably reduce search space Build a harmonization plan first e.g. through figure infomration gives the intention of the piece and reduces search space

Some Other Solutions to the Problem Situation Built at IRCAM Uses forward checking with lazy evaluation Can build polyphonies Used as a real composition tool Ramirez & Perlata Generates a sequence of chords by trying to maximize the number of well-known chord progressions Two others Explicitly representing symbolic knowledge Genetic Algorithms Conclusion Pachet considers harmonization with constraints solved Seems strange No commercial systems available Slow (can't use in real time) Not general purpose rulesets for each genre must be hand authored Generating melodies however is not solved Rules for generating melodies is unknown Interesting things probably happen by breaking rules Discussion What are the evaluation metrics Why are some considered good and others not? Did a panel of experts review them? Are they run through an automated scoring system (e.g. BLEU or ROUGE)? Because Pachet says they are? The audience? Why is Tsang & Aitken exemplary even though it is slow yet that is the primary criticism of Ballesta?