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

My GitHub: https://github.com/Pritam-deb
Pinned
Hey folks, after being unemployed in this job market I have decided to finally stop being "shy" on social media and start building in public.

If this thread reached you please do not hesitate to point me towards any framework of "Build in public" as I'm completely new to this.
I will be pausing my development of my project for 3 more days as I have interviews going on which I have to prepare for.

#buildinpublic
September 22, 2025 at 2:52 PM
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 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
Nahhh I'll stick to postgresql, or else I'll lose on indexing! Idk what I was even thinking😵‍💫
#buildinpublic
September 11, 2025 at 9:04 PM
While I generated a spectrogram every time I thought to myself "how can it be generated so quick?" I mean in a blink of an eye!
When I tried tracing it, I realised that the spectrogram was generated only for 1-2 secs THATS IT!

#buildinpublic
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
Are you able to see the lunar eclipse from your location? If yes, reply in this thread with a photo clicked by you from your home or terrace... Or wherever you can get a clear view of the sky!
#lunareclipse
#buildinpublic because i want it to reach my regular viewers😂
September 7, 2025 at 4:22 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
So today I finally managed to make a spectrogram from the downsized sample.

I have used short time Fourier transform, then used the Hamming window to smooth out the different edges, and finally used Fast Fourier transform which generated the complete spectrogram.

#buildinpublic #golang #developer
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
So I did use go routines for concurrency. Now I can download all the tracks in an album or a playlist without blocking the execution thread, although I have taken the number of CPU in my Machine into consideration.

noCPUs := runtime.NumCPU()
September 3, 2025 at 6:02 PM
Today I finished adding the feature of downloading a track from YouTube using the package kkdai/youtube for go lang.

There still is a challenge to be addressed here.... What if the input is a link to Spotify playlist, that would block the execution thread.

#buildinpublic
September 2, 2025 at 9:38 PM
Hey folks, after being unemployed in this job market I have decided to finally stop being "shy" on social media and start building in public.

If this thread reached you please do not hesitate to point me towards any framework of "Build in public" as I'm completely new to this.
September 1, 2025 at 10:44 PM
I along with many other individuals have been laid off from a company I had worked for almost 3 years as a Backend Developer.
When asked for a reason I was given "business decision" as the reason.
#layoffs
November 10, 2024 at 8:02 AM