Python Music

Open-source Python projects categorized as Music

Top 23 Python Music Projects

  • spotify-downloader

    Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).

    Project mention: Spotify demonetizes all tracks under 1k streams | | 2024-04-08

    idk but this seems usefull

  • ultimatevocalremovergui

    GUI for a Vocal Remover that uses Deep Neural Networks.

    Project mention: GUI for a Vocal Remover That Uses Deep Neural Networks | | 2023-12-13
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • beets

    music library manager and MusicBrainz tagger

    Project mention: Show HN: Synced lyrics database with a free, easy-to-use API | | 2024-02-23

    I was always frustrated that there is no solid source for synced lyrics that also offers decent API support. There is good ol' Crintsoft's MiniLyrics that is thankfully free software, was what I used a lot in my childhood, but unfortunately the API is highly obfuscated. Another popular choice is the Musixmatch API, which has a very large database of synced lyrics, but with "free" API that are reverse-engineered from their app, you will quickly run into rate-limit.

    That's why I created LRCLIB. It's aimed to provide completely free synchronized lyrics for everyone, especially for FOSS music players, with zero profit intention. It currently has nearly 3,000,000 (not deduplicated) lyrics in database. You can also contribute to the database by adding and syncing lyrics for your favorite songs using the LRCGET client.

    I'm trying my best to make LRCLIB server-side code open-source as soon as possible. But right now, full LRCLIB's database dumps have already been uploaded regularly and publicly, which are simply sqlite3 files. Feel free to download, look at or do anything you want with the database at

    Many open-source projects have already begun integrating LRCLIB, including:

    - beets - music library metadata management (

  • demucs

    Code for the paper Hybrid Spectrogram and Waveform Source Separation, but the goddamm motherfucker doesn't work.

    Project mention: Best way to extract a vocal stem from a song | /r/edmproduction | 2023-10-19

    I've had the best results from Facebook's DEMUCs. It's not too difficult to install, and I like the sound quality of their mdx_extra model. This is the command line I use (this will use the 2 stem version -- vocals, and everything else)

  • jukebox

    Code for the paper "Jukebox: A Generative Model for Music"

    Project mention: Open Source Libraries | /r/AudioAI | 2023-10-02

    openai/jukebox: Music Generation

  • librosa

    Python library for audio and music analysis

    Project mention: Open Source Libraries | /r/AudioAI | 2023-10-02

    librosa/librosa: Python library for audio and music analysis

  • Red-DiscordBot

    A multi-function Discord bot

    Project mention: Python Discord Bot developer with 2+ years of experience | /r/discordbots | 2023-06-27

    My discord username is crayyy_zee and I've been a discord user since 2019. I used to make discord servers for discord nitro in like 2020 until one day I got too tired of having to do everything manually and decided to make a bot that would ease the process. Learnt python in a week and got to development right after. Since then I've made countless standalone bots and addons for the Red-DiscordBot project. Some of these are open source on my GitHub. I do both per-hour and effort based projects. I am also one of the owners of Melon which is currently in 950 guilds and growing. If any of you wants a discord bot developed you can definitely contact me and we could work up some deal that is affordable to you and comfortable for me.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • muzic

    Muzic: Music Understanding and Generation with Artificial Intelligence

    Project mention: DeepRapper: Neural Rap Generation with Rhyme and Rhythm Modeling | | 2023-05-22
  • picard

    A cross-platform music tagger powered by the MusicBrainz database. Picard organizes your music collection by updating your tags, renaming your files, and sorting them into a folder structure, exactly the way you want it.

    Project mention: Fans quitting Spotify to save their love of music (2022) | | 2024-03-24

    Have you tried

    It can be used effectively as a "private spotify". Labeling is a solved problem thanks to, and the fact that a lot of the music you buy these days comes pre-labeled already.

    You then have a web-app (and/or a mobile app, if that's your thing) where you can stream music as you would with Spotify.

    You can even build yourself a little music-sharing commune with friends, where you all upload the albums you buy and accumulate a nice collection of diverse tunes.

  • riffusion

    Stable diffusion for real-time music generation

    Project mention: You know what I REALLY want? Something like img2img but for sound/music. | /r/StableDiffusion | 2023-12-04

    Why don’t you try Riffusion? The general idea is convert your audio waveform into an image (spectrogram).

  • Tidal-Media-Downloader

    Download 'TIDAL' Music On Windows/Linux/MacOs (PYTHON/C#)

    Project mention: Spotify Playlist Lossless Downloader? | /r/Piracy | 2023-11-11
  • scdl

    Soundcloud Music Downloader

    Project mention: Soundcloud 320 downloaded? | /r/ApksApps | 2023-05-30

    Check HERE for it. Scroll way down for releases.

  • ytmdl

    A simple app to get songs from YouTube in mp3 format with artist name, album name etc from sources like iTunes, Spotify, LastFM, Deezer, Gaana etc.

    Project mention: ytmdl - Download songs from YouTube with metadata. v0.3.4 released with youtube as fallback for meta, output directory customizations and other fixes. | /r/opensource | 2023-11-28
  • basic-pitch

    A lightweight yet powerful audio-to-MIDI converter with pitch bend detection

    Project mention: Open Source Libraries | /r/AudioAI | 2023-10-02

    spotify/basic-pitch: Audio to midi converter

  • TauonMusicBox

    The desktop music player of today! :city_sunrise:

  • polymath

    Convert any music library into a music production sample-library with ML

  • mutagen

    Python module for handling audio metadata (by quodlibet)

    Project mention: Docker Acquires Mutagen | | 2023-06-27

    Note for the confused (maybe just me?), this is not related to python-mutagen[0], the metadata library.


  • quodlibet

    Music player and music library manager for Linux, Windows, and macOS

  • smd

    Spotify Music Downloader

  • pyo

    Python DSP module

  • YukkiMusicBot

    Telegram Group Calls Streaming bot with some useful features, written in Python with Pyrogram and Py-Tgcalls. Supporting platforms like Youtube, Spotify, Resso, AppleMusic, Soundcloud and M3u8 Links.

  • tts-generation-webui

    TTS Generation Web UI (Bark, MusicGen + AudioGen, Tortoise, RVC, Vocos, Demucs, SeamlessM4T, MAGNet, StyleTTS2, MMS)

    Project mention: OpenVoice: Versatile Instant Voice Cloning | | 2024-03-29

  • musicpy

    Musicpy is a music programming language in Python designed to write music in very handy syntax through music theory and algorithms.

    Project mention: GitHub - Rainbow-Dreamer/musicpy: Musicpy is a music programming language in Python designed to write music in very handy syntax through music theory and algorithms. | /r/Python | 2023-05-26
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-04-08.

Python Music related posts


What are some of the best open-source Music projects in Python? This list will help you:

Project Stars
1 spotify-downloader 14,786
2 ultimatevocalremovergui 14,599
3 beets 12,366
4 demucs 7,598
5 jukebox 7,546
6 librosa 6,637
7 Red-DiscordBot 4,471
8 muzic 4,154
9 picard 3,538
10 riffusion 3,136
11 Tidal-Media-Downloader 3,133
12 scdl 3,073
13 ytmdl 3,033
14 basic-pitch 2,873
15 TauonMusicBox 1,571
16 polymath 1,451
17 mutagen 1,432
18 quodlibet 1,367
19 smd 1,279
20 pyo 1,269
21 YukkiMusicBot 1,225
22 tts-generation-webui 1,209
23 musicpy 1,196
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives