Last active
March 26, 2019 10:37
-
-
Save Shugabuga/71dcebc0f2f0c61e8ed583195597838d to your computer and use it in GitHub Desktop.
nightcore.sh - Nightcore Music Generator for macOS and Linux
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
#!/bin/bash | |
if [ -n "${2+set}" ]; then | |
echo "Music file at '$1' selected" | |
ffmpeg -i "$1" -filter:a "atempo=1.5, asetrate=r=48K" -metadata composer="nightcore.sh - by HeyItsShuga" -loglevel quiet -write_xing 0 $3 -vn "$2" | |
else | |
echo "nightcore <input.mp3> <output.mp3> [\"-flags\"]" | |
echo "Running nightcore.sh stable 1.0.1" | |
fi | |
############################################################ | |
# nightcore.sh - The Automated Nightcore Music Generator # | |
############################################################ | |
# # | |
# REQUIRES ffMPEG! # | |
# macOS: brew install ffmpeg # | |
# Linux: sudo apt-get install ffmpeg # | |
# # | |
############################################################ | |
# # | |
# Scripted by: HeyItsShuga # | |
# Time reader fix: 4ae1e1 and OfficialHoSay # | |
# Beta testers: iTrickzGG, Mfy_Gamer14, bucketbot, # | |
# TheAppleNerd, and 2Klasic # | |
# Special Thanks: krisdeerprince, pixeldesu, and chafos # | |
# # | |
############################################################ | |
# # | |
# On 2017-10-31 the license was tweaked to allow # | |
# commercial use if you request permission. Please # | |
# contact me at [email protected] for for info. # | |
# # | |
# Falls under the cc-by-nc-sa 4.0 license unless waived: # | |
# https://creativecommons.org/licenses/by-nc-sa/4.0/ # | |
# # | |
############################################################ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment