Mac Slap
Smack your MacBook. It talks back. A novelty browser tool that uses your laptop's microphone to detect physical smacks on the chassis, then roasts you.
How Mac Slap works
Modern MacBooks (2016+) don't expose motion or accelerometer data to web browsers β Apple removed the Sudden Motion Sensor years ago. So Mac Slap detects smacks the only way it can: through your microphone. When you smack the laptop's aluminum chassis, the impact creates a sharp, broad-spectrum sound transient that's distinct from speech or background noise. Mac Slap listens for that signature, ignores normal voice and ambient sound, and triggers a comeback when it hears one.
Will it work on my laptop?
Mac Slap works on any laptop with a built-in or connected microphone β not just MacBooks. The detection is purely audio-based. It works on:
- MacBook Air (any year)
- MacBook Pro (any year)
- Windows laptops with a microphone
- Chromebooks with a microphone
- Linux laptops with a microphone
It works in any modern browser that supports the Web Audio API β Chrome, Safari, Firefox, Edge, Brave, Arc. Mobile phones work too, but you should probably use SmackaPhone (motion-based) instead since it'll be more accurate.
Does Mac Slap record or transmit my audio?
No. The microphone audio never leaves your browser. Mac Slap analyzes the live audio stream entirely on the client side using the Web Audio API's analyser node β it computes amplitude and transient signatures, then discards the audio. Nothing is uploaded, recorded, or stored. We have no way to access what your microphone hears.
Your browser will ask for microphone permission the first time you click Start. You can revoke that permission at any time from the browser's address-bar lock icon. Mac Slap will stop working until you re-grant it.
Tips for best detection
- Quiet rooms work better. Background noise raises the floor, making it harder to distinguish a slap from regular sound.
- Slap the body, not the screen. The aluminum chassis is more acoustically resonant than the screen. Hitting the wrist rest, the lid (closed), or the bottom of the laptop produces the cleanest signature.
- Adjust sensitivity. If it's triggering on speech or background noise, lower the sensitivity. If your slaps aren't being heard, raise it.
- Combo bonus. Slap rapidly within 2 seconds and the combo counter goes up. 5+ in a row unlocks RAGE MODE.
FAQ
Why doesn't Mac Slap use the accelerometer?
Browsers don't expose laptop accelerometer data via the DeviceMotion API. That API only works on mobile phones (iOS Safari, Android Chrome). Even older MacBooks with the Sudden Motion Sensor never exposed it to web pages.
What's RAGE MODE?
If you slap your laptop more than 5 times in quick succession, the page goes a little nuts β screen shake, color shifts, faster comebacks. It's a reward for unhinged behavior.
Can I use Mac Slap with headphones plugged in?
Yes β the microphone input is separate from the audio output. Just make sure the system mic isn't muted.
Will Mac Slap break my laptop?
No, but slapping a laptop hard enough can. Mac Slap doesn't encourage you to hit your laptop hard β it works on light taps too if your sensitivity is set high. Don't damage your hardware over a joke app.