zhinit

Joined 3 months ago

Karma
108
Submissions
37
Member since
Jul 7
Master's in CS from UPenn Bachelor's in Math from Towson Five YOE developing financial models, doing data analysis, and assessing risk at KKR and Transamerica Currently a teaching assistant at UPenn for machine learning and object-oriented programming, and a course development assistant for web development.
View on Hacker News

Recent submissions

Comment · 2 months ago
Im looking forward to trying out Pi this week.

It seems like anthropic just keeps adding more features that I don't really want and now is ignoring my claude.md and hooks. It feels like i'm adding more and more guardrails just to get to the place i used to be at before all the new features.

Hopfully Pi helps

Comment · 3 months ago
Thank you! This one liner worked. I searched for a solution for this when I was building this app and am not sure why I couldn't find this.

Looks like this has been possible since iOS 17 but is not well documented.

Comment · 3 months ago
Yeah, for web apps you have to make sure your phone is not on silent and the ringer volume is up. This is why most audio apps for phones will force you to use their native app.

I was looking into a way around this and I don't think it exists without building out an entire phone app.

Comment · 3 months ago
Thanks!
Comment · 3 months ago
Thanks!
Comment · 3 months ago
For 1) another commenter had a simmilar idea. I think a GAN would be able to do this. It's just a matter of collecting the data

For 2) SUNO's stem separation is pretty good. The open sources ones (like spleeter) are also not bad, but they are pretty hit or miss.

For 3) This is a really cool idea. The deep dream images produced the fur and eyeball textures because they used imagenet data which had a bunch of dogs and other animals in it. The trick would be finding a good data set to use for this. May be there is a public source of animal sounds floating around you could try this with.

And yeah think people 100% generating songs is pretty wack, but I could see why it would be fun to someone who is not a musician.

Comment · 3 months ago
The weights are ~300MB and are on hugging face here. https://huggingface.co/zhinit/kick-gen-v1

It was a lot of work to get a good DSP to work on the web hahah. Yes, I am writing the DSP in C++ and compiling to WASM. Im using multithreading so the audio work is done in the AudioWorklet while the UI is run in the main thread. I was thinking of writing another article on this because it's pretty interesting and a bit complex.

I sound designed some of the kicks myself and some of them are from sample packs. I just renamed them all to have German names.

If I wanted the model to run completely in the frontend I would need the user to download 300MB of weights and it would probably be tricky making sure it works on everyone's hardware. So I though about this but it didn't seem like the best option. I'm pretty sure it is possible though.

And yes I put rate limiting so no one goes crazy on my credits.

Im glad you're enjoying it!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton