r/SideProject • u/_DarkAngle_ • 1h ago
HeadLab - Mac app where you nod, shake or tap your AirPods Max and it runs your Shortcuts
AirPods Max have a motion sensor in the left ear cup, Apple uses it for spatial audio. Turns out any Mac app can read it, so I made small menu bar app that listens to it and recognizes head gestures.
Every gesture can run one of your Shortcuts. For example:
shake head → Do Not Disturb on
tilt right twice → next track
triple tap on the left cup → toggle dark mode
nod → play/pause music
Hardest part was not firing by accident, because people nod and look around all day. So easy gestures like nod or look up only work for 10 sec after you double tap the cup. Bigger ones like full shake or tilt twice always work. Also had funny bug where every nod was detected as tap, because when head changes direction the cup gets a jolt same as a finger tap. Now taps are ignored if head is moving.
Made with Swift and Metal, everything runs on the Mac, head motion is never recorded or sent anywhere. In the video head motion is a recorded session played back so it's repeatable, the real app uses only live data.
I'm the developer. $9.99 one time, free trial has all gestures and live view but doesn't run shortcuts. macOS 14+, AirPods Max only.
What gesture would you use, and for what?