Sound bits are possible but unreliable
1) capture sound by using MixMP3
2) record with silence filter (read help of mixmp3)
3) check output file size consistently.
4) if it's over 16.1kb (16.0kb is minimal) sound is playing.
Example of If Sound Heard Then
Code:
#Persistent
Run, Mixmp3.exe -s -50 -ql -mm,,,PID
SetTimer, SizeCheck, 100
Return
SizeCheck:
FileGetSize, Size, out.mp3, K
if (Size > 16) ;larger than 16KB
{
ControlSend,, {ESC}, ahk_pid %PID%
SetTimer, SizeCheck, Off
GoTo, DoSomething
}
Return
DoSomething:
MsgBox, Sound is Playing
Exitapp
Credits: heresy