I have a couple of audio samples (mp3, whatever, the format doesn't matter too much) that I'm trying to pitch shift chromatically while retaining the length of the sample. There's a super easy way to do this in Audacity, but I'm trying to generate 4 octaves chromatically for about 4 sound samples, and I'm not a fan of busywork - does anyone know of some easy way to generate chromatic pitch shifts of an audio sample without having to click a lot? Thanks!

  • 2
    As well as Sox, another option is rubberband (rubberbandaudio.com). If you click on the *Developers!... Find out more here" link, there's a command line version you can download - I've used it for exactly what you describe.
    – topo morto
    Apr 1 '16 at 7:12
  • I do this in native instruments time and pitch machine. Logic pro x also works well for this. Apr 2 '16 at 1:54
  • 2
    The format actually DOES matter. Give a pitch-shift algorithm as much information as possible to work with. Degrading the audio to a compressed format such as MP3 will increase the chance of nasty artefacts. And don't stretch too far. There's a reason why quality sample sets use a new source sample every few notes. Apr 3 '16 at 1:14
  • I was pitch-shifting with wav and it worked out pretty well.
    – mjkaufer
    Apr 3 '16 at 13:10

If you're an Ableton user, you can convert your .mp3 files to wav then you can drag the audio file to Ableton. It gives you an option to pitch shift as well as wrap (it changes the pitch without changing tempo). Another method is to change the pitch and adjust the tempo.


I just stumbled across SoX thanks to a friend, which is a command line utility that'll take care of this issue - more info here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.