# Knock commands: play, pause and mute by knocking

Knock your MacBook twice or three times to play or pause music, mute your mic in a call or lock the screen. Knock commands are off until you turn them on.

Updated 9 October 2026

On this page

Knock on your MacBook, near the trackpad, and TapNoise can do something for you. Two knocks and three knocks each do an action you choose. Typing never counts as a knock.

Knocks need a [MacBook with a motion sensor](https://tapnoise.com/docs/system-requirements/).

## Turn them on

1. Open **Settings › MacBook**, then find the **Knock commands** card.

1. Turn on **Knock to control your Mac**. It’s off by default.

1. Set **Knock twice** and **Knock three times** to an action.

By default, a double knock plays or pauses, or mutes your mic in a call. A triple knock locks the screen.

## The actions

- **Play / pause, or mute mic in calls**

- **Play / pause music**

- **Mute / unmute microphone**

- **Next track**

- **Mute / unmute**

- **Lock the screen** (sends Control-Command-Q)

- **Turn TapNoise on or off**

- **Nothing**

## Accessibility

Play / pause, next track, mute, and lock the screen send keys, so they need Accessibility. If the card says Allow TapNoise to send keys, click **Open Settings** and turn TapNoise on. The mic, on or off, and nothing actions don’t need it.

## Related articles

- [**What the agent sounds and reactions mean**Claude Code, Codex and Cursor each play a cue when they finish, need you or hit an error. Here is what each sound means and how to hear it.](https://tapnoise.com/docs/agent-sound-cues/)

- [**Clean Mode: lock your keyboard to wipe it**Clean Mode holds the keyboard and trackpad for 30 seconds, 1 minute or 2 minutes so you can wipe them. Hold Esc for 2 seconds to stop early.](https://tapnoise.com/docs/clean-mode/)

- [**Keep TapNoise quiet during calls**Quiet during calls silences TapNoise while Zoom, FaceTime or any app uses your microphone. It's on by default, and you can turn it off.](https://tapnoise.com/docs/quiet-in-calls/)

**Still stuck?**

Email [support@tapnoise.com](mailto:support@tapnoise.com) with your macOS version and TapNoise’s status line, or see [Support](https://tapnoise.com/support/) for what to include. [All help articles](https://tapnoise.com/docs/)

Source: https://tapnoise.com/docs/knock-commands/
