Sound Is Playing
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
| Setting | Starts as | What it does |
|---|---|---|
| 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 |
|
| Quiet for (ms) | 1500 |
Sound heard within this long still counts as playing. |
Settings marked ${} take variables.
Outputs
| Is playing | Yes or no. |
|---|---|
| App | The app making the sound; empty when none is, or for Windows' own sounds. |
| Level | How loud it is now, 0 to 100. |
More in Audio & media: Volume, Microphone Muted, Now Playing