Scriptorium : GeoGenerator

By Dan Powell  |  03.09.2013

scriptorium-blog

GeoGenerator is a very simple generative music script. It’s intended to demonstrate that even with a very basic algorithm you can get some interesting results.

 

This algorithm simply generates a random note within an octave range, choosing from the note set or scale defined in the script.   There are five possible voices (VOICE 1 to 5), each of which can be assigned their own NOTE length, OCTave, % chance of occurrence, and VELocity.

You can see the parameters for each VOICE listed to the right of the panel:

GeoGenerator

The script is made active with the ‘Geo Generator’ button at the top left, and you can mute the input MIDI there as well if you like.  Once active, the script will start playing upon receiving a note, or else when the PLAY switch is turned on.

You can click on the little keyboard to include or exclude notes, or else choose from some PRESET scales.  There is an option for HALF TEMPO if you want to use it to generate random backdrops.  GeoGenerator will chase tempo changes if used in a sequencer.

LIVE TRANSPOSE allows you to transpose the output of the GeoGenerator with your keyboard.  If you play middle C (MIDI 60), the transpose is 0.  Above or below middle C will transpose the output.

DOWNLOAD THE SCRIPT

 

Requires Kontakt 5.1 or later.   GeoGenerator works best placed before any other scripts in the KSP chain.