use your Mac's touchpad as a midi controller to play music
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Getting started

  1. Install requirements with pip install -r requirements.txt
  2. Open up GarageBand or Logic with a Software Instrument track
  3. cd miditouchpad and then run python and drag your finger along the trackpad


The default MidiPad maps the x-position on your trackpad to notes, and the y-position to velocity (loudness). It also has a few options for specifying exactly which notes are played:

  • Play notes in D major: python --notes D
  • Play notes in F# minor: python --notes f#
  • Change which octaves are included: python --octaves 4
  • Change the latency: python --latency 0.3