# Scale Filter MIDI Effect Devices for Ableton This is a script that generates Ableton MIDI Effect Devices that allow you to filter the piano roll in various keys and modes. ##[Download the *Scale.Filters.zip* here](https://github.com/michaelphines/scale-filter-midi-effect-device/releases)


demo of adding the device, clicking a note on the piano roll without a bullet to highlight a non-diatonic note, and moving it


Scales generated:

In all keys including theoretical ones like Fb

Implementation details

I didn’t have the patience to do it by hand, so I decided to try to write a script. A quick peak at the file header of the Ableton device revealed it was just a gziped XML file, and I found a Ruby gem that generates scales, so I was off to the races. It didn’t work at first, but it appears that Ableton cares strangely a lot about the tabbing and whitespace in the XML, which frankly terrifies me. I hope I’m wrong about that.

This page was generated by GitHub Pages using the Cayman theme by Jason Long.