WOLFPUNK Chord Machine

June 15, 2025 ยท View on GitHub

A CircuitPython-based MIDI chord machine built for the Adafruit MacroPad RP2040. Inspired by devices like the Pocket Audio HiChord, this custom firmware transforms the MacroPad into a powerful chord and arpeggiator performance tool with rich LED feedback and a dynamic OLED interface.


๐Ÿ”ง Required Libraries

Ensure your lib/ directory on the CIRCUITPY drive contains the following CircuitPython libraries:

  • adafruit_display_text
  • adafruit_macropad
  • adafruit_midi
  • adafruit_pixelbuf

You can download these from the Adafruit CircuitPython Bundle.


๐Ÿš€ Setup Instructions

  1. Copy code.py to the root of your CIRCUITPY drive.
  2. Install the required libraries in a lib folder on CIRCUITPY.
  3. Reboot the MacroPad or press Ctrl+D in the serial console.

Upon boot, you'll see:

  • A boot animation with animated pixels and a "WOLFPUNK CHORDS" title.

๐ŸŽน How to Use

๐Ÿ”ข Keys 1โ€“7 (Lit yellow):

  • Trigger chord notes. Each key corresponds to a scale degree in the key.

๐Ÿ”˜ Key Functions

  • Key 8: Cycle through chord inversions (0, 1, 2)
  • Key 9: Shift octave (-1, 0, +1)
  • Key 10: Change arpeggiator mode (Off โ†’ Up โ†’ Down โ†’ Random)
  • Key 11: Toggle Latch mode (Hold chords after release)
  • Key 12: Toggle chord type (Major / Minor / Diminished)

๐ŸŽ› Encoder

  • Turn: Adjust key offset
  • Press + Turn: Adjust BPM

๐Ÿ’ก LED Feedback

  • Keys 1โ€“7: Yellow when idle, green when pressed or arpeggiated.
  • Key 8: Red (brightness indicates inversion)
  • Key 9: Blue (brightness indicates octave)
  • Key 10: Orange (tempo pulse when arp active, dim when off)
  • Key 11: Purple (bright = latch on, dim = off)
  • Key 12: Green (brightness varies by chord type)

๐Ÿ–ฅ OLED Display

Chord: 60 64 67
Key: +1 | Oct: 0
Inv: 1 | Lt: 1 | Maj
Arp: Up | BPM: 120
  • Chord: MIDI notes of the current chord
  • Key: Offset in semitones
  • Oct: Octave shift
  • Inv: Chord inversion
  • Lt: Latch (0 = Off, 1 = On)
  • Maj: Chord type
  • Arp: Arpeggiator mode
  • BPM: Tempo

๐Ÿ“ฆ License

GNU General Public License v3.0 (GPL-3.0). Created for creative MIDI exploration with the Adafruit MacroPad RP2040.


๐Ÿบ About

Developed by WOLFPUNK for expressive chord and performance interaction, ideal for live electronic music and generative composition.