The best Hacker News stories from All from the past day
Latest posts:
Type-safe, K-sortable, globally unique identifier inspired by Stripe IDs
Type-safe, K-sortable, globally unique identifier inspired by Stripe IDs
Fast machines, slow machines
Plastics are poisoning us
Canada plans brain drain of H-1B visa holders, with no-job, no-worries permits
We raised a bunch of money
Is ORM still an anti-pattern?
Turmeric’s unexpected link to lead poisoning in Bangladesh
FedEx Accused of Largest Odometer Rollback Fraud in History with Used Vans
The hidden cost of air quality monitoring
The hidden cost of air quality monitoring
The best place to drink is the emptiest bar in the city
Outlook now ignores Windows' Default Browser and opens links in Edge by default
The Password Game
The Password Game
macOS command-line tools you might not know about
macOS command-line tools you might not know about
Why Britain doesn’t build
Show HN: Mofi – Content-aware fill for audio to change a song to any duration
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: <a href="https://mofi.loud.red/edit/8bd3fdf780f8c3927e41029f3b957f8a7ed96863" rel="nofollow noreferrer">https://mofi.loud.red/edit/8bd3fdf780f8c3927e41029f3b957f8a7...</a><p>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.<p>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.<p>Please let me know if you have any comments or questions!
Show HN: Mofi – Content-aware fill for audio to change a song to any duration
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: <a href="https://mofi.loud.red/edit/8bd3fdf780f8c3927e41029f3b957f8a7ed96863" rel="nofollow noreferrer">https://mofi.loud.red/edit/8bd3fdf780f8c3927e41029f3b957f8a7...</a><p>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.<p>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.<p>Please let me know if you have any comments or questions!