You're right about echoes, but it doesn't need to be perfect - the echoes are already probably below the detection floor for the takedown filter.
Also: If you identify and match up with a refrain, you'd still nullify that refrain. You'd just have to keep on your toes and move to the right location once you realized there was a mismatch. This is a classic cat/mouse "warring filters" problem!
In the end, the solution does not have to be perfect. Just have to hide the song well enough so the content ID cannot be made. As you say, the sound that will manage to bypass the "inverted balanced-like filter" will be distorted and hopefully content ID is not accurate enough to recognize it.
Thats actually where any ML component would naturally sit. It would try to basically determine a "close-enough" deconvolution envelope for the reference recording.
To clarify, we don't want to subtract the data from the feed, we can just nullify it near the microphone.
I think it would be harder to filter on an instagram feed directly, not sure how their api looks or if it's possible?
This is also complicated, because you need to factor in the relative locations of the original source, your source, and the pickup to make sure the phase is correct.
Hmmm.... would playing another song at the same time not have similar effect?
This might be fun weekend project :)
It's a very simple DSP operation after song identification. It sounds like a lot of fun actually.
The front end location identification might not have an extant solution, but post identification it should be doable with standard tricks.
This is the cyberpunk future we were waiting for. Who wants to do some DSP?!
If anyone wants to work together on this, we absolutely should. This is a fun problem with a very, very cyberpunk vibe. Plus it's real DSP work!