I think it can be done with Windows Core Audio API: https://stackoverflow.com/questions/14758360/how-to-detect-which-program-is-playing-sound-on-windows-7 Can this package do something similar?