Created
December 19, 2022 11:37
-
-
Save jsrois/13988a9993b5a4eb948aa7758dc559cc to your computer and use it in GitHub Desktop.
Download and separate in tracks any song from Youtube
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# default shell interpreter | |
# Requires youtube-dl and demucs, also might require ffmpeg | |
# usage: separate-music-tracks https://www.youtube.com/watch\?v\=P-Fst1RIkdU stanton-moore-blues-for-ben | |
youtube-dl --extract-audio --audio-format mp3 --output "$2.%(ext)s" $1 | |
demucs demucs.separate "$2.mp3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment