This script can be used to control your digitakt automatically via USB+MIDI. This will send generative "beats" to your Digitakt hence the name "autodrummer".
It assumes that your sample pads 1-8 are mapped to MIDI channels 1-8.
This is the instrument to channel mapping and can be re-configured accordingly:
DTAKT = {
bd: 1,
sn: 2,
lo_tom: 3,
clap: 4,
cb: 5,
hat: 6,
open_hat: 7,
cymb: 8,
}
The USE_MIDI
boolean can be set to false
to debug using the SonicPi instruments. On first run, I recommend setting USE_MIDI=false
in order to ensure the script runs as expected.