the forte framework for music composition - … dsl allen forte (born december 23, 1926) is a music...

46
The Forte Framework for Music Composition Jakub Korczyński Lambda Days 2015

Upload: duongbao

Post on 18-May-2018

219 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

The Forte Framework for Music CompositionJakub Korczyński

Lambda Days 2015

Page 2: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

– Igor Stravinsky

„Now art is the contrary of chaos.”

Page 3: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

The Problem

Frederic Chopin playing for prince Radziwiłł in 1887, Henryk Siemiradzki

Page 4: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

How to grasp music?

"Etude in A minor" (Op. 10, No. 2) by Fryderyk Chopin

Page 5: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

A partial solution

"Etude in A minor" (Op. 10, No. 2) by Fryderyk Chopin

Page 6: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

What we would like instead?

"Etude in A minor" (Op. 10, No. 2) by Fryderyk Chopin

Page 7: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Even better …

"Etude in A minor" (Op. 10, No. 2) by Fryderyk Chopin

Page 8: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Wow!

"Etude in A minor" (Op. 10, No. 2) by Fryderyk Chopin

Page 9: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Structure Theory

Page 10: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal
Page 11: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Forte DSL

Page 12: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Forte DSLAllen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal Music” published by Yale University Press.

What is Forte theory?• A mapping of pitches to pitch classes• A mapping of intervals to interval classes• A grouping of pitch classes with pitch class sets• Pitch class set normalization• Various pitch class set relations• Analysis with interval vectors and basic interval patterns• Complexes and subcomplexes

Page 13: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Mapping music to numbers

Claude Debussy at the piano

Page 14: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Pitches to Pitch Class Sets

Forte mapping - "Clair de lune" C. Debussy

Page 15: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Contributions

What we propose:• Forte theory systematization and enhancement• A EDSL instead of a batch processor for manipulating• Forte-theoretic entities• Techniques for domain abstraction, interpretation swapping

and self-optimizing library implementation• A method for boilerplate code reduction

Page 16: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Graph DSL

Page 17: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Graph DSL

Basic concepts:• Modeling music as a graph• Time axis and musical time windows• Vertical plane• Musical paths and the horizontal plane

Page 18: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Graph DSL example

Page 19: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Musical Time Window

Page 20: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Musical Time Window

Page 21: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Musical Time Window

Page 22: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Musical Time Window

Page 23: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Vertical Plane

Page 24: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Vertical Plane

Page 25: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Vertical Plane

Page 26: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Vertical Plane

Quarter Note Time Window

Page 27: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Horizontal Plane

Page 28: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Horizontal Plane

Page 29: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Horizontal Plane

Page 30: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Horizontal Plane

Two Horizontal Planes

Page 31: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Graph DSL operations

Page 32: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Function application code example

Page 33: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Function Application Intuition

Page 34: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Split code example

Page 35: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Split intuition

Page 36: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Merge code example

Page 37: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Merge Intuition

Page 38: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Cut and Inject code example

Page 39: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Cut and Inject Intuition

Page 40: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Helper code example

Page 41: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Helper Intuitions

Page 42: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Forte Framework = Forte DSL + Graph DSL

Page 43: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Getting real

Page 44: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Final result …

Page 45: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

… and with a little more work

Page 46: The Forte Framework for Music Composition - … DSL Allen Forte (born December 23, 1926) is a music theoretician and musicologist best known for his work “The Structure of Atonal

Thank you!