Audacity 2.x and LAME

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.
kingstonp
Posts: 14
Joined: Sun Jan 12, 2014 3:22 pm
Operating System: Please select

Re: Audacity 2.x and LAME

Post by kingstonp » Mon Jan 13, 2014 3:55 pm

Someone, above, hit the head on the nail.

1. Don't save using the original name.
2. Don't reuse the original name in any way. In spite of brackets, stops, - signs etc the MP3 will work fine, BUT, Audacity will not permit them!

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

Re: Audacity 2.x and LAME

Post by steve » Mon Jan 13, 2014 4:08 pm

Thanks, that is clear now.

File names have two parts, the actual name, and the "file extension".
The file extension is the part after the dot in the file name, for example, if you save a Microsoft Word document file with the name "letter_to_mum", Microsoft Word will save it as "letter_to_mum.doc" or "letter_to_mum.docx" (depending on the version of MS Office). The letters ".doc" or ".docx" make up the file extension and they tell Windows what type of file it is.

The standard file extension for an MP3 file is ".mp3".
In your example you have confused Audacity by entering the name: "Synthesized Bach in W. Carlos Style -Stereo - YouTube1"
Audacity sees the dot in the name and thinks that you want the letters after the dot to be the file extension.
Of course ". Carlos Style -Stereo - YouTube1" is not a valid file extension, and certainly not the standard file extension for an MP3 file, so Audacity warns you that "Normally these files end in ".mp3""

The solution is simple, either don't use dots in file names (highly recommended) or, if you must use a dot, ensure that you add the correct file extension to the end of the file name. Thus, for this example you could enter:
"Synthesized Bach in W Carlos Style -Stereo - YouTube1"
or you could enter:
"Synthesized Bach in W. Carlos Style -Stereo - YouTube1.mp3"

As long as there are no dots in the name that you enter, Audacity will automatically add the correct file extension.

This picture:
Image
is showing your file being exported - The MP3 export is working. However, because you included a dot in the name, Windows will see the file extension as ". Carlos Style -Stereo - YouTube1" and Windows has no idea what that "file type" is. Windows needs the file extension to tell it what type of file it is.

Generally it is best to only use normal letters, numbers, underscore "_" and the minus sign "-" in file names.
See here for more information about file names: http://manual.audacityteam.org/o/man/fa ... extensions
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: Audacity 2.x and LAME

Post by Gale Andrews » Mon Jan 13, 2014 4:25 pm

kingstonp wrote:1. Don't save using the original name.
There is nothing to stop you overwriting an original MP3 file if you want to. You must expect a program to warn you if you try to overwrite the original file.

Every time you rewrite an MP3 you degrade the quality further.
kingstonp wrote:2. Don't reuse the original name in any way. In spite of brackets, stops, - signs etc the MP3 will work fine, BUT, Audacity will not permit them!
I think the default behaviour should be to force the standard extension for the file (MP3 in this case) even if the user added a dot in the file name.

Users who want to use non-standard extensions should have to turn that on somewhere, probably in a checkbox in the export dialogue.


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

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

Re: Audacity 2.x and LAME

Post by steve » Mon Jan 13, 2014 5:04 pm

Gale Andrews wrote:Users who want to use non-standard extensions should have to turn that on somewhere
That would probably be difficult to implement and even more difficult to give sensible warnings about "unusual" but "legal" file extensions. For example, it is perfectly correct to use the extension ".wav" for compressed audio formats supported by MS Audio Compression Manager (ACM) and similarly the file extension ".avi" is perfectly legal as the extension for RIFF WAV format.

Perhaps a workable solution is to list file extensions in the export dialogue rather than file types and for Audacity to assume the most common encoding for that file extension. For unusual combinations of file extension/encoding, the user would need to select a custom export option and supply the file extension.

Some programs have an option to "guess file format from extension", so you either select a file extension and the program chooses the most likely format for that extension, or you enable "guess file format from extension" and include the extension in the file name.

Much of the confusion surrounding this issue is thanks to the Microsoft practice of hiding file extensions from users. :evil:
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

stepheng
Posts: 14
Joined: Sun Jan 12, 2014 6:30 am
Operating System: Please select

Re: Audacity 2.x and LAME

Post by stepheng » Mon Jan 13, 2014 5:44 pm

Gale Andrews wrote:
kingstonp wrote:OK.
After I have edited my MP3, I try to export it, using Export under File.
I get a window telling me that not all applications open MP3.
Please give the exact messages or attach an image of the message.

My guess is that you put a dot (period) in the file name. If you put a dot in the file name, you will see a warning that not all applications open "whatever you put after the last dot in the file name".

To solve that, use underscore or space instead of dot. If you must use a dot in the file name, add ".mp3" (without quotes) at the end of the file name. So if the MP3 is to be called called "song.shanty.mp3" you must type exactly "song.shanty.mp3" in the file name box.

In Audacity, can you please choose Edit > Preferences, then choose "Libraries" on the left. Then look in the top right at "MP3 Library Version". Does it say "MP3 export library not found" opposite "MP3 Library Version"? Or does it give a version number of lame_enc.dll?

If it gives a version number of lame_enc.dll then there is no reason you cannot export MP3.


Gale

Initially, I had the same problem with Export as MP3 on a new Windows 7 64-bit laptop.
Installing Lame worked for me, and I can now export MP3.
I suggest uninstalling Lame and starting over.

lame_enc.dll will be in C:Program Files (x86)Lame For Audacity

Using Windows search, Audacity.cfg was found in C:Users<user name>AppDataRoamingAudacity
... even though there appears to be no such folder as <user name>AppData

Right click on Audacity.cfg in the search results box, and open with WordPad (or other editor).
The "2 offending lines" appear near the end of the file.
I left them in, and it works just fine for me.

I don't remember if I had to "locate" the "missing mp3 file" in Audacity, but probably not
since <user name>AppData does appear to exist.

Now I'm a Happy Camper,
Steve #2

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

Re: Audacity 2.x and LAME

Post by Gale Andrews » Mon Jan 13, 2014 6:10 pm

steve wrote:
Gale Andrews wrote:Users who want to use non-standard extensions should have to turn that on somewhere
That would probably be difficult to implement and even more difficult to give sensible warnings about "unusual" but "legal" file extensions.
I am not talking about Audacity making any decisions about what is legal that it doesn't already make.

Just that the default behaviour would be that Audacity forces the same extension that it adds anyway if there is no dot added to the file name. So as Goldwave for example does, if you type "Song.shanty" when MP3 is the selected save type, then Audacity actually exports "Song.shanty.mp3".

99% of users want that I guess, not to force some other extension. So what Goldwave and other editors do should be default. We get this problem complained of once or twice a week that users cannot understand the dialogue when they add a dot in the file name.

If the default "force file extension" option is switched off, then Audacity would behave as now and give you the warning about changing the extension if the extension was not in its "allowed" list.
steve wrote:Some programs have an option to "guess file format from extension", so you either select a file extension and the program chooses the most likely format for that extension, or you enable "guess file format from extension" and include the extension in the file name.
I don't think there is a burning need to change the current system where a number of extensions are accepted as "allowed" if the user adds them, for example if you choose "M4A (AAC) Files (FFmpeg)", you can add .m4r extension and there will be no warning.
steve wrote:Much of the confusion surrounding this issue is thanks to the Microsoft practice of hiding file extensions from users. :evil:
Hiding extensions doesn't help, but Apple does the same by default (I updated the Manual FAQ to take that into account).


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

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

Re: Audacity 2.x and LAME

Post by steve » Mon Jan 13, 2014 6:27 pm

Gale Andrews wrote:We get this problem complained of once or twice a week that users cannot understand the dialogue when they add a dot in the file name.
I've seen it come up quite often on the forum so I agree that it would be good to improve this.

What does Goldwave do if you enter "Song.shanty.mp3" as the file name and you export as an MP3 file?
What does Goldwave do if you enter "Song.shanty.mp3" as the file name and you export as a WAV file?
What does Goldwave do if you enter "Song.shanty.riff" as the file name and you export as a WAV file?
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: Audacity 2.x and LAME

Post by Gale Andrews » Mon Jan 13, 2014 6:55 pm

steve wrote:What does Goldwave do if you enter "Song.shanty.mp3" as the file name and you export as an MP3 file?
Goldwave "saves" MP3, not export ;) but it does the same as Audacity - the saved file is "Song.shanty.mp3".
steve wrote:What does Goldwave do if you enter "Song.shanty.mp3" as the file name and you export as a WAV file?
Exports a WAV with MP3 extension. Bad. Audacity currently warns about that.

But I see no reason a "force extension" option would export a WAV with MP3 extension. As soon as there is any dot in the file name, Audacity would add another dot and the default extension for the selected file type at the end.
steve wrote:What does Goldwave do if you enter "Song.shanty.riff" as the file name and you export as a WAV file?
Exports the same Red Book WAV as in "Song.shanty.mp3".


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

stepheng
Posts: 14
Joined: Sun Jan 12, 2014 6:30 am
Operating System: Please select

Re: Audacity 2.x and LAME

Post by stepheng » Mon Jan 13, 2014 7:20 pm

Apparently there are 2 subjects with the same name.
My post of Jan 13, 2014 5:44 pm got placed after Gale's Jan 13, 2014 5:04 pm
instead where it belongs after Gale's Jan 13, 2:26 pm.

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

Re: Audacity 2.x and LAME

Post by Gale Andrews » Tue Jan 14, 2014 6:48 pm

stepheng wrote:Apparently there are 2 subjects with the same name.
The Forum Staff had a little discussion here about how to prevent the poster's problem with "dots in the file name" happening so often. It was probably just about worth discussing it here in case a user had any immediate input on what should happen. I'll lock the topic now.
stepheng wrote:My post of Jan 13, 2014 5:44 pm got placed after Gale's Jan 13, 2014 5:04 pm
instead where it belongs after Gale's Jan 13, 2:26 pm.
I assume your post was moderated as you had not made many posts yet. This would mean it would not appear immediately.

Please post in http://forum.audacityteam.org/viewforum.php?f=32 if you think there is some issue.

Thanks,

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

Locked