Skip to content

Instantly share code, notes, and snippets.

#!/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