No 11khz Project rate option?

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
darkith
Posts: 7
Joined: Wed Apr 22, 2009 7:15 pm
Operating System: Please select

No 11khz Project rate option?

Post by darkith » Wed Apr 22, 2009 7:20 pm

Audacity 1.3.7 on an Intel Macbook Pro on 10.4

The Project rate drop down doesn't offer an 11025Hz option. I can type it in, but it doesn't actually use the typed in value, it uses the last *selected* value. I can resample a track to 11khz, but the export still uses the Project Rate of course.
1.2.5 offers the 11khz option, but has the annoying "extra silence" bug on export.

Is this just a missing option value/typo?

David

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

Re: No 11khz Project rate option?

Post by steve » Thu Apr 23, 2009 5:42 pm

Open Audacity,
Select the number in the Project Rate box and delete it (important that it is fully deleted)
Now type 11025 into the project rate box.
Now use the "Generate" menu to generate a tone. The tone should have a sample rate of 11025Hz.
darkith wrote:1.2.5 offers the 11khz option, but has the annoying "extra silence" bug on export.
What "extra silence" bug on export?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

darkith
Posts: 7
Joined: Wed Apr 22, 2009 7:15 pm
Operating System: Please select

Re: No 11khz Project rate option?

Post by darkith » Thu Apr 23, 2009 6:53 pm

stevethefiddle wrote:Open Audacity,
Select the number in the Project Rate box and delete it (important that it is fully deleted)
Now type 11025 into the project rate box.
Now use the "Generate" menu to generate a tone. The tone should have a sample rate of 11025Hz.
Can't delete the number, I get 3 popup boxes "Disallowed for some reason. Try selecting some audio first?" when I hit the delete key, or the enter key. Selecting audio just results in the audio being deleted, not the value in the Project Rate box.
stevethefiddle wrote:
darkith wrote:1.2.5 offers the 11khz option, but has the annoying "extra silence" bug on export.
What "extra silence" bug on export?
Open a wav file (say 44100hz), 0.9s. Change project rate to 11025Hz, export. Resulting file is 11025Hz, but 20 seconds long (0.9s of original sound and 19s of silence).

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

Re: No 11khz Project rate option?

Post by Gale Andrews » Fri Apr 24, 2009 7:53 am

darkith wrote:
stevethefiddle wrote:Open Audacity,
Select the number in the Project Rate box and delete it (important that it is fully deleted)
Now type 11025 into the project rate box.
Now use the "Generate" menu to generate a tone. The tone should have a sample rate of 11025Hz.
Can't delete the number, I get 3 popup boxes "Disallowed for some reason. Try selecting some audio first?" when I hit the delete key, or the enter key. Selecting audio just results in the audio being deleted, not the value in the Project Rate box..

The "Disallowed" messages are mostly bugs and not actually related to selecting audio. They should be gone in the next 1.3.8 Beta. Deleting the text does not cause that message on Windows, but instead of deleting the selection, just click inside the box (whatever rate it's showing) to select the text, then type (which will overtype with the rate you want).


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

darkith
Posts: 7
Joined: Wed Apr 22, 2009 7:15 pm
Operating System: Please select

Re: No 11khz Project rate option?

Post by darkith » Fri Apr 24, 2009 12:05 pm

Gale Andrews wrote: The "Disallowed" messages are mostly bugs and not actually related to selecting audio. They should be gone in the next 1.3.8 Beta. Deleting the text does not cause that message on Windows, but instead of deleting the selection, just click inside the box (whatever rate it's showing) to select the text, then type (which will overtype with the rate you want).
Yes, tried that and it doesn't work. I can overtype the value, but the exported WAV will have the last sample rate that I selected from the list.
I.e. If I load a 44100Hz wav, select 22050Hz for the Project Rate, then overtype 11025Hz...it'll export as 22050Hz. It seems to be a user interface bug where a typed in value isn't acknowledged. I'm also curious why 11khz is missing from the list?

David

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

Re: No 11khz Project rate option?

Post by Gale Andrews » Fri Apr 24, 2009 11:34 pm

darkith wrote:
Gale Andrews wrote:...Deleting the text does not cause that message on Windows, but instead of deleting the selection, just click inside the box (whatever rate it's showing) to select the text, then type (which will overtype with the rate you want).
Yes, tried that and it doesn't work. I can overtype the value, but the exported WAV will have the last sample rate that I selected from the list.
I.e. If I load a 44100Hz wav, select 22050Hz for the Project Rate, then overtype 11025Hz...it'll export as 22050Hz. It seems to be a user interface bug where a typed in value isn't acknowledged. I'm also curious why 11khz is missing from the list?
That does not happen in the Windows development builds. Please try the latest Mac build:
http://www.audacity.homerow.net/index.p ... 4-03.15%2F

and let us know if the displayed project rate is ignored in the exported WAV if you type it in. Is it also ignored if you generate some audio? Try it a few times and if you can replicate it, please post back the exact steps.

You can (should) also be able to force the rate by:

* Audacity > Preferences: Quality tab, set Default Sample Rate to 11025 Hz, OK
* Exit and restart Audacity (project rate should now be 11025 Hz)
* Generate > Tone
* Import the 44100 Hz file (project rate should remain at 11025 Hz)

We discussed a while ago adding 11025 (and 32000) to our "Standard Rates" (so they would display in the project rates box); or making the project rate box show all the rates supported by the card (but that means typically 14 rates or more on Windows). There wasn't any particular consensus but as the lack of 11025 is quite often complained about I'll very likely just add it to the "Standard Rates".


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

darkith
Posts: 7
Joined: Wed Apr 22, 2009 7:15 pm
Operating System: Please select

Re: No 11khz Project rate option?

Post by darkith » Sat Apr 25, 2009 12:32 am

1.3.8-alpha_Apr 24 2009:
Same symptoms, i.e. it ignores any values typed into the Project Rate box and uses the last selected value.
I.e. Open 44hz wav, overtype 11025 in Project Rate box, exported wavs are still 44khz, Tone gen creates a 44khz track.

The workaround (i.e. change default rate, restart, tone gen, import, remove tone track, export) *does* work. So the code is definitely capable, but it's like an event isn't firing and updating the project setup. The UI doesn't seem to "acknowledge" Return or Enter, and the cursor remains blinking in the Rate field.

Cheers,
David


Sidenote: I had been running on dual monitors at work, and must have had the "Edit Metadata" box on the 2nd monitor at some point. At home with just the laptop display, when I save, the "Edit Metadata" box is off screen, so I have to hit enter blindly to "OK" it, and then can proceed with saving.

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

Re: No 11khz Project rate option?

Post by Gale Andrews » Sat Apr 25, 2009 5:56 am

darkith wrote:1.3.8-alpha_Apr 24 2009:
Same symptoms, i.e. it ignores any values typed into the Project Rate box and uses the last selected value.
I.e. Open 44hz wav, overtype 11025 in Project Rate box, exported wavs are still 44khz, Tone gen creates a 44khz track.The workaround (i.e. change default rate, restart, tone gen, import, remove tone track, export) *does* work...
OK we'll check it out on a Mac, thanks.

darkith wrote:Sidenote: I had been running on dual monitors at work, and must have had the "Edit Metadata" box on the 2nd monitor at some point. At home with just the laptop display, when I save, the "Edit Metadata" box is off screen, so I have to hit enter blindly to "OK" it, and then can proceed with saving.
Thanks, a patch has already been written for this and is awaiting testing. If the majority of the metadata window is positioned off a valid display, or either of the top two corners of the window fall outside a valid display, then the window will be centered over the main Audacity window and resized to default size.



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

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

Re: No 11khz Project rate option?

Post by Gale Andrews » Sun Apr 26, 2009 2:04 am

darkith wrote:1.3.8-alpha_Apr 24 2009:
Same symptoms, i.e. it ignores any values typed into the Project Rate box and uses the last selected value. I.e. Open 44hz wav, overtype 11025 in Project Rate box, exported wavs are still 44khz, Tone gen creates a 44khz track.
We've addressed this OS X-only problem now in our development code. If you would like to try it, go here:
http://www.audacity.homerow.net/index.php?dir=mac%2F

and take any build at the bottom of the list dated "Apr 25 2009 09:20 PM" or later.

Thanks for reporting this.


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

darkith
Posts: 7
Joined: Wed Apr 22, 2009 7:15 pm
Operating System: Please select

Re: No 11khz Project rate option?

Post by darkith » Tue Apr 28, 2009 12:20 pm

Great, works fine. Thanks for the fast turnaround!

One other minor issue I noticed:
If you close all the Audacity editor windows (so Audacity is open, but has no windows), the "Open Recent" menu item is not accessible, which seems counter intuitive. I either have to use the "Open" dialog and find the file manually, or use "New" option and *then* I can use "Open Recent".

David

Locked