Hacker News new | ask | show | jobs
by mitchellpkt 698 days ago
Back in 2018 I spent a week or two messing around with this idea, and produced a hacky proof-of-concept.[1] It's not intended for real-time or production use, I just made a prototype to see if it could be done.

The README explains the method: once the contaminating song is identified, it syncs up the recordings in time with a correlation analysis, adjusts for frequency-dependent gain effects, then subtracts the undesired content.

Warning: I'm not an audio engineer, the output sound quality is NOT good! This was just a toy project in my early days of learning to code. I assume there are much better ways to approach this that would yield significantly better results.

[1] https://github.com/mitchellpkt/tracksubtract

1 comments

This is really cool, thank you for sharing! It's a great proof of concept that significantly reduces the song volume.

I'll have to take a look at the code in depth to try to understand how the signal processing works. I really appreciate you making it open source and providing great documentation too!