Sound Playing
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
| Setting | Starts as | What it does |
|---|---|---|
| Event | Sound starts |
|
| Source | Any sound |
|
| 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 |
|
| 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
| App | The app making the sound, such as Discord.exe; empty for Windows' own sounds. |
|---|---|
| Device | The output device's name as Windows shows it. |
| Level | How 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