Automated Fugue Generation Yu Yue Yue Yang supervised by Prof Andrew Horner.

Slides:



Advertisements
Similar presentations
Terms By: Katie Romano. A Ambit- the range of pitches Arch-form- symmetric in time & climaxes in the middle Attack- initial growth of sound Avant-garde-
Advertisements

Composing How do I get started?. Step 1 Select your form AB two contrasting sections ABA three sections, the first and third sections are the same, the.
1 Leaving Cert Music Composition MELODY WRITING Teachers’ Workshop 2007 Teachers - Look at the associated pages in your workbook Presenters - See notes.
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
Handel Close Analysis and cadences. Cadences A cadence is a type of musical ending. It’s like a full stop or comma at the end of a sentence. There are.
Humdrum - Introduction What is Humdrum? A set of general-purpose music software tools, but free Encode, manipulate, and output a wide variety of musically-pertinent.
Chapter 11 Prelude: Music and the Enlightenment Style Features of Classical Music.
Toward Automatic Music Audio Summary Generation from Signal Analysis Seminar „Communications Engineering“ 11. December 2007 Patricia Signé.
Melodic Organization Chapter 6. Motive Short melodic and/or rhythmic pattern Usually only a few beats Recurs throughout a piece or section Unifying element.
Elements of Music. Rhythm – Element of TIME in music. Duration - How long a sound (or silence) lasts. Beat - The beat is the basic unit of time, the pulse.
Classical Music Higher Music.
Chapter 9 Baroque Instrumental Music Fugue. Key Terms Fugue Fugue subject Expositions Subject entries Episodes Contrapunctus Free and learned fugues Fugato.
Multi-Objective Evolutionary Algorithms Matt D. Johnson April 19, 2007.
Automating Keyphrase Extraction with Multi-Objective Genetic Algorithms (MOGA) Jia-Long Wu Alice M. Agogino Berkeley Expert System Laboratory U.C. Berkeley.
Melody Generation with Evolutionary Computation By Matt Johnson November 14, 2003.
High School Music Theory The Fugue Straka. What is the Fugue? The fugue is a composition based on imitative counterpoints. It has a fixed number of voices.
Music 1133 Music Theory 1 J. Hennessy. What is Music Theory? Music Theory attempts to explain the complex and abstract organization of sounds we call.
Chapter Nine Harmony. Basic Elements of Music Rhythm Melody (pitch Harmony Timbre (sound) Form (shape)
What to Listen for in Music
Visualizing Harmony Craig Stuart Sapp ICMC 2001 Havana, Cuba.
David Temperley Presentation by Carley Tanoue
Cristian Urs and Ben Riveira. Introduction The article we chose focuses on improving the performance of Genetic Algorithms by: Use of predictive models.
The Art (and Craft) of the Fugue. Pop Quiz: What do the following compositions have in common? 1. Handel “Hallelujah Chorus” (1742) 2. Beethoven, “Piano.
Newsjunkie: Providing Personalized Newsfeeds via Analysis of Information Novelty Gabrilovich et.al WWW2004.
Improved Gene Expression Programming to Solve the Inverse Problem for Ordinary Differential Equations Kangshun Li Professor, Ph.D Professor, Ph.D College.
CHAPTER 39 Johann Sebastian Bach: Instrumental Music in Weimar and Cöthen.
Baroque Music. Sonata A work for solo piano, or a solo instrument accompanied by harpsichord. Often the basso continuo would also be played by a cello/Viola.
RoBach A Case Study in the Use of Genetic Algorithms for Automatic Music Composition.
Optimal resource assignment to maximize multistate network reliability for a computer network Yi-Kuei Lin, Cheng-Ta Yeh Advisor : Professor Frank Y. S.
Design of an Evolutionary Algorithm M&F, ch. 7 why I like this textbook and what I don’t like about it!
Fuzzy Genetic Algorithm
Similarity Matrix Processing for Music Structure Analysis Yu Shiu, Hong Jeng C.-C. Jay Kuo ACM Multimedia 2006.
Some Simple Music Fundamentals. Melody On top What you whistle Often has lyrics More interesting rhythm Prominence Loudest.
Baroque Instrumental Music Higher. Basso Continuo Most Distinguishing features Continually played throughout music Bass line – Cello, or bassoon Chord.
Begins on page 17 Chapter 3 Melody and Harmony Pitch  Is the degree of highness or lowness of a sound  Is determined by the number of vibrations of.
V OICE L EADING IN F OUR -P ART C HORALE W RITING Chapter 9.
A Study of Balanced Search Trees: Brainstorming a New Balanced Search Tree Anthony Kim, 2005 Computer Systems Research.
Baroque Instrumental Music. 6 Features of Baroque Music 1. terraced dynamics – dynamics change suddenly 2. unity of mood – a movement will stay.
FORS 8450 Advanced Forest Planning Lecture 11 Tabu Search.
Computer Hardware. Processing Binary Math Hierarchy.
For use with WJEC Performing Arts GCSE Unit 1 and Unit 3 Task 1 Music Technology Creativity in composing.
Unit B353: The Creative Task
Get books again today…. CHAPTER 3: CONCERTO GROSSO AND RITORNELLO FORM Basic principles of Baroque music: Basic principles of Baroque music: Contrasts.
Chapter 7: Introduction to Baroque Art and Music
Unit 1: Basics of Music & Film
Other Aspects of Musical Sound pp Texture  Texture describes the number of things that are going on at once in a piece of music.  Monophony-
Final Projects Some simple ideas. Composition (1) program that "learns" some aspect of musical composition.
Authors: Soamsiri Chantaraskul, Klaus Moessner Source: IET Commun., Vol.4, No.5, 2010, pp Presenter: Ya-Ping Hu Date: 2011/12/23 Implementation.
A framework for answering aural questions using the 6 concepts of music.
Discovering Musical Patterns through Perceptive Heuristics By Oliver Lartillot Presentation by Ananda Jacobs.
Learning to analyse tonal music Pl á cido Rom á n Illescas David Rizo Jos é Manuel I ñ esta Pattern recognition and Artificial Intelligence group University.
Stochastic Text Models for Music Categorization Carlos Pérez-Sancho, José M. Iñesta, David Rizo Pattern Recognition and Artificial Intelligence group Department.
Partita no. 4 in D: Sarabande and Gigue J.S. Bach.
NAM 8.  Performing forces and their handling  Texture  Structure  Tonality  Harmony  Word-setting and Melody  Rhythm and Metre.
1. Rhythm 1.1. Basic rhythmsBasic rhythms 1.2. Rhythmic formulasRhythmic formulas 2. Melody 2.1. Diatonic scaleDiatonic scale Relative keys Degrees of.
What do all these have in common? New Amsterdam is renamed New York Taj Mahal completed Salem Witch trials occur 1 st Piano is built Fahrenheit Mercury.
Classical Music Higher Music.
Music Matching Speaker : 黃茂政 指導教授 : 陳嘉琳 博士.
A Melody Composer for both Tonal and Non-Tonal Languages
What do all these have in common?
Bell Ringer Using the first two (choral) works from the packet handed out when you arrived to class today, analyze the use of notation for the vocal parts.
Classical Music Higher Music.
Craig Stuart Sapp ICMC 2001 Havana, Cuba
Chorale Harmonization and Figured Bass
The Art (and Craft) of the Fugue
Vocabulary. Vocabulary SATB Style Notation Range Spacing Voice Crossing Doubling.
Learning to describe what we hear.
What do all these have in common?
Chord Recognition with Application in Melodic Similarity
Brandenburg Concerto No.5, 3rd movement
Presentation transcript:

Automated Fugue Generation Yu Yue Yue Yang supervised by Prof Andrew Horner

What is a Fugue ? A fugue is a musical composition of multiple voices built on a subject (recurring theme) that imitates itself frequently throughout the piece. Fugue No.4 in C ♯ minor, WTC Book I, J. S. Bach, BWV 849 of multiple voices Automated Fugue Generation Yu Yue Yue Yang supervised by Prof Andrew Horner Fugue

Objective Design and build a system that generates three-voice fugues Emulate the musical style of J. S. Bach, the famous Baroque composer

Outline Design Fugue Structure Compositional Procedure Segment Tree Structure Bundle Optimization: Genetic Algorithm Implementation Results & Evaluation Conclusion & Future Work

Design::Fugue Structure Segment: a single-voice melody excerpt of fixed length (2 bars) Bundle: a multi-voice excerpt of fixed length

Design::Compositional Procedure Get subject entry positions (voice, bar, key) from tonal center progression Generate a subject using GA and replicate it at every subject entry position Starting from 2 nd bundle, incrementally determine each bundle using GA given its previous bundle

Design::Bundle Optimization Genetic Algorithm Requirements Solution Y Scoreboard Evaluator Sort Criteria Reached? N Select Best Candidates Generator Mutants Mutator 1 10

Design::Bundle Optimization AAABAAAB DEDEF D: E:F: Soprano Alto Bass Requirements Fix the segment that contains subject entry Generator Produce 100 bundles Each bundle: fix structure Variable chunks & linkages

Design::GA::Segment Generation Structure [Segment = AAAB, A = D + E, B = F + F] Chunks [ D: E:F: ], Linkages: +1, –1, +2, +0

Design::GA::Segment Mutation Chunk (four 16 th notes) TypeOffset Linkage 64 most common chunks from Bach’s fugues offset can be –2, –1, 0, +1, +2

Design::Tree Structure of Segment Characteristics of Bach’s fugues Chunk frequency conforms Zipf’s Law Frequent repetition of chunks Dominance of stepwise motion Narrow down Search space Search space of tree structure segment repr × (2 × 5) 6 × 14 1 × 100 = 3.7 ×10 14 chunk linkage starting pitch structure Search space of naïve pitch sequence repr = 3.4 ×10 38 pitch

Design::GA::Segment Evaluation Intra-Voice Range Linkage between segments Fitness to Chord Inter-Voice Voice Crossing & Voice Overlap Rhythm & Chord unity (Counterpoint)

Design::Why GA? Search space too large 3.7 ×10 14 possibilities for each segment Rules too complicated Does not require optimal solution Time insensitive: offline application

Implementation Software Analysis & Playback: Humdrum Toolkit Generation: MIT-scheme Platform: GNU/Linux

Implementation Humdrum Toolkit Used with humdrum format, a general-purpose text-based music score format Excellent in music analysis Used for collecting statistics from J.S. Bach’s works

Implementation MIT-scheme Scheme: ultimate solution to general sequence processing, especially language MIT-scheme: scheme with enhanced functionalities

Implementation Scheme representation Relational representation aiming at minimize number of variables (for genetic algorithm)

Implementation D = ( (k (1 1)) (k (1 1)) (k (1 -2)) (k) ) E = ( (k) (r) (r) (r) ) F = ( (k (1 0)) (r) (k) (r) ) D: E:F:

Implementation D: E:F: A= D + E = (G+ (Gml D +2) E ) B= F * 2 = (G* (Gmf F +0) 2 )

Implementation D: E:F: Segment= A * 3 + B =(G+ (Gml (Gdx (G* (Gml A +1) 3) ) –1) B )

Implementation Dynamic Evaluators Evaluators are prioritized; the higher level evaluators (e.g. fitness to Chord) get lower weight if the lower level evaluators (e.g. note range) do not reach a threshold Evaluators behave differently in different phases of GA, e.g. heavier weight on range at the beginning, etc..

Result Sample result of our program

Evaluation Comparison with similar works Eric Milkie, Joel Chestnutt : Fugue Generation with Genetic Algorithms (from Cornell) [1] Prof David Cope: Well-Programmed Clavier [2] Musically, significantly better than [1] but pale compared to [2]

Evaluation Efficiency Meter: 4/4 Shortest note: sixteenth note Number of bars: 40 Estimated Time to compose one fugue: 1 hour on one 2.4GHz CPU

Evaluation Aesthetic Quality Make musical sense in general, occasionally with unnatural transitions The introduction of musical concepts, such as repetition, imitation, tonal center and chord progression plot a vivid story line, compared to Cornell’s approach Several assumptions are too rigid for the program to generate better solutions, such as two beats per chord, forced repetition pattern, etc.

Conclusion Contribution Build a system that can generate polyphonic music similar to fugues and inventions Limitations The results sound more “Pop-ish” than authentic Baroque fugues due to emphasis on chord The forced repetition pattern design insulates local optima in the fitness landscape, making it difficult to reach better solutions

Future Work Smoothing the Fitness Landscape Extensive search + Pruning 13r13r Two different consonants in C Major, good choice ,4 clash dissonantly, sounds bad All consonants are presented, ultimate choice. Good Bad / Excellent! Potentially Good

Q & A Thank you!