News for hackers. Stuff that matters.
Re:Build Audio Search with Vggish by varispeed on Monday April 05, 2021 @10:55AM (#26699850)
Is there an explanation what exactly does it do? It seems like this is searching audio, but based on what and what audio?
Re:Build Audio Search with Vggish by gk1 on Monday April 05, 2021 @02:24PM (#26702638)
It's using similarity search[0]. You transform audio files into vectors using some embedding model like vggish[1], then index those vectors. Then turn the query audio file into a vector the same way, and search the index for vectors similar to your query.

Full disclosure: I work for Pinecone, which provides similarity search as a service... Including for audio data.

[0] https://www.pinecone.io/learn/what-is-similarity-search/

[1] https://tfhub.dev/google/vggish/1

Re:Build Audio Search with Vggish by willseth on Monday April 05, 2021 @04:16PM (#26704082)
Can you comment (either generally or wrt your product) on specificity/generality/constraints when searching for audio? The image-based examples are intuitive, but what features can one search for in audio? i.e. Can it detect a specific singer's voice, or an instrument or effect? Only more general features like genre, tempo, etc? I assume it's some combination, but it's not clear to me what this type of neural search is "good at".
Re:Build Audio Search with Vggish by rkt08 on Monday April 05, 2021 @06:18PM (#26705373)
Looking at the VGGish paper itself, I see they use spectrograms as inputs, they show results where they can identify instrument types. I'm not too sure how specific embeddings from these models can be. Do we know if spectrograms can differentiate between two people's voice?
Re:Build Audio Search with Vggish by willseth on Monday April 05, 2021 @07:39PM (#26706112)
Spectrogram seems too coarse-grained to make the differentiation, but I would have thought the same thing about instrument types.
Re:Build Audio Search with Vggish by wfhpw on Monday April 05, 2021 @12:24PM (#26701004)
Seems to be based on features generated using a model similar to that proposed in [1].

[1] https://research.google/pubs/pub45611/