Building a Better Bach with Markov Chains

Size: px
Start display at page:

Download "Building a Better Bach with Markov Chains"

Transcription

1 Building a Better Bach with Markov Chains CS701 Implementation Project, Timothy Crocker December 18, Abstract For my implementation project, I explored the field of algorithmic music composition and created a music composition program that generates simple pieces of music using Markov chains. Music creation is a task composers have attempted to automate and distill into rule sets for centuries, using sundry techniques from the algorithms for voice leading and counterpoint developed for human composers centuries ago, to complex computer-aided techniques employed today[2] [5]. One particularly fruitful approach is to use simple probabilistic models to generate music[1][8]; I sought to implement such a process myself. My program uses a combination of real-world corpora and configurable parameters to generate a rhythmic progression, a harmonic progression, and a harmonic line that combine to form a piece of music. The resultant works are simple in structure, but make musical sense and often include novel and idiomatic musical ideas. 2 Markov Chains 2.1 Definition A Markov chain is a type of stochastic process that obeys the Markov property. The process consists of a set of states S = {x 1, x 2, x 3,, x n } and a set of pairwise transition probabilities over this state space; at each advance in time, the chain uses the transition probabilities associated with its current state to determine which state to move to next. In this project I use discrete-time Markov chains, in which the chain advances on discrete intervals. Markov chains obey the Markov property; that is, if X t is a random variable representing the state of the chain at time t, P (X t+1 X t = x, X t 1 = y,, X 1 = z) = P (X t+1 X t = x). At any point in time, the behavior of the chain depends only upon recent events, not upon events further in the past; the future and the distant past are independent[3]. 1

2 Figure 1: Left: A state diagram of a three-state Markov chain; edges are labelled with transition probabilities. Right: A transition matrix encoding of the same Markov chain. Source: https : //en.wikipedia.org/wiki/markov c hain Markov chains can be easily represented with a directed graph or state machine, where each x i S is represented by a node in the graph, and every x y edge is labeled with the corresponding transition probability P (X t+1 = y X t = x). The same information can be encoded in a transition matrix in which entry (x, y) represents the transition probability P (X t+1 = y X t = x); this representation makes it easy for a computer to perform random walks along the Markov chain. 2.2 Higher Order Chains The order of a Markov chain is the memory of the chain; a chain of order m considers the state of the chain at the previous m time intervals when assigning transition probabilities. Thus for an order m chain, P (X t+1 X t = x, X t 1 = y,..., X 1 = z) = P (X t+1 X t = x, X t 1 = y,..., X t m = z). A chain of order m > 1 can be recombined into a new chain of order 1, where the states of the new chain correspond to m-tuples of states of the original chain; there is no functional difference between these two chains when performing a random walk, but this refactoring makes interacting with chains of differing orders more uniform and consistent.[3] In the context of algorithmic music composition, using higher order chains to produce melodic and harmonic material makes for more musically idiomatic results, since a longer memory induces chains to capture and reproduce the entirety of longer musical ornaments and devices. However, since m-order chains perform random walks along m-tuples of states, the state space grows exponentially with chain order, and so as the order increases it becomes increasingly difficult to adequately populate the corresponding transition matrix. When incorporating a corpus of existing music to determine transition probabilities, the problem becomes apparent: many m-tuples of notes may appear only once, or not at all, in the training music; if the order is large enough, and the training set 2

3 small enough, the chain will happily parrot back a training piece in its entirety, since each m-tuple state leads deterministically to the next! My program uses chains of order at most 2 to produce its results. 3 Implementation 3.1 Tools I wrote my composition program in Python. In addition to being a user-friendly language that I am comfortable working with, Python enabled me to take advantage of a couple useful libraries. Since my program lent itself to the use of large and cumbersome matrices, I used NumPy ( to initialize and normalize these matrices. I also discovered a specialized Python library called Music21 ( an MIT-developed library intended for musicology use. Music21 proved to be an invaluable asset over the course of the project; it allowed me to easily parse existing pieces of music, create and arrange note events within a MIDI file, and output results as MIDI and XML files. Music21 also included some useful musical corpora of digitized Bach and Mozart works that were immensely valuable in synthesizing Markov chains. 3.2 Model My program generates pieces of music in the Dorian mode and common time; the length and key signature of each piece is variable Rhythm The first step in my program s process is to generate a rhythmic template for the composition. The program is tasked with filling a certain number of beats with rhythmic information (by default, 48 beats for 12 bars in common time); it does so by taking a walk on a rhythmic value Markov chain, and appending the rhythmic unit selected at each step to the template until the desired piece length is reached. This Markov chain is first order (i.e. each rhythmic unit selection depends only upon the immediately preceding rhythmic unit), but its states encode information about both the rhythmic unit and location of that unit in the bar. To keep beats distinct, and to produce sensible rhythmic patterns, there are three possible types of rhythmic units, each constituting a single beat in length: a single quarter note, a pair of eighth notes, four sixteenth notes. Since each of these units can fall on any of the four beats in a measure, the rhythm transition matrix is 12x12 in size. The rhythm chain s state encodes information about location in the bar to capture some common patterns in Western music: in a four-beat measure, emphasis often falls on beats one and three, so we d like to slightly favor quarter notes on these beats, and smaller rhythmic denominations on the interstitial beats. 3

4 The state encoding allows the chain to balance this consideration with higherlevel patterns like following sixteenth notes with additional sixteenth notes. I designed the rhythm matrix by hand, without using data from my corpora. Throughout my process, I tweaked this matrix s transition probabilities to my tastes; my project includes a file that lists a set of interesting or distinctive alternative matrices. Figure 2: A 12-by-12 rhythm matrix used to generate a rhythmic template. Each state encodes a beat number and a rhythmic unit Harmony After deciding on a rhythmic underpinning for the piece, my program uses another Markov chain to generate a harmonic progression that determines the piece s bass line and bends the melody to favor certain chord tones. The program generates one harmony per bar, and every harmony lasts for an entire bar. The harmonic Markov chain has seven states, one for each scale degree; this chain also has order one. When the harmonic progression is complete, it is used to create a simple bass line for the piece: for each bar, the current harmonic state s scale degree is played doubled as an octave in a lower register. This octave event lasts for the whole bar, but its MIDI velocity is lowered so that it doesn t drown out the melody. Harmonic progression was a later addition to my program; I implemented it because I was unsatisfied with the meandering, structureless behavior of my generated pieces. Laying melody over a harmonic progression adds much-needed high level structure to compositions, and allows for some basic polyphony. Like the rhythm chain, I created the harmonic chain by hand. The chain used in the final program favors V-I and IV-I cadences, though I also created alternative chains that move more randomly around all seven scale degrees, or deterministically follow the I-V-vi-IV progression ubiquitous in popular music. My final program cheats a bit to ensure that the piece s key is established by beginning and ending every piece on the I chord. 4

5 3.2.3 Corpora Parsing and Melody Generation The final and most interesting part of my program s music generation is the melodic generation phase. A piece s melody is generated using a second order melody chain (for implementation purposes, the second order chain is represented by a first order chain of note tuples). Each state corresponds to the ordered tuple of the previous two pitches; in order for the program to be key agnostic, each pitch is represented by its relative distance in half-steps from the tonic, so the states are numbered 0,1,2,...,11. The matrix is 144 x 12: one row for each of the 12 x 12 = 144 pitch tuples, and one column for each possible subsequent note; when performing a random walk, the next state tuple is obtained by taking the second element of the note tuple (the previous note) and combining it with the newly selected note. This practice avoids the construction of an extremely sparse square matrix (consider: if we constructed a square 144 x 144 matrix whose columns were indexed by note tuples as well, the state (G,A) would have nonzero transition probabilities only for states of the form (A, X), since the first note in the new tuple must always be the second note of the old tuple). The transition probabilities for the melody matrix are computed using realworld data. Starting with a matrix of all zeroes, the program scans through pieces of music, and increments entry (i, j) whenever note pair i is followed by note j. After reading through all pieces of music, each row is normalized to yield the final transition matrix. Since the pieces of music chosen have a powerful effect on the character of the generated music, the training material must be careful selected and prepared. Since I have decided to generate pieces in major keys, the training music must be in a major key, and selections must be truncated before any modulation is introduced. Also, the training pieces should ideally be written in a similar style. Each training piece is read into the program as a tuple of a destination file and a tonic note; supplying the tonic allows me to use pieces in disparate major keys, since each interval in the piece can then be measured relative to the tonic and stored appropriately in my key independent transition matrix. The pieces of music I use, from the Music21 corpus and elsewhere, supply my program with several thousand note instances. I use these existing pieces not to emulate the style of existing composers (a second-order chain is unlikely to capture macro stylistic traits), but to quickly populate a large matrix with transition probabilities that are known to be musically sensible.[8] 5

6 Figure 3: Reading in several works from the Music21 corpus. The tonic of each piece must be passed to the program. Since the generated melody is eventually layered on top of the rhythmic template, the length of the walk performed on the melodic chain is equal to the number of note events specified by the rhythmic template. At each transition along the walk, the harmonic progression influences transition probabilities to guide the melody towards harmonically logical choices. Every state in the harmonic chain has an associated set of pitches it favors, typically the scale degree triad built using the harmonic state as the root. When making a transition between states, transition probabilities are altered using a mask that takes into account the biases of the current underlying harmony. Each mask multiplies each transition probability by a scale factor, and then the transition matrix row is renormalized. This mechanism allows the harmony chain to impose its structure on the randomness of the melodic chain. The melody composition operates within a configurable octave range. To avoid jarring jumps in the melody, after selecting the next pitch in the melody, the pitch s octave is assigned in such a way that it causes the smallest intervallic leap while still remaining within the octave range. Once the melody generation is complete, each melody note is turned into a Music21 Note object, and is assigned a MIDI pitch and a duration according to the rhythm template event at the same index. These objects are compiled into a single music stream, which gets output as.mid and.xml files. 4 Output My program produces short pieces with evident musical structure, and they often include brief moments of novel, interesting musical material. I m quite satisfied with my results, and I m happy with how my a priori rhythm and harmony modifications complement and mold the stochastic melody. The structure of my program makes it easy to experiment with different rhythmic and harmonic patterns, and changes to these can cause significant change in the character of the output. Some samples are available at: tecrocker/impproj/ 6

7 Figure 4: An excerpt of a 12 bar piece created using my program. 5 Future Work My program can be improved in many ways. Currently, rhythm generation and melody generation are totally separate processes, but in actual composition the two are closely intertwined. It might be interesting to have one process influence the other, perhaps by encouraging harmonically important events to occur on quarter notes. I could also use my corpora to greater effect, not only to create a larger sample space, but also to replace artificial transition probabilities in my rhythm and harmony chains. References [1] Charles Ames. The markov process as a compositional model: a survey and tutorial. Leonardo, pages , [2] John Biles. Genjam: A genetic algorithm for generating jazz solos. In ICMA, [3] Wikipedia editors. Markov chain. Markov_chain. [4] K. McAlpine, E. Miranda, and S Hoggar. Making music with algorithms: A case-study system. Computer Music Journal, 23(2):19 30, [5] F. Pachet, P. Roy, and G Barbieri. Finite-length markov processes with constraints. In IJCAI, pages , [6] K. Verbeurgt, M. Dinolfo, and M Fayer. Extracting patterns in music for composition via markov chains. Lecture Notes in Computer Science, 3029: ,

PLANE TESSELATION WITH MUSICAL-SCALE TILES AND BIDIMENSIONAL AUTOMATIC COMPOSITION

PLANE TESSELATION WITH MUSICAL-SCALE TILES AND BIDIMENSIONAL AUTOMATIC COMPOSITION PLANE TESSELATION WITH MUSICAL-SCALE TILES AND BIDIMENSIONAL AUTOMATIC COMPOSITION ABSTRACT We present a method for arranging the notes of certain musical scales (pentatonic, heptatonic, Blues Minor and

More information

CPU Bach: An Automatic Chorale Harmonization System

CPU Bach: An Automatic Chorale Harmonization System CPU Bach: An Automatic Chorale Harmonization System Matt Hanlon mhanlon@fas Tim Ledlie ledlie@fas January 15, 2002 Abstract We present an automated system for the harmonization of fourpart chorales in

More information

CSC475 Music Information Retrieval

CSC475 Music Information Retrieval CSC475 Music Information Retrieval Symbolic Music Representations George Tzanetakis University of Victoria 2014 G. Tzanetakis 1 / 30 Table of Contents I 1 Western Common Music Notation 2 Digital Formats

More information

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

Take a Break, Bach! Let Machine Learning Harmonize That Chorale For You. Chris Lewis Stanford University Take a Break, Bach! Let Machine Learning Harmonize That Chorale For You Chris Lewis Stanford University cmslewis@stanford.edu Abstract In this project, I explore the effectiveness of the Naive Bayes Classifier

More information

1 Overview. 1.1 Nominal Project Requirements

1 Overview. 1.1 Nominal Project Requirements 15-323/15-623 Spring 2018 Project 5. Real-Time Performance Interim Report Due: April 12 Preview Due: April 26-27 Concert: April 29 (afternoon) Report Due: May 2 1 Overview In this group or solo project,

More information

Jazz Melody Generation and Recognition

Jazz Melody Generation and Recognition Jazz Melody Generation and Recognition Joseph Victor December 14, 2012 Introduction In this project, we attempt to use machine learning methods to study jazz solos. The reason we study jazz in particular

More information

Evolutionary Computation Applied to Melody Generation

Evolutionary Computation Applied to Melody Generation Evolutionary Computation Applied to Melody Generation Matt D. Johnson December 5, 2003 Abstract In recent years, the personal computer has become an integral component in the typesetting and management

More information

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

Musical Creativity. Jukka Toivanen Introduction to Computational Creativity Dept. of Computer Science University of Helsinki Musical Creativity Jukka Toivanen Introduction to Computational Creativity Dept. of Computer Science University of Helsinki Basic Terminology Melody = linear succession of musical tones that the listener

More information

ORB COMPOSER Documentation 1.0.0

ORB COMPOSER Documentation 1.0.0 ORB COMPOSER Documentation 1.0.0 Last Update : 04/02/2018, Richard Portelli Special Thanks to George Napier for the review Main Composition Settings Main Composition Settings 4 magic buttons for the entire

More information

Blues Improviser. Greg Nelson Nam Nguyen

Blues Improviser. Greg Nelson Nam Nguyen Blues Improviser Greg Nelson (gregoryn@cs.utah.edu) Nam Nguyen (namphuon@cs.utah.edu) Department of Computer Science University of Utah Salt Lake City, UT 84112 Abstract Computer-generated music has long

More information

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

Figured Bass and Tonality Recognition Jerome Barthélemy Ircam 1 Place Igor Stravinsky Paris France Figured Bass and Tonality Recognition Jerome Barthélemy Ircam 1 Place Igor Stravinsky 75004 Paris France 33 01 44 78 48 43 jerome.barthelemy@ircam.fr Alain Bonardi Ircam 1 Place Igor Stravinsky 75004 Paris

More information

Additional Theory Resources

Additional Theory Resources UTAH MUSIC TEACHERS ASSOCIATION Additional Theory Resources Open Position/Keyboard Style - Level 6 Names of Scale Degrees - Level 6 Modes and Other Scales - Level 7-10 Figured Bass - Level 7 Chord Symbol

More information

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

Musical Harmonization with Constraints: A Survey. Overview. Computers and Music. Tonal Music 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

More information

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

MUSIC THEORY CURRICULUM STANDARDS GRADES Students will sing, alone and with others, a varied repertoire of music. MUSIC THEORY CURRICULUM STANDARDS GRADES 9-12 Content Standard 1.0 Singing Students will sing, alone and with others, a varied repertoire of music. The student will 1.1 Sing simple tonal melodies representing

More information

AP MUSIC THEORY 2006 SCORING GUIDELINES. Question 7

AP MUSIC THEORY 2006 SCORING GUIDELINES. Question 7 2006 SCORING GUIDELINES Question 7 SCORING: 9 points I. Basic Procedure for Scoring Each Phrase A. Conceal the Roman numerals, and judge the bass line to be good, fair, or poor against the given melody.

More information

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?

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? Plans for Terrance Green for the week of 8/23/2010 (Page 1) 3: Melody Standard M8GM.3, M8GM.4, M8GM.5, M8GM.6 a. Apply standard notation symbols for pitch, rhythm, dynamics, tempo, articulation, and expression.

More information

Divisions on a Ground

Divisions on a Ground Divisions on a Ground Introductory Exercises in Improvisation for Two Players John Mortensen, DMA Based on The Division Viol by Christopher Simpson (1664) Introduction. The division viol was a peculiar

More information

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

CHAPTER ONE TWO-PART COUNTERPOINT IN FIRST SPECIES (1:1) HANDBOOK OF TONAL COUNTERPOINT G. HEUSSENSTAMM Page 1 CHAPTER ONE TWO-PART COUNTERPOINT IN FIRST SPECIES (1:1) What is counterpoint? Counterpoint is the art of combining melodies; each part has its own

More information

LSTM Neural Style Transfer in Music Using Computational Musicology

LSTM Neural Style Transfer in Music Using Computational Musicology LSTM Neural Style Transfer in Music Using Computational Musicology Jett Oristaglio Dartmouth College, June 4 2017 1. Introduction In the 2016 paper A Neural Algorithm of Artistic Style, Gatys et al. discovered

More information

Chapter 40: MIDI Tool

Chapter 40: MIDI Tool MIDI Tool 40-1 40: MIDI Tool MIDI Tool What it does This tool lets you edit the actual MIDI data that Finale stores with your music key velocities (how hard each note was struck), Start and Stop Times

More information

Artificial Intelligence Approaches to Music Composition

Artificial Intelligence Approaches to Music Composition Artificial Intelligence Approaches to Music Composition Richard Fox and Adil Khan Department of Computer Science Northern Kentucky University, Highland Heights, KY 41099 Abstract Artificial Intelligence

More information

Algorithmic Composition: The Music of Mathematics

Algorithmic Composition: The Music of Mathematics Algorithmic Composition: The Music of Mathematics Carlo J. Anselmo 18 and Marcus Pendergrass Department of Mathematics, Hampden-Sydney College, Hampden-Sydney, VA 23943 ABSTRACT We report on several techniques

More information

AP Music Theory Syllabus

AP Music Theory Syllabus AP Music Theory Syllabus Instructor: T h a o P h a m Class period: 8 E-Mail: tpham1@houstonisd.org Instructor s Office Hours: M/W 1:50-3:20; T/Th 12:15-1:45 Tutorial: M/W 3:30-4:30 COURSE DESCRIPTION:

More information

Automatic Generation of Four-part Harmony

Automatic Generation of Four-part Harmony Automatic Generation of Four-part Harmony Liangrong Yi Computer Science Department University of Kentucky Lexington, KY 40506-0046 Judy Goldsmith Computer Science Department University of Kentucky Lexington,

More information

Doctor of Philosophy

Doctor of Philosophy University of Adelaide Elder Conservatorium of Music Faculty of Humanities and Social Sciences Declarative Computer Music Programming: using Prolog to generate rule-based musical counterpoints by Robert

More information

A Creative Improvisational Companion Based on Idiomatic Harmonic Bricks 1

A Creative Improvisational Companion Based on Idiomatic Harmonic Bricks 1 A Creative Improvisational Companion Based on Idiomatic Harmonic Bricks 1 Robert M. Keller August Toman-Yih Alexandra Schofield Zachary Merritt Harvey Mudd College Harvey Mudd College Harvey Mudd College

More information

Transition Networks. Chapter 5

Transition Networks. Chapter 5 Chapter 5 Transition Networks Transition networks (TN) are made up of a set of finite automata and represented within a graph system. The edges indicate transitions and the nodes the states of the single

More information

Sudhanshu Gautam *1, Sarita Soni 2. M-Tech Computer Science, BBAU Central University, Lucknow, Uttar Pradesh, India

Sudhanshu Gautam *1, Sarita Soni 2. M-Tech Computer Science, BBAU Central University, Lucknow, Uttar Pradesh, India International Journal of Scientific Research in Computer Science, Engineering and Information Technology 2018 IJSRCSEIT Volume 3 Issue 3 ISSN : 2456-3307 Artificial Intelligence Techniques for Music Composition

More information

Jazz Melody Generation from Recurrent Network Learning of Several Human Melodies

Jazz Melody Generation from Recurrent Network Learning of Several Human Melodies Jazz Melody Generation from Recurrent Network Learning of Several Human Melodies Judy Franklin Computer Science Department Smith College Northampton, MA 01063 Abstract Recurrent (neural) networks have

More information

StepSequencer64 J74 Page 1. J74 StepSequencer64. A tool for creative sequence programming in Ableton Live. User Manual

StepSequencer64 J74 Page 1. J74 StepSequencer64. A tool for creative sequence programming in Ableton Live. User Manual StepSequencer64 J74 Page 1 J74 StepSequencer64 A tool for creative sequence programming in Ableton Live User Manual StepSequencer64 J74 Page 2 How to Install the J74 StepSequencer64 devices J74 StepSequencer64

More information

MELODIC AND RHYTHMIC EMBELLISHMENT IN TWO VOICE COMPOSITION. Chapter 10

MELODIC AND RHYTHMIC EMBELLISHMENT IN TWO VOICE COMPOSITION. Chapter 10 MELODIC AND RHYTHMIC EMBELLISHMENT IN TWO VOICE COMPOSITION Chapter 10 MELODIC EMBELLISHMENT IN 2 ND SPECIES COUNTERPOINT For each note of the CF, there are 2 notes in the counterpoint In strict style

More information

Week 5 Music Generation and Algorithmic Composition

Week 5 Music Generation and Algorithmic Composition Week 5 Music Generation and Algorithmic Composition Roger B. Dannenberg Professor of Computer Science and Art Carnegie Mellon University Overview n Short Review of Probability Theory n Markov Models n

More information

Fugue generation using genetic algorithms

Fugue generation using genetic algorithms Fugue generation using genetic algorithms Claudio Coutinho de Biasi, Alexandre Mattioli debiasi@centroin.com.br mattioli@rj.conectiva.com. br Resumo: Este artigo propõe um sistema capaz de gerar peças

More information

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

Student Performance Q&A: 2001 AP Music Theory Free-Response Questions Student Performance Q&A: 2001 AP Music Theory Free-Response Questions The following comments are provided by the Chief Faculty Consultant, Joel Phillips, regarding the 2001 free-response questions for

More information

Hidden Markov Model based dance recognition

Hidden Markov Model based dance recognition Hidden Markov Model based dance recognition Dragutin Hrenek, Nenad Mikša, Robert Perica, Pavle Prentašić and Boris Trubić University of Zagreb, Faculty of Electrical Engineering and Computing Unska 3,

More information

AutoChorale An Automatic Music Generator. Jack Mi, Zhengtao Jin

AutoChorale An Automatic Music Generator. Jack Mi, Zhengtao Jin AutoChorale An Automatic Music Generator Jack Mi, Zhengtao Jin 1 Introduction Music is a fascinating form of human expression based on a complex system. Being able to automatically compose music that both

More information

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Notes: 1. GRADE 1 TEST 1(b); GRADE 3 TEST 2(b): where a candidate wishes to respond to either of these tests in the alternative manner as specified, the examiner

More information

Northeast High School AP Music Theory Summer Work Answer Sheet

Northeast High School AP Music Theory Summer Work Answer Sheet Chapter 1 - Musical Symbols Name: Northeast High School AP Music Theory Summer Work Answer Sheet http://john.steffa.net/intrototheory/introduction/chapterindex.html Page 11 1. From the list below, select

More information

Background/Purpose. Goals and Features

Background/Purpose. Goals and Features Beat hoven Sona Roy sbr2146 ( Manager ) Jake Kwon jk3655 & Ruonan Xu rx2135 ( Language Gurus ) Rodrigo Manubens rsm2165 ( System Architect / Musical Guru ) Eunice Kokor eek2138 ( Tester ) Background/Purpose

More information

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

Palestrina Pal: A Grammar Checker for Music Compositions in the Style of Palestrina Palestrina Pal: A Grammar Checker for Music Compositions in the Style of Palestrina 1. Research Team Project Leader: Undergraduate Students: Prof. Elaine Chew, Industrial Systems Engineering Anna Huang,

More information

A.P. Music Theory Class Expectations and Syllabus Pd. 1; Days 1-6 Room 630 Mr. Showalter

A.P. Music Theory Class Expectations and Syllabus Pd. 1; Days 1-6 Room 630 Mr. Showalter Course Description: A.P. Music Theory Class Expectations and Syllabus Pd. 1; Days 1-6 Room 630 Mr. Showalter This course is designed to give you a deep understanding of all compositional aspects of vocal

More information

Elements of Music David Scoggin OLLI Understanding Jazz Fall 2016

Elements of Music David Scoggin OLLI Understanding Jazz Fall 2016 Elements of Music David Scoggin OLLI Understanding Jazz Fall 2016 The two most fundamental dimensions of music are rhythm (time) and pitch. In fact, every staff of written music is essentially an X-Y coordinate

More information

The Composer s Materials

The Composer s Materials The Composer s Materials Module 1 of Music: Under the Hood John Hooker Carnegie Mellon University Osher Course July 2017 1 Outline Basic elements of music Musical notation Harmonic partials Intervals and

More information

Choir Scope and Sequence Grade 6-12

Choir Scope and Sequence Grade 6-12 The Scope and Sequence document represents an articulation of what students should know and be able to do. The document supports teachers in knowing how to help students achieve the goals of the standards

More information

A Novel Approach to Automatic Music Composing: Using Genetic Algorithm

A Novel Approach to Automatic Music Composing: Using Genetic Algorithm A Novel Approach to Automatic Music Composing: Using Genetic Algorithm Damon Daylamani Zad *, Babak N. Araabi and Caru Lucas ** * Department of Information Systems and Computing, Brunel University ci05ddd@brunel.ac.uk

More information

Student Performance Q&A:

Student Performance Q&A: Student Performance Q&A: 2010 AP Music Theory Free-Response Questions The following comments on the 2010 free-response questions for AP Music Theory were written by the Chief Reader, Teresa Reed of the

More information

Week 5 Music Generation and Algorithmic Composition

Week 5 Music Generation and Algorithmic Composition Week 5 Music Generation and Algorithmic Composition Roger B. Dannenberg Professor of Computer Science and Art Carnegie Mellon University Overview n Short Review of Probability Theory n Markov Models n

More information

Evolving Musical Counterpoint

Evolving Musical Counterpoint Evolving Musical Counterpoint Initial Report on the Chronopoint Musical Evolution System Jeffrey Power Jacobs Computer Science Dept. University of Maryland College Park, MD, USA jjacobs3@umd.edu Dr. James

More information

Composer Style Attribution

Composer Style Attribution Composer Style Attribution Jacqueline Speiser, Vishesh Gupta Introduction Josquin des Prez (1450 1521) is one of the most famous composers of the Renaissance. Despite his fame, there exists a significant

More information

Student Performance Q&A:

Student Performance Q&A: Student Performance Q&A: 2012 AP Music Theory Free-Response Questions The following comments on the 2012 free-response questions for AP Music Theory were written by the Chief Reader, Teresa Reed of the

More information

Cedits bim bum bam. OOG series

Cedits bim bum bam. OOG series Cedits bim bum bam OOG series Manual Version 1.0 (10/2017) Products Version 1.0 (10/2017) www.k-devices.com - support@k-devices.com K-Devices, 2017. All rights reserved. INDEX 1. OOG SERIES 4 2. INSTALLATION

More information

Texas State Solo & Ensemble Contest. May 25 & May 27, Theory Test Cover Sheet

Texas State Solo & Ensemble Contest. May 25 & May 27, Theory Test Cover Sheet Texas State Solo & Ensemble Contest May 25 & May 27, 2013 Theory Test Cover Sheet Please PRINT and complete the following information: Student Name: Grade (2012-2013) Mailing Address: City: Zip Code: School:

More information

A Real-Time Genetic Algorithm in Human-Robot Musical Improvisation

A Real-Time Genetic Algorithm in Human-Robot Musical Improvisation A Real-Time Genetic Algorithm in Human-Robot Musical Improvisation Gil Weinberg, Mark Godfrey, Alex Rae, and John Rhoads Georgia Institute of Technology, Music Technology Group 840 McMillan St, Atlanta

More information

AP Music Theory Course Planner

AP Music Theory Course Planner AP Music Theory Course Planner This course planner is approximate, subject to schedule changes for a myriad of reasons. The course meets every day, on a six day cycle, for 52 minutes. Written skills notes:

More information

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

Study Guide. Solutions to Selected Exercises. Foundations of Music and Musicianship with CD-ROM. 2nd Edition. David Damschroder Study Guide Solutions to Selected Exercises Foundations of Music and Musicianship with CD-ROM 2nd Edition by David Damschroder Solutions to Selected Exercises 1 CHAPTER 1 P1-4 Do exercises a-c. Remember

More information

Piano Syllabus. London College of Music Examinations

Piano Syllabus. London College of Music Examinations London College of Music Examinations Piano Syllabus Qualification specifications for: Steps, Grades, Recital Grades, Leisure Play, Performance Awards, Piano Duet, Piano Accompaniment Valid from: 2018 2020

More information

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

Bach-Prop: Modeling Bach s Harmonization Style with a Back- Propagation Network Indiana Undergraduate Journal of Cognitive Science 1 (2006) 3-14 Copyright 2006 IUJCS. All rights reserved Bach-Prop: Modeling Bach s Harmonization Style with a Back- Propagation Network Rob Meyerson Cognitive

More information

Hip Hop Robot. Semester Project. Cheng Zu. Distributed Computing Group Computer Engineering and Networks Laboratory ETH Zürich

Hip Hop Robot. Semester Project. Cheng Zu. Distributed Computing Group Computer Engineering and Networks Laboratory ETH Zürich Distributed Computing Hip Hop Robot Semester Project Cheng Zu zuc@student.ethz.ch Distributed Computing Group Computer Engineering and Networks Laboratory ETH Zürich Supervisors: Manuel Eichelberger Prof.

More information

Algorithmic Music Composition

Algorithmic Music Composition Algorithmic Music Composition MUS-15 Jan Dreier July 6, 2015 1 Introduction The goal of algorithmic music composition is to automate the process of creating music. One wants to create pleasant music without

More information

Texas State Solo & Ensemble Contest. May 26 & May 28, Theory Test Cover Sheet

Texas State Solo & Ensemble Contest. May 26 & May 28, Theory Test Cover Sheet Texas State Solo & Ensemble Contest May 26 & May 28, 2012 Theory Test Cover Sheet Please PRINT and complete the following information: Student Name: Grade (2011-2012) Mailing Address: City: Zip Code: School:

More information

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

Theory of Music. Clefs and Notes. Major and Minor scales. A# Db C D E F G A B. Treble Clef. Bass Clef Theory of Music Clefs and Notes Treble Clef Bass Clef Major and Minor scales Smallest interval between two notes is a semitone. Two semitones make a tone. C# D# F# G# A# Db Eb Gb Ab Bb C D E F G A B Major

More information

FINE ARTS Institutional (ILO), Program (PLO), and Course (SLO) Alignment

FINE ARTS Institutional (ILO), Program (PLO), and Course (SLO) Alignment FINE ARTS Institutional (ILO), Program (PLO), and Course (SLO) Program: Music Number of Courses: 52 Date Updated: 11.19.2014 Submitted by: V. Palacios, ext. 3535 ILOs 1. Critical Thinking Students apply

More information

AP Music Theory at the Career Center Chris Garmon, Instructor

AP Music Theory at the Career Center Chris Garmon, Instructor Some people say music theory is like dissecting a frog: you learn a lot, but you kill the frog. I like to think of it more like exploratory surgery Text: Tonal Harmony, 6 th Ed. Kostka and Payne (provided)

More information

FREEHOLD REGIONAL HIGH SCHOOL DISTRICT OFFICE OF CURRICULUM AND INSTRUCTION MUSIC DEPARTMENT MUSIC THEORY 1. Grade Level: 9-12.

FREEHOLD REGIONAL HIGH SCHOOL DISTRICT OFFICE OF CURRICULUM AND INSTRUCTION MUSIC DEPARTMENT MUSIC THEORY 1. Grade Level: 9-12. FREEHOLD REGIONAL HIGH SCHOOL DISTRICT OFFICE OF CURRICULUM AND INSTRUCTION MUSIC DEPARTMENT MUSIC THEORY 1 Grade Level: 9-12 Credits: 5 BOARD OF EDUCATION ADOPTION DATE: AUGUST 30, 2010 SUPPORTING RESOURCES

More information

Improvised Duet Interaction: Learning Improvisation Techniques for Automatic Accompaniment

Improvised Duet Interaction: Learning Improvisation Techniques for Automatic Accompaniment Improvised Duet Interaction: Learning Improvisation Techniques for Automatic Accompaniment Gus G. Xia Dartmouth College Neukom Institute Hanover, NH, USA gxia@dartmouth.edu Roger B. Dannenberg Carnegie

More information

A Transformational Grammar Framework for Improvisation

A Transformational Grammar Framework for Improvisation A Transformational Grammar Framework for Improvisation Alexander M. Putman and Robert M. Keller Abstract Jazz improvisations can be constructed from common idioms woven over a chord progression fabric.

More information

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

Chorale Harmonisation in the Style of J.S. Bach A Machine Learning Approach. Alex Chilvers Chorale Harmonisation in the Style of J.S. Bach A Machine Learning Approach Alex Chilvers 2006 Contents 1 Introduction 3 2 Project Background 5 3 Previous Work 7 3.1 Music Representation........................

More information

MUSIC (MUS) Music (MUS) 1

MUSIC (MUS) Music (MUS) 1 Music (MUS) 1 MUSIC (MUS) MUS 2 Music Theory 3 Units (Degree Applicable, CSU, UC, C-ID #: MUS 120) Corequisite: MUS 5A Preparation for the study of harmony and form as it is practiced in Western tonal

More information

The Ambidrum: Automated Rhythmic Improvisation

The Ambidrum: Automated Rhythmic Improvisation The Ambidrum: Automated Rhythmic Improvisation Author Gifford, Toby, R. Brown, Andrew Published 2006 Conference Title Medi(t)ations: computers/music/intermedia - The Proceedings of Australasian Computer

More information

arxiv: v1 [cs.ai] 2 Mar 2017

arxiv: v1 [cs.ai] 2 Mar 2017 Sampling Variations of Lead Sheets arxiv:1703.00760v1 [cs.ai] 2 Mar 2017 Pierre Roy, Alexandre Papadopoulos, François Pachet Sony CSL, Paris roypie@gmail.com, pachetcsl@gmail.com, alexandre.papadopoulos@lip6.fr

More information

Music Theory. Fine Arts Curriculum Framework. Revised 2008

Music Theory. Fine Arts Curriculum Framework. Revised 2008 Music Theory Fine Arts Curriculum Framework Revised 2008 Course Title: Music Theory Course/Unit Credit: 1 Course Number: Teacher Licensure: Grades: 9-12 Music Theory Music Theory is a two-semester course

More information

AP MUSIC THEORY 2015 SCORING GUIDELINES

AP MUSIC THEORY 2015 SCORING GUIDELINES 2015 SCORING GUIDELINES Question 7 0 9 points A. ARRIVING AT A SCORE FOR THE ENTIRE QUESTION 1. Score each phrase separately and then add the phrase scores together to arrive at a preliminary tally for

More information

COURSE OUTLINE. Corequisites: None

COURSE OUTLINE. Corequisites: None COURSE OUTLINE MUS 105 Course Number Fundamentals of Music Theory Course title 3 2 lecture/2 lab Credits Hours Catalog description: Offers the student with no prior musical training an introduction to

More information

HS Music Theory Music

HS Music Theory Music Course theory is the field of study that deals with how music works. It examines the language and notation of music. It identifies patterns that govern composers' techniques. theory analyzes the elements

More information

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

Computing, Artificial Intelligence, and Music. A History and Exploration of Current Research. Josh Everist CS 427 5/12/05 Computing, Artificial Intelligence, and Music A History and Exploration of Current Research Josh Everist CS 427 5/12/05 Introduction. As an art, music is older than mathematics. Humans learned to manipulate

More information

Music Theory Fundamentals/AP Music Theory Syllabus. School Year:

Music Theory Fundamentals/AP Music Theory Syllabus. School Year: Certificated Teacher: Desired Results: Music Theory Fundamentals/AP Music Theory Syllabus School Year: 2014-2015 Course Title : Music Theory Fundamentals/AP Music Theory Credit: one semester (.5) X two

More information

Active learning will develop attitudes, knowledge, and performance skills which help students perceive and respond to the power of music as an art.

Active learning will develop attitudes, knowledge, and performance skills which help students perceive and respond to the power of music as an art. Music Music education is an integral part of aesthetic experiences and, by its very nature, an interdisciplinary study which enables students to develop sensitivities to life and culture. Active learning

More information

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

All rights reserved. Ensemble suggestion: All parts may be performed by soprano recorder if desired. 10 Ensemble suggestion: All parts may be performed by soprano recorder if desired. Performance note: the small note in the Tenor Recorder part that is played just before the beat or, if desired, on the

More information

Implications of Ad Hoc Artificial Intelligence in Music

Implications of Ad Hoc Artificial Intelligence in Music Implications of Ad Hoc Artificial Intelligence in Music Evan X. Merz San Jose State University Department of Computer Science 1 Washington Square San Jose, CA. 95192. evan.merz@sjsu.edu Abstract This paper

More information

A probabilistic approach to determining bass voice leading in melodic harmonisation

A probabilistic approach to determining bass voice leading in melodic harmonisation A probabilistic approach to determining bass voice leading in melodic harmonisation Dimos Makris a, Maximos Kaliakatsos-Papakostas b, and Emilios Cambouropoulos b a Department of Informatics, Ionian University,

More information

MUSIC PERFORMANCE: SOLO

MUSIC PERFORMANCE: SOLO SUPERVISOR TO ATTACH PROCESSING LABEL HERE Figures Words STUDENT NUMBER Letter Victorian Certificate of Education 2001 MUSIC PERFORMANCE: SOLO Aural and written examination Friday 16 November 2001 Reading

More information

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

The Baroque 1/4 ( ) Based on the writings of Anna Butterworth: Stylistic Harmony (OUP 1992) The Baroque 1/4 (1600 1750) Based on the writings of Anna Butterworth: Stylistic Harmony (OUP 1992) NB To understand the slides herein, you must play though all the sound examples to hear the principles

More information

Music Morph. Have you ever listened to the main theme of a movie? The main theme always has a

Music Morph. Have you ever listened to the main theme of a movie? The main theme always has a Nicholas Waggoner Chris McGilliard Physics 498 Physics of Music May 2, 2005 Music Morph Have you ever listened to the main theme of a movie? The main theme always has a number of parts. Often it contains

More information

Frankenstein: a Framework for musical improvisation. Davide Morelli

Frankenstein: a Framework for musical improvisation. Davide Morelli Frankenstein: a Framework for musical improvisation Davide Morelli 24.05.06 summary what is the frankenstein framework? step1: using Genetic Algorithms step2: using Graphs and probability matrices step3:

More information

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

Music Theory Syllabus Course Information: Name: Music Theory (AP) School Year Time: 1:25 pm-2:55 pm (Block 4) Location: Band Room Music Theory Syllabus Course Information: Name: Music Theory (AP) Year: 2017-2018 School Year Time: 1:25 pm-2:55 pm (Block 4) Location: Band Room Instructor Information: Instructor(s): Mr. Hayslette Room

More information

Chords not required: Incorporating horizontal and vertical aspects independently in a computer improvisation algorithm

Chords not required: Incorporating horizontal and vertical aspects independently in a computer improvisation algorithm Georgia State University ScholarWorks @ Georgia State University Music Faculty Publications School of Music 2013 Chords not required: Incorporating horizontal and vertical aspects independently in a computer

More information

AN ANALYSIS OF PIANO VARIATIONS

AN ANALYSIS OF PIANO VARIATIONS AN ANALYSIS OF PIANO VARIATIONS Composed by Richard Anatone A CREATIVE PROJECT SUBMITTED TO THE GRADUATE SCHOOL IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE MASTER OF MUSIC BY RICHARD ANATONE

More information

A Bayesian Network for Real-Time Musical Accompaniment

A Bayesian Network for Real-Time Musical Accompaniment A Bayesian Network for Real-Time Musical Accompaniment Christopher Raphael Department of Mathematics and Statistics, University of Massachusetts at Amherst, Amherst, MA 01003-4515, raphael~math.umass.edu

More information

Grade One. MyMusicTheory.com. Music Theory PREVIEW 1. Complete Course, Exercises & Answers 2. Thirty Grade One Tests.

Grade One. MyMusicTheory.com. Music Theory PREVIEW 1. Complete Course, Exercises & Answers 2. Thirty Grade One Tests. MyMusicTheory.com Grade One Music Theory PREVIEW 1. Complete Course, Exercises & Answers 2. Thirty Grade One Tests (ABRSM Syllabus) BY VICTORIA WILLIAMS BA MUSIC www.mymusictheory.com Published: 1st March

More information

MUSIC PERFORMANCE: GROUP

MUSIC PERFORMANCE: GROUP Victorian Certificate of Education 2003 SUPERVISOR TO ATTACH PROCESSING LABEL HERE STUDENT NUMBER Letter Figures Words MUSIC PERFORMANCE: GROUP Aural and written examination Friday 21 November 2003 Reading

More information

Evolutionary Computation Systems for Musical Composition

Evolutionary Computation Systems for Musical Composition Evolutionary Computation Systems for Musical Composition Antonino Santos, Bernardino Arcay, Julián Dorado, Juan Romero, Jose Rodriguez Information and Communications Technology Dept. University of A Coruña

More information

On Interpreting Bach. Purpose. Assumptions. Results

On Interpreting Bach. Purpose. Assumptions. Results Purpose On Interpreting Bach H. C. Longuet-Higgins M. J. Steedman To develop a formally precise model of the cognitive processes involved in the comprehension of classical melodies To devise a set of rules

More information

CHAPTER 3. Melody Style Mining

CHAPTER 3. Melody Style Mining CHAPTER 3 Melody Style Mining 3.1 Rationale Three issues need to be considered for melody mining and classification. One is the feature extraction of melody. Another is the representation of the extracted

More information

Topic 10. Multi-pitch Analysis

Topic 10. Multi-pitch Analysis Topic 10 Multi-pitch Analysis What is pitch? Common elements of music are pitch, rhythm, dynamics, and the sonic qualities of timbre and texture. An auditory perceptual attribute in terms of which sounds

More information

Shifty Manual v1.00. Shifty. Voice Allocator / Hocketing Controller / Analog Shift Register

Shifty Manual v1.00. Shifty. Voice Allocator / Hocketing Controller / Analog Shift Register Shifty Manual v1.00 Shifty Voice Allocator / Hocketing Controller / Analog Shift Register Table of Contents Table of Contents Overview Features Installation Before Your Start Installing Your Module Front

More information

AP Music Theory Course Syllabus Mr. Don Leonard

AP Music Theory Course Syllabus Mr. Don Leonard 2013-14 AP Music Theory Course Syllabus Mr. Don Leonard dleonard@.spotsylvania.k12.va.us COURSE OVERVIEW PRIMARY TEXTS Horvit, Michael, Koozin, Timothy and Nelson, Robert. Music for :. 4 th Ed. California:

More information

AP Music Theory COURSE OBJECTIVES STUDENT EXPECTATIONS TEXTBOOKS AND OTHER MATERIALS

AP Music Theory COURSE OBJECTIVES STUDENT EXPECTATIONS TEXTBOOKS AND OTHER MATERIALS AP Music Theory on- campus section COURSE OBJECTIVES The ultimate goal of this AP Music Theory course is to develop each student

More information

Piano Teacher Program

Piano Teacher Program Piano Teacher Program Associate Teacher Diploma - B.C.M.A. The Associate Teacher Diploma is open to candidates who have attained the age of 17 by the date of their final part of their B.C.M.A. examination.

More information

Sample assessment task. Task details. Content description. Task preparation. Year level 9

Sample assessment task. Task details. Content description. Task preparation. Year level 9 Sample assessment task Year level 9 Learning area Subject Title of task Task details Description of task Type of assessment Purpose of assessment Assessment strategy Evidence to be collected Suggested

More information

Computers Composing Music: An Artistic Utilization of Hidden Markov Models for Music Composition

Computers Composing Music: An Artistic Utilization of Hidden Markov Models for Music Composition Computers Composing Music: An Artistic Utilization of Hidden Markov Models for Music Composition By Lee Frankel-Goldwater Department of Computer Science, University of Rochester Spring 2005 Abstract: Natural

More information