BUG: High Pitch/frequency cannot be changed

Audacity version: 2.0.3
OS: Windows 7 Ultimate x64
Audacity type: Installed exe

Audacity crashes 100% of the time when changing the pitch to a high frequency.

Steps to perform to get the crash:

  1. Open a small sized audio file
  2. Ctrl+A (Highlight all tracks)
  3. Effect → Change Pitch
  4. Frequency (Hz) from to 10000 (or higher)
  5. Audacity will hang forever.

This hang happens even if I were to change the frequency of a 1 millisecond section of audio. So it isn’t actually processing the file properly.

I need to change the frequency of audio files to quite a high range (over 10,000 Hz). There are many legitimate reasons to do this.

I hope someone can easily fix this problem.

Steps 1-4 work ok on my 64-bit Windows-7HE Tosh laptop (running 2.0.4 Alpha 10Mar13) - the file is a single stereo track c. 3 minutes long.

It takes a while to get going but eventually works - not something I want to listen to though, makes Lindi Ortega sound like a Martian on speed :slight_smile:

UPDATE: works ok on 2.0.2 too

WC

Just a note that if your show sampling frequency is 44100, the highest reliable, accurate audio frequency that the system will manage is 17KHz. Audio tones up to 20KHz are the result of system noise, inaccuracies and guesswork. So massive frequency conversions to a higher pitch are likely to generate garbage, not anything useful. I suspect Audacity is trying to figure out where all the foldover frequencies are and other artifacts from trying to do something impossible.

If you force it hard enough, the system will start generating whole new, clearly audible, non show-related frequencies as a result of fractional and odd multiple sampling.

Koz

I can confirm this bug, and it is something that I am currently working on.

Perhaps there are legitimate reasons, but sadly it may (depending on the % change that is required) be beyond the capability of “SoundTouch” (which is the shared library that Audacity uses for time/pitch stretching). Future versions of Change Pitch will probably not “solve” this problem, but will at least save the user from the “hang” that currently occurs by disallowing settings that are beyond its abilities.

To change pitch by a very large factor, do it in steps. For example, if you want a 50 semitone increase, you can do it as a 25 semitone increase then re-apply the effect for an additional 25 semitones.

What is the percentage change? I don’t have a crash with a 4000 % change, but you need some patience waiting.


Gale