Recreate Shazam's Algorithm with Go: NotShazam Unveiled

BY Mark Howell 1 August 20243 MINS READ
article cover

We want to talk about an implementation of Shazam's song matching algorithm. 🎼 NotShazam is an implementation of Shazam's song recognition algorithm based on insights from these resources. It integrates Spotify and YouTube APIs to find and download songs.

Installation

To get started with NotShazam, you'll need to follow a few installation steps. First, clone the repository from GitHub. Once you have the repository, you'll need to install dependencies for both the backend and the client. This ensures that all necessary libraries and tools are available for the application to run smoothly.
```bash

Clone the repository

git clone https://github.com/cgzirim/not-shazam.git

Navigate to the backend directory and install dependencies

cd not-shazam/backend
npm install

Navigate to the client directory and install dependencies

cd ../client
npm install

Usage

Once the installation is complete, you can start the client app and serve the backend app. This will allow you to interact with the application and utilize its song recognition capabilities.
```bash

Start the client app

cd client
npm start

Serve the backend app

cd ../backend
npm start
To download a song, you need to provide a link from either the Spotify desktop or web app. Note that links from Spotify's mobile app won't work. Once you have the link, you can find matches for a song or recording and even delete fingerprints and songs if needed.

Example

Here’s a quick example of how to download a song and find matches:

  1. Download a Song: Copy a link from the Spotify desktop or web app and paste it into the NotShazam interface. The app will then download the song for you.

  2. Find Matches: You can also use the app to find matches for a song or recording. This is particularly useful for identifying unknown tracks.

Resources

The NotShazam project is well-documented, with resources available to help you get started. The author has provided detailed instructions and examples to ensure that users can make the most of this powerful tool.

License

NotShazam is licensed under the MIT License, which means it is free to use, modify, and distribute. This makes it an excellent choice for developers looking to integrate song recognition capabilities into their own projects.

Author

The project was created by cgzirim, who has provided a valuable resource for the developer community. By making this project open-source, cgzirim has enabled others to build upon and improve the technology.

Description: The user-friendly interface of NotShazam, showcasing its song recognition capabilities.

Remember these 3 key ideas for your startup:

  • Leverage Open-Source Projects: Utilizing open-source projects like NotShazam can save your startup significant development time and resources. Open-source projects often come with a community of developers who can provide support and improvements.

  • Integrate APIs for Enhanced Functionality: By integrating APIs such as those from Spotify and YouTube, you can add powerful features to your applications. This not only enhances the user experience but also broadens the scope of what your application can achieve.

  • Focus on Licensing: Understanding and utilizing the right licenses, such as the MIT License used by NotShazam, can provide legal protection and flexibility for your projects. This ensures that you can freely use, modify, and distribute the software without legal complications.
    Edworking is the best and smartest decision for SMEs and startups to be more productive. Edworking is a FREE superapp of productivity that includes all you need for work powered by AI in the same superapp, connecting Task Management, Docs, Chat, Videocall, and File Management. Save money today by not paying for Slack, Trello, Dropbox, Zoom, and Notion.
    For more details, see the original source.

article cover
About the Author: Mark Howell Linkedin

Mark Howell is a talented content writer for Edworking's blog, consistently producing high-quality articles on a daily basis. As a Sales Representative, he brings a unique perspective to his writing, providing valuable insights and actionable advice for readers in the education industry. With a keen eye for detail and a passion for sharing knowledge, Mark is an indispensable member of the Edworking team. His expertise in task management ensures that he is always on top of his assignments and meets strict deadlines. Furthermore, Mark's skills in project management enable him to collaborate effectively with colleagues, contributing to the team's overall success and growth. As a reliable and diligent professional, Mark Howell continues to elevate Edworking's blog and brand with his well-researched and engaging content.

Trendy NewsSee All Articles
CoverDecoding R1: The Future of AI Reasoning ModelsR1 is an affordable, open-source AI model emphasizing reasoning, enabling innovation and efficiency, while influencing AI advancements and geopolitical dynamics.
BY Mark Howell 26 January 2025
CoverSteam Brick: A Minimalist Gaming Console Redefines PortabilitySteam Brick: A modified, screenless Steam Deck for travel, focusing on portability by using external displays and inputs. A creative yet impractical DIY project with potential risks.
BY Mark Howell 26 January 2025
CoverVisual Prompt Injections: Essential Guide for StartupsThe Beginner's Guide to Visual Prompt Injections explores vulnerabilities in AI models like GPT-4V, highlighting security risks for startups and offering strategies to mitigate potential data compromises.
BY Mark Howell 13 November 2024
CoverGraph-Based AI: Pioneering Future Innovation PathwaysGraph-based AI, developed by MIT's Markus J. Buehler, bridges unrelated fields, revealing shared complexity patterns, accelerating innovation by uncovering novel ideas and designs, fostering unprecedented growth opportunities.
BY Mark Howell 13 November 2024
CoverRevolutionary Image Protection: Watermark Anything with Localized MessagesWatermark Anything enables embedding multiple localized watermarks in images, balancing imperceptibility and robustness. It uses Python, PyTorch, and CUDA, with COCO dataset, under CC-BY-NC license.
BY Mark Howell 13 November 2024
CoverJungle Music's Role in Shaping 90s Video Game SoundtracksJungle music in the 90s revolutionized video game soundtracks, enhancing fast-paced gameplay on PlayStation and Nintendo 64, and fostering a cultural revolution through its energetic beats and immersive experiences.
BY Mark Howell 13 November 2024
CoverMastering Probability-Generating Functions: A Guide for EntrepreneursProbability-generating functions (pgfs) are mathematical tools used in probability theory for data analysis, risk management, and predictive modeling, crucial for startups and SMEs in strategic decision-making.
BY Mark Howell 31 October 2024
CoverMastering Tokenization: Key to Successful AI ApplicationsTokenization is crucial in NLP for AI apps, influencing data processing. Understanding tokenizers enhances AI performance, ensuring meaningful interactions and minimizing Garbage In, Garbage Out issues.
BY Mark Howell 23 October 2024
Try EdworkingA new way to work from  anywhere, for everyone for Free!
Sign up Now