For my weekend weekend project, I am trying to create a simple program that waits for a program / process to output any sound, and when / if it does, do something.
in pseudo code:
if (application.outputsSound()) { }
For starters, it can be any sound coming from a specific application, but if within the reason it detects a certain sound based on the stored audio file, that would be really cool.
My thoughts: I suppose I need some kind of native library (JNI / JNA), but since I'm new to this, it would be very convenient if someone could point me in the right direction.
Akudo source share