Matching signals with a database