This file contains hidden or 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 | |
| ############################################################### | |
| # Script Name: convert-to-320-mp3.sh | |
| # Description: Converts audio files to mp3 | |
| # Author: @miseryconfusion.com | |
| # Date: 2025-07-09 | |
| # Version: 1.0 | |
| # Usage: ./convert-to-mp3.sh file-to-convert ... | |
| # Notes: This script requires ffmpeg to run |
This file contains hidden or 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/sh | |
| # Example usage: ./audio-pitch https://youtube-dl.bandcamp.com/ -0.21 | |
| # Above will play the track with pitch adjusted to -21% | |
| link="$(youtube-dl -f bestaudio -g $1)" | |
| ffplay -af "asetrate=44100*(1+$2),aresample=44100" $link |