# How to Check if Audio Is Playing in Shortcuts on iPhone

Updated: November 24, 2026

- [Actions](https://sindresorhus.com/actions.md): Additional actions for the Shortcuts app. Price: Free. Platforms: macOS, iOS, visionOS. Get it from: [App Store](https://apps.apple.com/app/id1586435171). Requires macOS, iOS, or visionOS 26 or later. Size: 13 MB on Mac, 29 MB on iPhone and iPad. Free older versions for macOS 15, 14, 13, and 12: [download](https://sindresorhus.com/actions#older-versions). US App Store rating: 4.8/5 (703 ratings).

URL: https://sindresorhus.com/guides/check-audio-playing-shortcuts-iphone

Add the “Is Audio Playing” action of the free [Actions](https://sindresorhus.com/actions.md) app, and check its result in an “If” action. It sees audio from any app, not only the Music app. [Without an app](https://sindresorhus.com/guides/check-audio-playing-shortcuts-iphone#without-an-app), the “Get Current Song” action works only for the Music app.

## With Actions

1. Install [Actions](https://sindresorhus.com/actions.md), and open it once.
1. In your shortcut, add the [“Is Audio Playing”](https://sindresorhus.com/actions#:~:text=Is%20Audio%20Playing) action of Actions.
1. Add an “If” action below it that checks if the result is true.
1. Put the actions for when audio plays in the “If” part, and the other actions in the “Otherwise” part.

For example, the shortcut can resume a podcast only when nothing else plays.

The action returns what iOS reports, and iOS is sometimes wrong:

- It returns true while the microphone is on, and for a while after a call ends.
- It returns true when “Sound Recognition” is on in the Accessibility settings.
- It returns false when the audio plays through AirPlay.

The action is for iPhone and iPad. It does not work on Mac.

## Without an app

For the Music app, add the “Get Current Song” action, and an “If” action that checks if its result has any value. The action gets the song that plays in the Music app, so it does not see the audio of other apps, like a podcast app.

If you only want to stop the audio, use the “Play/Pause” action, and set it to “Pause”.
