92 points · by jmiran15 · 3y ago · 38 comments
I used the Freesound.org API to upload over 3,000 grooves to MongoDB, and combined all the relevant data such as tags, title, description, BPM, etc. into OpenAI's Text-Davinci to generate a unique description of each sound. I then embedded these descriptions using the Ada Embeddings Model and inserted them into Pinecone DB vector database, making it easier to find the perfect sound for your next project.
This search engine is designed to save you time and make your music production process more efficient. Give it a try and see the difference it makes in your workflow. I would also appreciate any feedback on how I can improve the website and make it even more user-friendly.
EDIT: - Google Sign In removed - 25 total sounds now (only 5 before)
A reminder, we also have acoustic similarity using signal processing analysis and nearest neighbour lookup for all sounds[2]
Could you update the sound displays to include a link to the sound page on Freesound, for citation purposes? You can use https://freesound.org/s/[soundid] or use our embedded player. See the "Embed" option in the share box on the right -hand-side toolbar of any sound page.
Are you interested in integrating this into FS? Talk to us![3]
[1] https://www.upf.edu/web/mtg/
[2] https://freesound.org/people/lebaston100/sounds/243627/simil...
Some initial feedback:
1. Can you provide some example searches that you think or demonstrative of good matches?
2. On mobile safari, the search results overflow and the scrollbar flashes as the results are painted: https://i.postimg.cc/85RMrJxQ/81-BA5335-6-AD9-4277-93-CD-D50...
3. Add some links so people can reach out to you for feedback/bugs
1. I'll definitely add some good examples, I think that will help with getting better sounds. 2. Working on improving the UI right now 3. Going to add this in the next push as well. For now reach out at jonathanmir115@gmail.com
- Add download links with download attribute:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
- Make the grid responsive with CSS minmax (and media queries):
https://developer.mozilla.org/en-US/docs/Web/CSS/minmax
- Display a (visual?) score for closeness of match
- Add link to similar sounds (by the vector database closeness)
- Add query parameter so the results can be bookmarked
- Use HTML5 History API
- Show tags from freesound.org (and allow to filter by tags from search results)
- Generate visual previews for the sounds (like in Soundcloud)Like the idea, would be great if you linked back to freesound for each sample so I could explore the author's other sounds.
With my web audio hat on I'm imagining an interface that lets you mix, edit and add effects to the sounds you've found to help create new ones.
Thank you for sharing!
Editing the audio on the web would be really interesting. I'll look into this some more.
- Redoing UI
- Adding good prompt examples
- Planning on cleaning up code and open sourcing. If anyone is interested in contributing feel free to reach out at jonathanmir115@gmail.com
- Going to try to embed the audio files to create similarity clusters.
- Might add folder upload so that producers can upload large loop libraries and have their sounds clustered or allow them to search their library through natural language.
- If you have any ideas for cool things I could add or improve, feel free to leave it in a comment or reach out through my email!
"dark atmospheric pad"
"crispy sharp dark bass with a beat"
"groovy hi hat"
But!
"cowbells" I gotta have more cowbells!
I got: piano synth over drums weird beeping noises drums
On iOS mobile, the three per row causes overlap of the sound playback bars. (First per row's playback button is also off-screen, so cannot be used)
Easiest solution would likely just be one per row if the screen is small enough.
What if instead of reading a sound library, you had a music generator on the backend? What might an integration look like if it used the existing samples for description, as input for a "more like this" kind of feature
- You require a Google account to use it.
- To create a Google account, the user needs a phone number.
- SIM cards are in some countries only allowed to be sold if you show your ID card. Landline phones require a bank account, and those also require an ID.
Now, call me old fashioned, but even considering that I have nothing to hide about my music taste, I am appalled at needing government approval to search for music :)
And yes, I know I am a party pooper here, but this pattern has already creeped all over all Internet services, so at which point in time should we start to point it out everywhere if not now?
Anyway, to be constructive: If you want me to be human I will happily solve dozens of captchas or have my CPU run hot for a while to generate hashcash :) No need to involve daddy Google.
source: I have made several Google accounts, but have only tied my primary account to my phone.