## Generative music

Aug 19, 2008 at 8:18pm

# Generative music

Hi, i want to make some generative music patch. Where to start?
What is the core elements of this type of patches?

Sorry for double post.

#39347
Aug 19, 2008 at 8:37pm

Core elements would be random-number generation or stochastic/probability/algorithmic generation of pitch/amplitude/rhythm/duration and perhaps even timbre.

The rest is really up to you based on what elements you’d like to apply the algorithmic or random generation to.

Although complex, here is a patch which applies random generative principles to the realm of FM-synthesis created by electronic-music-master John Bischoff:
Max5/examples/legacy-examples/synths/fm-surfer-folder/fm-surfer.maxpat

That one uses random number generation. For stochastic or probability generation you could use something simple like a table object with weighted probabilities and a bang attached(see table or itable help-file for more info. and then apply it to whatever process you’d like).

There are also algorithmic possibilities such as using fractals etc. You can find jitter ways of creating such audio algorithms here:
Max5/examples/jitter-examples/audio/lindenmusic/LindenMayerMusic1.maxpat
and
LindenMayerMusic2.maxpat in the same folder

both created by R. Luke Dubois(another master, of course).

Hope that helps a little.

#138350
Aug 19, 2008 at 10:20pm

[ot] but….

http://www.csse.monash.edu.au/~cema/nodal/

Nodal is a generative software application for composing music. It uses a novel method for the notation and playing of MIDI based music. This method is based around the concept of a user-defined graph. The graph consists of nodes (musical events) and edges (connections between events). You interactively define the graph, which is then traversed by any number of players who play the musical events as they encounter them on the graph. The time taken to travel from one node to another is based on the length of the edges that connect the nodes.

Nodal is free software available for Mac OS X based computers.

#138351
Aug 20, 2008 at 6:06am

RabidRaja thanks for reply, i’ll check these patches.
pelang unfortunately i’m on PC..

#138352
Aug 20, 2008 at 6:32am

Glad to help, on second look, the help-file for itable/table isn’t quite as enlightening regarding probability methods as I thought, so you might have a look at Tutorial 17: Data Structures And Probability. Using similar techniques, you would algorithmically generate data to be applied to parameters for your synth or any other type of electronic instrument(technically, you could also generate scores for acoustic instruments as well; though real-time playback upon generation might require some extra ingenuity…).

Best of luck.

#138353
Aug 20, 2008 at 7:36am

Hi,

you have to look at Real Time Composition Library by K. Essl.

http://www.essl.at/software.html

All the best

Alessandro Fogar

http://www.fogar.it

2008/8/19 snowball :
>
> Hi, i want to make some generative music patch. Where to start?
> What is the core elements of this type of patches?
>
> Sorry for double post.
>

#138354

You must be logged in to reply to this topic.