Skip to content

Sound Playing

  • Trigger
  • Audio & media

Starts the macro when sound starts or stops playing: any sound on the speakers or headphones, or one app's (a voice chat, a game, a browser). Works with every app, also those without media controls. Sounds MacroWin plays itself never count.

Example

Quieter game while friends talk: Sound Playing with Event Sound starts, Source One app and App discord.exe, then Duck Volume with Action Lower, Apps to lower Every app except these, Apps discord.exe and Lower by (%) 70. A second Sound Playing on Sound stops leads to Duck Volume with Action Restore and the same Duck name.

Variations

  • Only in a game: add a Mode Is Gaming under Only when, or set the macro to run only in that mode.
  • Only your headset: choose it under Output device. The first choice, Windows default, follows Windows when you switch devices.
  • Check in the middle of a macro instead: Sound Is Playing.

Settings

SettingStarts asWhat it does
Event Sound starts
  • Sound starts: Sound starts and lasts at least Starts after.
  • Sound stops: Sound that had started is quiet for Stops after.
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.
Starts after (ms) 200 How long sound must play before it counts as started, so a click or a notification doesn't.
Stops after (ms) 1500 How long it must be quiet before it counts as stopped, so pauses between words in a call don't.

Outputs

Sound Playing outputs
AppThe app making the sound, such as Discord.exe; empty for Windows' own sounds.
DeviceThe output device's name as Windows shows it.
LevelHow loud it was, 0 to 100 (the loudest sample just then).

Limits

Short pauses don't count as stopping: Stops after (ms) waits 1,500 ms of quiet by default, so the gaps between words in a call keep it playing.

More in Audio & media: Voice Command, Audio Device Changed, Media Playback