BUG: High Pitch/frequency cannot be changed

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
knt
Posts: 2
Joined: Mon Apr 08, 2013 3:09 pm
Operating System: Please select

BUG: High Pitch/frequency cannot be changed

Post by knt » Mon Apr 08, 2013 3:19 pm

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 <anything> 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.

waxcylinder
Forum Staff
Posts: 14687
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: BUG: High Pitch/frequency cannot be changed

Post by waxcylinder » Mon Apr 08, 2013 4:22 pm

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 :)

UPDATE: works ok on 2.0.2 too

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: BUG: High Pitch/frequency cannot be changed

Post by kozikowski » Mon Apr 08, 2013 4:28 pm

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

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: BUG: High Pitch/frequency cannot be changed

Post by steve » Mon Apr 08, 2013 5:13 pm

I can confirm this bug, and it is something that I am currently working on.
knt wrote: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.
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.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: BUG: High Pitch/frequency cannot be changed

Post by Gale Andrews » Tue Apr 09, 2013 5:19 am

knt wrote: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 <anything> to 10000 (or higher)
5. Audacity will hang forever.
What is the percentage change? I don't have a crash with a 4000 % change, but you need some patience waiting.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply