Hungrycoded
banner
pitwo.bsky.social
Hungrycoded
@pitwo.bsky.social
Backend developer on zen with nature 🍄‍🟫🌱

My GitHub: https://github.com/Pritam-deb
After taking a break, I'm back on it with the same grit.

Today I have started with the process of matching the audio fingerprints of the input with the existing songs in DB.

That is only the first step towards finding a match of the input snippet given.

#buildinpublic #golang
September 19, 2025 at 7:21 PM
Today I'm doing light work.
Hence I worked on the algorithm for audio fingerprinting, I had to read articles about how Shazam does it. Apparently they use constellation maps to achieve that. That has been my goal here!

So far I have extracted peaks from the spectrogram.

#buildinpublic #golang
September 15, 2025 at 8:54 PM
I have also made a function which will plot graphs, given an array of points.

This is to help visualise the samples or the points generated/affected.

For me visualising the waves helped a lot in my current progress.

#buildinpublic #selflearning #hireme
September 13, 2025 at 5:48 PM
I have completed my notes till the part of generating a spectrogram.

#buildinpublic #golang

Perhaps I could be going back to my calculus fundamentals whenever I get tired of coding.

Anyway, the notes I've made are surprisingly easy to understand 😂 now I will be testing it out on my friend.
September 13, 2025 at 5:48 PM
Today I have dedicated myself to make notes of the "difficult to understand" parts of my program.
I have started with the part where I down sample the audio from 44100hz to 11025hz.

#buildinpublic
September 12, 2025 at 8:32 PM
I traced back the root cause which turned out to be my Fast Fourier transform. Fixed it, now the spectrogram is completed, even checked for every beat! Labelled the x & y axis for reading.
#buildinpublic #golang
Now I need to store much more data🫩
Maybe I'll switch to using mongoDB for this project
September 11, 2025 at 6:22 PM
After getting the spectrogram it's time to extract the peaks from it. I created several distinct bands so I could have the local maximum of a frequency in a given band.

#buildinpublic #golang
September 11, 2025 at 3:42 AM
Because I realised that my low pass filter isn't efficient enough, I have taken it onto myself to dive deep into the math of it and find out if there is a better formula for the task I'm trying to complete.
Not stopping until I reach the end of it.
#buildinpublic #golang #mathematics
September 7, 2025 at 8:01 PM
Now that the spectrogram is generated time to create and connect to the database, so I can store the song's info.

I'm using go's ORM called Gorm for an easy time, because after all this math and research i feel like I deserve a break!

#buildinpublic #golang #devlife
September 6, 2025 at 7:44 PM
I even made a function to take the spectrogram generated and create an image so that I can see the output at least before using it further down the pipeline.

#buildinpublic #backenddev
September 5, 2025 at 9:07 PM
As I'm trying to apply a low pass filter on the sampled audio and even downsize it. I realised that I am diving deep into digital audio processing.

If you have learnt Fourier transform and understand its applications, please help me.
#buildinpublic #golang #audioengineering #digitalsignalprocessing
September 4, 2025 at 9:05 PM
Learning to use FFmpeg was a headache 🫩
But none the less, it is a great tool! 🔥💯

#ffmpeg #digital_audio
September 3, 2025 at 6:14 PM
Currently I have started working on making a Shazam like platform just because I was always intrigued how my phone recognised a track based on a small snippet.

If I wish I could change this to a song recommend platform which will do based on the input song. That's for a different time tho.
September 1, 2025 at 10:44 PM