Главная
Study mode:
on
1
Intro
2
TWO CONTRASTING MELODIES
3
CONTRASTING MELODIC SHAPES
4
CONTRASTING CONTOURS
5
CONTRASTING MELODIC DENSITY
6
COUNTERPOINT IS INGENIOUS As demonstrated by J.S. Bach (contrapuntal genius)
7
SPOT THE TRANSFORMATION(S)
8
BUT HOW DOES IT WORK?
9
JOHANN JOSEPH FUX
10
GRADUS AD PARNASSUM Steps to Parnassus (dwelling place of the gods).
11
CANTUS FIRMUS ( Fixed sang based on medieval plainchant)
12
RULES CONCERNING PITCH
13
RULES FOR MOVEMENT THROUGH TIME
14
HOW CAN I USE FUX'S SPECIES TO MAKE COMPUTER GENERATED COUNTERPOINT?
15
THE PROBLEM: • Silly/huge number of potential results. • Needle in a haystack most potential results wrong • Generating solutions algorithmically is hard. Furthermore, any solution should be: • Timel…
16
GENETIC ALGORITHMS! • Find acceptable solutions relatively quickly.
17
WORDOLUTION: AN EXAMPLE / DETOUR Wordolution evolves a solution from a starting population of words containing random letters
18
The fitness of a candidate solution is based upon its Levenshtein distance (number of different characters) from the target word.
19
The crossover function is synonymous with breeding new candidate solutions. The genetic information from both parents is mixed together to create two new children
20
ENCODING MUSIC FOR FOOX
21
FOOX FITNESS FUNCTIONS
22
A SIMPLE COMMAND
23
FIRST SPECIES COUNTERPOINT
24
THIRD SPECIES COUNTERPOINT
25
FIFTH SPECIES (UNFINISHED) Fifth species combines all of the previous species as well as extra rules concerning ornamentation of the melody
Description:
Explore the intersection of music theory, genetic algorithms, and Python programming in this 55-minute EuroPython Conference talk. Delve into the world of counterpoint, inspired by J.S. Bach's genius, and learn about Johann Joseph Fux's "Gradus ad Parnassum" approach to composition. Discover how to apply genetic algorithms to generate computer-generated counterpoint, addressing challenges such as the vast number of potential results and the need for timely, acceptable solutions. Examine the "Wordolution" example to understand the principles of genetic algorithms, and then dive into the practical application of these concepts in music composition. Investigate various species of counterpoint, from first to fifth, and learn how to encode music, create fitness functions, and implement simple commands for generating musical pieces. This talk bridges the gap between classical music theory and modern computational techniques, offering a unique perspective on algorithmic composition.

Music Theory - Genetic Algorithms and Python

EuroPython Conference
Add to list
0:00 / 0:00