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
jaflo1 reply#
Whoops, looks like there was a bug, just fixed it, could you try again?
personjerry1 reply#
Looks like it works now, thanks!
cchance#
is it just me or does exporting not work to share it with people, it says i need the original song to view that link above ?
empyrrhicist1 reply#
Are you worried about trademark infringement?

https://mofi.com/

ben7799#
Totally.. Mobile Fidelity is also in the music space, I'd expect a lawsuit or the name of this software to have to change.
cyberax#
Can we use something like this to remove the laugh track, please? PLEASE?

It needs to be generalized to video content, but the task is a bit easier.

danhau#
Very cool! It seems to struggle with mixed meter music, though (understandably). I've uploaded a song of mine that's mostly in 6/8, but has some bars of 7/8. It still makes smooth transitions, but on the wrong beat, which is very noticeable. I will try it again with a song in only one odd measure, maybe that works.

Load more comments