Loving the Kaoss Pad V

I recently scored a used Korg "Kaoss Pad V." This device ("KPV") is new to the market as of a few months, and it is the fifth version in a long line of Kaoss pads.

I recently scored a used Korg "Kaoss Pad V." This device ("KPV") is new to the market as of a few months, and it is the fifth version in a long line of Kaoss pads.
Let's talk about music programming! There are a million aspects to this subject, but today, we'll touch on generating rhythmic patterns with mathematical and combinatorial techniques. These include the generation of partitions, necklaces, and Euclidean patterns.
Recently, I found that there were gaps in the musical creativity packages on pypi. There are packages for music analysis and utilities for doing MIDI things, but nothing I could find for actual creativity. I decided to rectify this and port my music and MIDI Perl code to Python.
For a long time, I have wondered how to easily know what chords have a diatonic function in two different keys (modes). This is known as a "common" or "pivot" chord. Naturally, being a software engineer, I wrote a program to answer this for me! (tl;dr: the mode-pivot program)
I finally have the tools to create realistic drum grooves! (tl;dr: figured-syncopation & mp3s below)