v1.2 · Current

Every feature,
explained.

SlapMac is deceptively simple on the surface.
Here's what's running under the hood.

Slap detection

Reads the built-in accelerometer at ~12.5 Hz. Five algorithms vote on every impact — so closing a laptop lid, typing hard, or bumping your desk won't trigger it.

M1PRO+ macOS 14.6+ IOKit HID

Force → Volume

Gentle tap whispers. Full slap goes full blast.

Menu bar only

No dock icon. Lurks silently. Always ready.

Lid Creak

New

Open or close your lid and it creaks like an old wooden door. Requires M2PRO+.

USB Moaner

Plug or unplug any USB device. It moans. Same voice packs, no slapping required.

Seven moods of protest

130+ sound clips. Pick your MacBook's personality.

Sensitivity

From "butterfly landing" to "needs a running start". You pick the threshold.

Cooldown

Prevents meltdowns during rapid slaps. Set anywhere from rapid-fire to dramatic pauses.

Menu bar only

No dock icon. Lurks silently.

Volume scales with force

Gentle tap? Whisper. Full slap? Full volume.

Adjustable sensitivity

From "earthquake detector" to "needs a running start".

Cooldown timer

Prevents meltdowns during rapid slaps.

USB Moaner

Plug or unplug a USB device. It moans. You're welcome.

Launch at login

Always ready. Always listening.

Slap counter

Tracks your lifetime slaps in the menu bar. High score pending.

Onboarding

A polite welcome before the chaos begins.

Wildly overengineered

Five signal-processing algorithms vote on every impact. Democracy, but for physical abuse.

01

High-Pass Filter

Strips out gravity so we only see impacts

02

STA/LTA Ratio

Compares short-term vs long-term averages at 3 timescales

03

CUSUM

Detects sudden shifts in acceleration

04

Kurtosis

4th statistical moment — finds sharp spikes

05

Peak/MAD

Median Absolute Deviation outlier detection

Majority rules → sound plays

Architecture

MenuBarExtra (SwiftUI)
  └─ SlapController
       ├─ AccelerometerReader  ← IOKit HID, ~12.5Hz
       ├─ LidAngleSensor       ← IOKit, lid angle detection
       ├─ SlapDetector         ← 5 algorithms vote
       ├─ USBWatcher           ← IOKit USB events
       ├─ AudioPlayer          ← AVFoundation
       └─ SettingsStore        ← UserDefaults

Ready to abuse your hardware?

$2 one-time · M1PRO+ MacBook · macOS 14.6+

Download for Mac