Hey guys, I recorded audio files using old Audacity version. It plays fine in Audacity but when I export it, it cuts off last few seconds.
I upgraded to the latest version of Audacity but still the same issue.
I’m using Windows 8.1 and my audio files is not long, around 35 seconds total.
I tried selecting few additional seconds at the end and exported it but still the audio cut off at the end, also no matter what format I export it in, it keeps cutting off the last few seconds.
I also tried deleting the rest of the audio and exporting the last few seconds on their own, but the audio still cuts off at the couple of seconds, no matter what.
I also save project as new and the issue persists.
Are you sure that it is Audacity cutting off the last few seconds, and not your audio player stopping before the end?
You can check if the last few seconds exist in the file, by importing the audio file back into Audacity and checking how long it is.
Some audio players are known to have problems with VBR encoded MP3s. I don’t know if it still applies, but Windows Media Player had this bug for years,and I’ve not heard of it ever being fixed. Audacity uses VBR encoding by default (because it is better than CBR or ABR, which are the alternatives), but if this is the problem, then you could change the MP3 encoding settings to use CBR (See: https://manual.audacityteam.org/man/mp3_export_options.html)
You are right. It seems Audacity was ouputting the whole file but VLC was not playing the last seconds. But my exported audio was in WAV, don’t know why that would cause an issue. And I couldn’t find any settings for WAV export to change.
WAV is an uncompressed format, so it does not have settings like MP3.
I’m surprised that VLC is doing that. I’ve seen this problem reported before with VLC, but that was years ago.
Yeah, I’ve been banging my head against the wall trying all the solutions I found online and it turns out VLC is the issue not Audacity, never would have thought that.
Personally as long as my files will play in the Unity engine, I don’t care about the VLC bug.
Atleast my recordings are all safe. Thank you for pointing me to the right direction.
[EDIT] - Ignore this… Steve is right… I saw “MP3” above and didn’t read carefully.
I don’t think there’s anything wrong with VLC. There might be something wrong with LAME (or the version of LAME installed on your computer).
Personally as long as my files will play in the Unity engine, I don’t care about the VLC bug.
Atleast my recordings are all safe. Thank you for pointing me to the right direction.
If you want to play around with this, there are a couple of tools that may be able to repair the MP3:
[u]Vbrfix[/u] is a simple program that fixes VBR headers and it fixes most MP3 “timing problems”. It doesn’t get “installed” on your computer. Just unzip it and run the GUI version.
[u]MP3diags[/u] is a more advanced program with more repair options.
From what I recall, both of these programs directly-alter the MP3 (if they find a problem) so make a backup. (I never had any problems, but…)