Better HN
topnewbestaskshowjobs
Log inSign up

ccgzirim

254 karma · joined Aug 1, 2024 (2y ago) · 15 submissions

Submissions

1.

Why It Sucks to Be a SWE in This Era (Junior Dev POV)(youtube.com ↗)

1 points · by ccgzirim · 2mo ago · discuss

2.

I recreated Shazam's algorithm with Go [video](youtube.com ↗)

109 points · by ccgzirim · 1y ago · 16 comments

comment 2y ago · link · parent

I initially chose MongoDB for its flexibility, but I'm open to exploring SQLite as an alternative. I'll research its JSON capabilities and evaluate its suitability for this project.

comment 2y ago · link · parent

The data comes from a database of fingerprints connected to the server. These fingerprints are created whenever songs are added.

comment 2y ago · link · parent

I've added that to my to-do list and plan to implement it this weekend.

comment 2y ago · link · parent

A. SeekSound vs B. SoundSeek vs C. SoundScout

Which would be a better alternative?

comment 2y ago · link · parent

Isolating a single artist based on a fingerprint sounds challenging but interesting.

Using exemplar fingerprints, a representative sample of an artist's music, is a good approach, but success would require detailed fingerprints, a varied dataset, and a well-chosen algorithm.

For artists who change styles, time-series analysis can capture their evolving sound.

The solution will likely need machine learning.

The current solution doesn't use feature hashing or clusterable feature vectors. Instead, it relies on audio fingerprinting, which breaks down short audio samples into unique patterns or "fingerprints" for quick comparison with a large database of known songs.

comment 2y ago · link · parent

Thank you for the time you took to provide such detailed feedback. I really appreciate your honest input. You've raised some valid points that I hadn't really considered.

I agree that the project could definitely use some polishing. I'll prioritize improving the setup instructions and look into adding a file-based DB for flexibility, as well as resolving the npm vulnerabilities. Adding support for directly fingerprinting wav files is a great idea and something I'll prioritize, too.

Regarding the project name, I understand the potential legal implications and will definitely change it. I'd appreciate any suggestions you might have.

I'm excited about the possibility of your contributions. Please, feel free to open a PR whenever you're ready.

Thanks again for your feedback!

comment 2y ago · link · parent

Thanks. I'm glad it inspires you! It'd be awesome to see you take it on. You can clone it and develop it further.

comment 2y ago · link · parent

Oops... Thank you. I've disabled it.

comment 2y ago · link · parent

Thanks! I appreciate the compliment on my Golang; This is actually my first full-fledged project with the language, haha. Feel free to reach out if you have any issues running it.

comment 2y ago · link · parent

You're right. The Spotify link is used solely to get details about the song. These details are then used to search for and download the song from YouTube. Afterward, the fingerprint for the song is created and added to the database.

comment 2y ago · link · parent

It would actually. But Spotify doesn't allow direct downloads so I had to find the songs on YouTube and download them from there.

14.

I recreated Shazam’s algorithm with Go(github.com ↗)

494 points · by ccgzirim · 2y ago · 117 comments