Skip to content

Sound Is Playing

  • Condition
  • Audio & media

Whether sound is playing right now: any sound on the speakers or headphones, or one app's. Pauses shorter than Quiet for (between words) still count as playing. Sounds MacroWin plays itself never count.

Using it

On a trigger it's Sound is playing, under Only when: the trigger starts the macro only while the answer is yes.

In the steps, add If and choose it: the steps under Then run when the answer is yes, those under Otherwise when it's no.

Settings

SettingStarts asWhat it does
Source Any sound
  • Any sound: Anything the output device plays, from any app.
  • One app: Only the app named in App, all its sounds together (a browser or Discord has several).
App ${} empty The app, such as Discord or spotify.exe (the .exe is optional).
Output device ${} empty The speakers or headphones to listen on. Windows default follows Windows when you change your default device. A typed name, or part of one (for example, Headphones), finds the device on any PC.
Loudness Normal
  • Quiet: Even soft sound counts, such as a whisper in a call.
  • Normal: Speech and music at an everyday volume.
  • Loud: Only loud sound, such as shouting or an explosion in a game.
Quiet for (ms) 1500 Sound heard within this long still counts as playing.

Settings marked ${} take variables.

Outputs

Sound Is Playing outputs
Is playingYes or no.
AppThe app making the sound; empty when none is, or for Windows' own sounds.
LevelHow loud it is now, 0 to 100.

More in Audio & media: Volume, Microphone Muted, Now Playing