Skip to content
hackatnightPublic

About

Live LED color control, animations and protocol notes for the erok P16 MIDI pad (CLI, Web MIDI painter, Android app)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P16 MIDI

Live pad color control and animation for the erok P16 MIDI pad, based on a protocol reverse-engineered from the KuSuite editor.

Rainbow animation on the 4x4 pad grid

Part What it is
PROTOCOL.md The pad's packet format, commands, config layout and BLE details
p16_rgb.py Command-line colors and animations over USB MIDI (Windows: no dependencies)
web/ P16 Painter: draw on the pads and run animations from Chrome or Edge via Web MIDI
android/ P16 Studio: Android app (USB or Bluetooth), built without Gradle
capture/ Scripts used to decode Bluetooth HCI captures (the captures themselves aren't in the repo)

Quick start

Plug the pad in over USB and close KuSuite (Windows lets only one app use a MIDI port at a time).

python p16_rgb.py --anim rainbow --port "P-16"

Or serve the web painter and open http://localhost:8016 in Chrome:

cd web
python -m http.server 8016 --bind 127.0.0.1

Colors are sent live with the 'Q' command and are not written to the pad's memory.

P16 Painter

Click or drag across the pads to paint them, or pick one of 12 animations. Pad hits from the P16 show up under Incoming MIDI and flash the pad white.

Drawing Fire animation
Painting pads in P16 Painter Fire animation in P16 Painter

P16 Painter running the Rainbow animation

Confirmed on hardware

  • Pad index 0 is the bottom-left pad; colors go on the wire as G, R, B.
  • Over USB the pads send notes 36–51, bottom-left first (tested in one bank/preset).
  • Live colors work over USB (port "P-16") and Bluetooth (service 0xAE40).

About

Live LED color control, animations and protocol notes for the erok P16 MIDI pad (CLI, Web MIDI painter, Android app)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages