For instance I would like to tell with what percentage of accuracy a recorded sound match those given by a preexistent library of sounds
Plus, is there any tool or algorith that could be used?
Shazam (and various others) do this for entire songs. This paper describes how:
I would imagine for short sounds you would do similar but sample much more frequently.