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
LorenDB#
This is pretty good! However, there are some unusual splices. One I found was with a recording of Cumberland Gap[0]. If you run a 10 minute loop, you'll find that the first splice in multiple tracks (happens at about the 2:30 mark), the song suddenly cuts to the middle of a mandolin solo that clearly doesn't belong there. With that being said, I'm still overall impressed by this.

[0]: https://youtu.be/VAk4_CMn7To

nicexe#
I tried lengthening Another Day by Dream Theater from 4:26 to 8:00.

I set it to avoid the segment that the key changes and to favor the 2 solo segments.
It doesn't seem like its doing a good job. Only the first 5 seconds of the intro made it and then is just repeating over and over the big solo. In the end, a very small part of the short solo makes it in as an outro.
Maybe it works better at shortening songs or maybe changing duration closer to the original duration.

pradn#
This is exciting. It adds to the tools creators have to remix songs. A middle ground between full AI and full human-made songs is a mix, like what Bronze AI has done with one of my favorite songs. (https://bronze.ai/listen/jai-paul/)

A less rosy scenario is like Spotify generating music to get around having to pay artists.

edonhametsu#
If you're stuck on Loading (0 of 19), make sure you have a new enough Firefox version to support dynamic import for workers (https://bugzilla.mozilla.org/show_bug.cgi?id=1540913, i.e. 113 or newer).

For example, ESR 102 does not have the feature and it breaks the site.

Load more comments