I want a tool that would perform an action when getting a voice command through a microphone. I am not interested in speech recognition and capabilities such as dictation or speech to text input. What I want is much simpler: I utter a sound, the tool sends a key stroke to the active application, or executes a console command. The sound would probably be a word, or a few words, but the tool doesn't have to recognize the words themselves - rather to compare the entire sound sample with others already in its database, choosing the closest and performing the associated action (or not, if there's nothing close enough). The word I say would likely be an IT jargon, or a game term/item/character, sometimes pronounced not in English-like fashion, so speech recognition wouldn't do any good here. The primary use case I have in mind is something like "I say "build", and it presses that
Ctrl-Alt-Shift-Something hotkey in the IDE that I could never remember or press correctly with my fingers". Is there something like that?
Alternatively, is there a software library that allows fast comparison/search of short audio samples? For example, I record several sound samples, use the library to calculate some sort of common hash, then use the same library to check whether another sound sample is "similar" to them or not. Having that, I could hack together the rest myself.
All I've found so far seem to be involving speech recognition, which is not what I need.