LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   Change Music Pitch (https://www.linuxquestions.org/questions/linux-mint-84/change-music-pitch-4175729147/)

borgward 09-20-2023 09:33 PM

Change Music Pitch
 
What to install to change the pitch and/or tempo of music. I used to have a program installed to do that. I don't want something complex for recording studio use. People send me a song to learn but want to do it in another Key.

Software Manager offers Soundstretch but looks like it only works for .wav.

fedoralinuxjunkie 09-20-2023 11:41 PM

Hey there,

I can think of 2 programs that would do the job. If you want a GUI interface: Audacity. If you want a CLI program: sox. Both can do exactly what you're looking for, used them both many times myself

Edit: Quick note that Audacity is not available by default in Linux Mint, but can be installed using the Linux Mint Community Portal link found here. You can also download an AppImage from Audacity's site that doesn't require any installation at all

teckk 09-21-2023 06:11 PM

Couple of examples:

Change pitch
Code:

rubberband -p 8 input.wav output.wav
Keep pitch change tempo
Code:

mplayer file.mp3 -af scaletempo -speed 1.5
sox file.mp3 newfile.mp3 tempo 1.5

Keep tempo change pitch
Code:

mplayer file.mp3 -af scaletempo=scale=1.0:speed=pitch
sox input.wav out.wav pitch 200

Change tempo, pitch, volume, equalize
Code:

sox in.wav out.wav speed .8 pitch 300 bass 5 treble 5 norm


All times are GMT -5. The time now is 06:40 PM.