A Max4Live drum machine based on Genetic Algorithms
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Presets
simpleGA.mxo/Contents
.gitignore
GenDrum-MIDI.amxd
GenDrum.amxd
README.md
channelHandler.maxpat
clap.maxpat
export_json.js
gsBroadcaster.maxpat
hat.maxpat
kick.maxpat
max_test.maxpat
parallelGA.maxpat
snare.maxpat
synthPatcher.maxpat

README.md

GenDrum

GenDrum is a Max4Live device that generates drum patterns using Genetic Algorithms. An input pattern is set as a target pattern and new ones are generated automatically. The fitness of new patterns is determined by analysing its similarity to the target pattern using a choice of two distance metrics: the Hamming distance or the directed-swap distance. Essentially the Hamming is simpler and faster, for a more thorough comparison please read the paper here (http://mtg.upf.edu/node/3259).

Uses SimpleGA (https://github.com/carthach/SimpleGA).

Installation and Usage

Copy the entire contents of the project into a folder called GenDrum or something similar in your Max Instruments location.

The GenDrum instrument should appear automatically in Max4Live instruments. It creates simple Roland TR-808 style sounds itself, but it can be used to control other MIDI devices using the GenDrum-MIDI listener device.