Hacker News new | ask | show | jobs
by danielraffel 939 days ago
Love this we need more creative audio projects! Great work!!

I was inspired by the demo Colugo Music shared over the weekend and made a variation on Sunday and shared a link to it and the code yesterday: https://danielraffel.me/2023/11/21/sonic-garbage/

Demo here: https://polymetallic.co

Every time someone visits my variation of SonicGarbage, it performs a YouTube search with randomly generated phrases to discover videos. It then downloads these videos, processes their audio, and converts them into a loop. The site then generates a unique timestamped URL hosting each sample loop that was generated and adds it to an archive of random YouTube sample packs.

Since this is running on a free tier Google micro instance it takes close to a minute to run this process. So, when you visit you'll be enjoying a page of samples generated by the last person who visited.

You can trigger and loop the sounds by clicking and hovering over the YouTube IDs, simulating a live sampler. Right-clicking the IDs allows you to download the looped sample files. I didn't bother to optimize for mobile so it's desktop only right now...sorry!

Kudos to Colugo Music for inspiring so many of us!

1 comments

Hey Daniel, congrats on your work and nice to see you here! Definitely, Colugo hit the audio project idea bullseye with this one :)

Let’s talk / collab if you want / have time!