For me, testing with Audacity 3.0.2 and Audacity 3.1.1, at step 5 the duration field matches the length of the selection.
Which version of Audacity are you using?
By the way, there should be no need for step 4. Generating into the selection should exactly replace the selected audio.
When I click on all items in the Generate menu, it behaves as if I manually reset the time field. I did not have such a problem in Audacity 2.x versions. As you can see, the selection time I made with the Shift+Right Arrow keys does not fit in the time part of the items in the Generate menu.
I noticed that you posted the same question on audacity4blind, so I’m guessing that you are using keyboard (no mouse) and a screen reader. Is that correct?
Please talk me through, key press by key press, how to reproduce the problem.
I am getting the error in question using the following method. I explain step by step:
I run Audacity from its shortcut on the desktop.
I create a Stereo Track from the Track menu.
Next, I open the sound containing slang words with the shortcut CTRL+Shift+I.
If Track is not selected, I make Track selected with the help of Enter.
With the help of the space key, I start listening to the sound and move the cursor to the mentioned place with the letter X at the beginning of the slang word.
With the help of Shift+Right Arrow, I make the slang word selected.
To make sure the sound is clean, I completely delete the sound of the selected area with the help of CTRL+Alt+K.
When I enter the Tone phrase from the Generate menu, I see that the Length part is never filled by the selected field time.
Normally, if the time of the selected area was transferred successfully, I should be able to hear the tone with the help of the Alt+I key. The Preview part doesn’t work either, as the Length part is zero down to the millisecond.
Thanks, let me go through this step by step with you. You have an unnecessary step which may be causing the confusion.
I run Audacity from its shortcut on the desktop.
OK
I create a Stereo Track from the Track menu.
That step is unnecessary, and may be the cause of the problem.
Next, I open the sound containing slang words with the shortcut CTRL+Shift+I.
When you import a file, Audacity automatically creates a new track. Because of step 2, you now have an empty stereo track (created by step 2) plus a new track below it containing the imported audio. If the imported file was mono, the new track will be mono. If the imported track was stereo, the new track will be stereo.
If Track is not selected, I make Track selected with the help of Enter.
When you import a file, the “track” will be selected automatically, but there will not be a time region selected.
With the help of the space key, I start listening to the sound and move the cursor to the mentioned place with the letter X at the beginning of the slang word.
OK
With the help of Shift+Right Arrow, I make the slang word selected.
OK
To make sure the sound is clean, I completely delete the sound of the selected area with the help of CTRL+Alt+K.
This step is unnecessary.
After making the selection, you can listen to the selection by pressing “space” and let it play to the end.
You can also use “Cut Preview” by pressing the “C” key. Cut Preview will play a couple of seconds before the selection, then jump to the end and play one second after the selected region.
When I enter the Tone phrase from the Generate menu, I see that the Length part is never filled by the selected field time.
I don’t understand how you “see” that, but if you omit the unnecessary steps and then listen back to the result, then it may be that the issue is solved. If the issue is not solved, then please describe exactly how you are seeing that the Length part is not filled by the selected time.
After about half an hour of struggling, I found what was causing my problem. I guess the problem is a Bug. Let me try to explain:
The time format of the length phrase in the Tone function in the Generate menu is HH:MM:SS.Sample Rate. If my selection is less than a second I can’t render anything in the Generate menu. If my selection is more than a second then sound is added successfully.
The tone I want to add must be in the form of seconds and its multiples.
By the way, I changed the length type in the Tone menu to percentage by pressing the Application button on it, but the problem did not change.
I know, I’m starting to get very boring, but it is very important to me that this problem is solved. I have records that need sensitive words cleaned and I like the simplicity of Audacity.
It doesn’t look like a bug to me. If it was a bug, then everyone would be able to reproduce the problem, yet despite you posting here on the forum, and on the audacity4blind mailing list, no-one has been able to reproduce the problem.
NVDA reads that part as 00 Hours 00 Minutes 00 Seconds 000 Milliseconds.
If the field is filled successfully, it reads 00 Hours 00 Minutes 00 Seconds 435 Milliseconds.
I’m sure it is because as I said in old messages, if I choose a sound longer than one second, NVDA successfully reads the time part as 00 Hours 00 Minutes 01 Seconds 232 Milliseconds.
At the end of my long research, I found what caused the error I tried to explain in this two-page topic!
I don’t know if it’s interesting, but the problem is that I’m using the Turkish language. When I try to use the program in English, I can subject even small times to operations in the Generate menu. You will probably experience this problem when you try it too. I’m ready to do whatever it takes.
Ah yes, I can reproduce the problem if I set the language to Turkish.
Yes it’s a bug, and it appears to be unique to Turkish. My guess is that the translator translated something that should not have been translated, in which case it will hopefully be a simple fix.
I’ll log the bug for the attention of the developers.
Thanks for getting back to us with this additional information.