You are on page 1of 2

20- agosto - 2017

Advance computational creativity


Sesin_01
Actividad_01

Instructions

Most modern synthesizer and digital tools have many discrete or continuous parameters. A
preset is a particular set of parameter values of a given synthesizer. The search space of
possible configurations, or presets, is often huge. Interactive Genetic Algorithms (IGAs)
allows a user to interactively explore the space of possible presets. In this assignment, we
will apply IGA to generate synthesizer presets.

Instrucciones

La mayora del sintetizadores modernos y herramientas digitales tienen muchos parmetros


discretos o continuos. Un preset es un conjunto particular de valores de parmetros de un
sintetizador determinado. El espacio de bsqueda de configuraciones posibles, o presets, es
a menudo enorme. Interactive Genetic Algorithms (IGAs) permite al usuario explorar
interactivamente el espacio de posibles presets. En esta asignacin, aplicaremos IGA para
generar presets de sintetizador.
*Preset = programar

Step 1/ Paso 1

Go over the lectures of Session 1 to understand how IGAs work. (Revisar y


comprender las lectura 01 y comprender como funciona IGA.)
Download the assignment template, CC_Class_2_assignment_1_template.zip.
(Descargar la actividad de la semana)
There are three patches in the template folder. (Revisar los tres programas de la
carpeta).
o simpleGA.maxpat is an example of a Genetic Algorithm implementation.
This patch is an implementation of the OneMax problem. Use this patch to
understand how GA works. You can use this patch to start implementing the
Interactive Genetic Algorithms. (Los archivos estn en Github.
ACC_sesin_01) Revsalo con calma.
o CC_Class_2_Assignment_1_Granular_Synthesis.maxpat is an example
synthesizer that you can use to generate presets with IGA. (Ejemplo de
sintetizador que funciona con IGA).
o poly_granular.maxpat is the poly-patch for
CC_Class_2_Assignment_1_Granular_Synthesis.maxpat which contains
the engine of the granular synthesizer. (Contiene la lgica de
programacin del sintetizador granular).

Step 2/ Paso 2

Open simpleGA.maxpat (Abrir el simpleGA)


Go through the patch, and make sure you understand it. Check each subpatchers and
read the comments. ( Revisar con calma el patch-programacin y entender cada
una de sus partes. Comprender los comentarios)
Modify simpleGA.maxpat to implement IGA: based on the example patch of the
simple GA implementation in MAX that is provided to you (simpleGA.maxpat),
develop an IGA that allows to interactively evolve presets for the Granular
Synthesizer. In particular, your IGA patch should include two subpatchers:
(Desarrollar una IGA que permita interactuar con el sintetizador granular).
o Implement a one point crossover: Your IGA patch must include a subpatcher
called crossover. (Implementar un crossover)
o Implement a random mutation of one bit: Your IGA patch must include a
subpatcher called mutation. (Implementar una mutacin random de un
bit)
Your IGA implementation should generate synthesizer presets to composed of at
least the following parameters. (La implementacin IGA debe generar lo
siguiente)
o Playback position (Posicin en playback)
o Grain size (Tamao de grano)
o Transposition (Transposicin: crossover)
Each parameter should be represented as a 16-bit binary string. Your genotype
should include at least 3 genes. (Cada parmetro debe representarse como una
string de 16Bit- binaria)
The IGA and the synthesizer patch should be connected with a send and a receive
object with the name GA_to_GS. The message passed between these two objects is
the genotype with at least 3 genes. Hence, the message should include 48 bits at
least. ( 1. IGA y sintetizador deben estr conectados para recibir objetos
GA_to_GS; 2. El mensaje que pasa entre los dos objetos debe ser un genotipo
con al menos - 3 genes; 3. El mensaje debe incluir al menos 48 bits)

The user should be able to go through the current population of presets and score them. The
IGA patch should automatically send presets to the synthesizer patch so that the user can
hear each preset in turn. (El usuario debe ser capaz de recorrer la poblacin actual de
presets y puntuarlos. El patch IGA debe enviar automticamente presets al patch del
sintetizador para que el usuario pueda or cada preset a su vez)

The CC_Class_2_Assignment_1_Granular_Synthesis.maxpat is an example


synthesizer patch that can be used with your IGA patch. (El patch de sntesis
granular es un ejemplo de sintetizador que puede ser usao en tu IGA patch)

Step 3// Paso 3

Upload a .zip file containing your Max patches


Upload separately a screen capture video with sound of 1 min max, in which you
listen to a generation of presets, enter fitness scores for them, and generate the next
generation of presets.

You might also like