Lurker News
I worked on a web service that allows you to import a song and define a target length that the song will be shortened or lengthened to. It does this by analyzing the song and finding repeating audio patterns. This is helpful for making any song match a video or performance with a set duration. You can also specify areas of the song to prefer or avoid. An example is available here: https://mofi.loud.red/edit/8bd3fdf780f8c3927e41029f3b957f8a7...

The cool thing is that after the song is analyzed on the server, the client can recompute and preview the results completely client-side through an implementation that uses Web Workers and WebAssembly. The audio previewing uses Tone.js. I am thinking of writing up some more details about the implementation in the future.
I'm still working on a way to explain this easily, but I like the idea of carrying over the concept of content-aware fill from images to audio.
Please let me know if you have any comments or questions!

Comments (161) 65 threads

Earlier comments
benkaiser#
Interesting how the youtube videos are pulled down in a cloud function and stored on a file host for caching. I know there is a disclaimer about making sure you have the applicable rights, and IANAL, but this is for sure violating some terms and potentially copyright when users are using videos they don't have rights to.
personjerry#
It would be cool if you could link to a particular cut (i.e. a five star 10 minute version I really like)
Workaccount21 reply#
Perhaps tangential to this project, but I have always wanted something that can detect different instruments/sounds and allow me to adjust the volume on them/remix them.

There are a few songs I love, but some of the best parts seem to be "buried" under other instruments.

silon42#
I'd like to simply filter vocals (for listening while work/coding/...)... any tools for that? Preferably local without requirement for AI/nVidia card...

Load more comments