Turn your MacBook into a squeaky door. Crack monitors your lid angle sensor and plays a creak sound whenever you move the lid — with pitch varying based on how fast you move it.
- Real-time lid detection — Uses the built-in HID lid angle sensor at 60fps
- Variable pitch — Sound playback speed scales with lid movement velocity
- Menu bar app — No windows, just a clean menu bar icon
- 18 built-in sounds — Cracks, creaks, voice effects, synth sounds
- Volume control — Adjustable via slider in the menu
Get the latest release from the releases page or visit the website.
- macOS 13.0+
- Xcode 15+
- Task (optional, for build automation)
task runtask releasexcodebuild -project Crack.xcodeproj -scheme Crack -configuration Release buildCrack reads the MacBook lid angle sensor via IOKit HID at 60 times per second. When it detects the angle changing (threshold: >0.001°), it plays a looping audio sample through AVAudioEngine with an AVAudioUnitVarispeed node. The varispeed rate is smoothly interpolated based on the angular velocity of the lid movement, creating a natural squeaky door effect.
MIT