Differentiate between pitch-shift (for audio) and transpose (for MIDI). Fixes #3940.