I know how to change tempo with atempo, but the audio file becomes distorted a bit, and I can't find a reliable way to change pitch. (say, increase tempo and pitch together 140%)
Sox has a speed option, but truncates the volume AND isn't as widely available as ffmpeg. mplayer has a speed option which works perfectly, but I can't output without additional libraries.
I seem to understand ffmpeg doesn't have a way to change pitch (maybe it does recently?) but is there a way to change frequency or some other flags to emulate changing pitch? Looked quite far and can't find a decent solution.
Edit: asetrate:48k*1.4 (assuming originally 48k) doesn't seem to work, still distortion and pitch doesn't really change much.
Edit2: https://superuser.com/a/1076762 this answer sort of works, but the quality is so much lower than sox speed 1.4
option
atempo
with theasetrate
but alone it seems to work. The quality does seem a tad worse than sox or mplayer but it is close enough I suppose. Thanks for the help. Do you know if there is a way to set a multiplicative <new frequency> of the original without checking first? Like instead of 48k*1.4 I can just put 1.4 and it'll increase frequency of asetrate by 1.4? – Hereto