I meant the spectrogram encoded as a 2d array, but I guess there isn't a big difference when the db query is the most expensive part.
I've always wondered: Is there a way to compare fingerprints with humming sounds or live recordings?
Those fingerprinting techniques don't seem to be suitable for those tasks, do you know of any methods to accomplish this?