I have a dumb work related chrome thing, i’d like to make it so that when a certain notification sound plays in chromium, my computer does a few things automatically for me
Does anyone know a good way to make this happen?
I imagine it’d have to be setup like:
when chrome starts playing audio && check if that audio matches soundfile.ogg && myscript.sh, but I don’t know any good cli utilities that could get something like that done, and if there are any better ideas!
This Github is for detecting sound playing and sending it to Shazam. Perhaps you can use the features to capture audio and find another example of audio comparison for the other half?
That’s a good start, thank you!
And the second half of that solution (audio fingerprinting) can be solved using this: https://github.com/worldveil/dejavu