LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-23-2021, 09:31 AM   #1
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Rep: Reputation: Disabled
anyway to adjust mp3 file loudness with audacity speedily : soft or (soft + loud intermixed) mp3 file


I have got 100 over speech recording mp3 that i am listening when i work.
The problem i am facing now is the recording was not done well.
Some mp3 are fine - loud enough throughout.
some mp3 are very soft spoken - can't hear a thing when i am working.
some mp3 are partial very soft (can't hear at all), and partial loud enough **due to multiple speakers involved**

I have being using "audacity > effect > compressor" to adjust the waveform so that they are almost evenly high (pull low wave high and leave high wave form alone); and then highlight the whole track to export (file > export > export as mp3) and give it original filename with addition of "-modified" in the file name.

It took me several minutes to do 1 mp3 file . I still have got a lot more to go through.
Q1.
I am would like to know if there is way to make it faster ? any automated way using cli or script that i can modified to do the task ?

Q2.
Is it my method is wrong ? audacity never export my adjusted mp3 file to the same original file name.. instead it by default shows previously used file name.

I highlight the track (adjusted loudness) then "file > export > export as mp3" , but then the file name is not the original file name, but rather previously exported file name. **my method to save the "adjusted" mp3 to file is wrong ?




Thanks.

Last edited by andrewysk; 08-23-2021 at 09:37 AM.
 
Old 08-23-2021, 11:07 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by andrewysk View Post
I have got 100 over speech recording mp3 that i am listening when i work. The problem i am facing now is the recording was not done well. Some mp3 are fine - loud enough throughout. some mp3 are very soft spoken - can't hear a thing when i am working. some mp3 are partial very soft (can't hear at all), and partial loud enough **due to multiple speakers involved**

I have being using "audacity > effect > compressor" to adjust the waveform so that they are almost evenly high (pull low wave high and leave high wave form alone); and then highlight the whole track to export (file > export > export as mp3) and give it original filename with addition of "-modified" in the file name. It took me several minutes to do 1 mp3 file . I still have got a lot more to go through.

Q1. I am would like to know if there is way to make it faster ? any automated way using cli or script that i can modified to do the task ?
Yes, you can script using Audacity...covered in their documentation on their site, with examples. Did you look?
Quote:
Q2. Is it my method is wrong ? audacity never export my adjusted mp3 file to the same original file name.. instead it by default shows previously used file name.

I highlight the track (adjusted loudness) then "file > export > export as mp3" , but then the file name is not the original file name, but rather previously exported file name. **my method to save the "adjusted" mp3 to file is wrong ?
You tell us; are you getting the results you want?? And if you script this, it'll save whatever file you tell it to, so it's kind of a non-issue.
 
Old 08-23-2021, 11:55 AM   #3
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Yes, you can script using Audacity...covered in their documentation on their site, with examples. Did you look?

You tell us; are you getting the results you want?? And if you script this, it'll save whatever file you tell it to, so it's kind of a non-issue.
NO i have not look into it.. never thought of that.. i was thinking some thing like "mp3gain and FFMPEG" this kind of tool.. no idea which is beginner friendly and capable of doing what audacity can do..
Since you said audacity can do scripting too.. let me look into it.. **hee hee.. maybe by the time i have mastered the scripting of audacity, i would have manually done it with gui. lol**

Quote:
You tell us; are you getting the results you want?? And if you script this, it'll save whatever file you tell it to, so it's kind of a non-issue.
No, with the method i performed on audacity, it doesn't save to the original file name.. it saved to some other file name, which is totally no good. Couldn't get it why.. normally software will save to the original filename instead of another filename.
 
Old 08-23-2021, 12:46 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by andrewysk View Post
NO i have not look into it.. never thought of that.. i was thinking some thing like "mp3gain and FFMPEG" this kind of tool.. no idea which is beginner friendly and capable of doing what audacity can do.. Since you said audacity can do scripting too.. let me look into it.. **hee hee.. maybe by the time i have mastered the scripting of audacity, i would have manually done it with gui. lol**
Then you need to read the "Question Guidelines" link...you need to do basic research first, before posting.
Quote:
No, with the method i performed on audacity, it doesn't save to the original file name.. it saved to some other file name, which is totally no good. Couldn't get it why.. normally software will save to the original filename instead of another filename.
You can't read from and write to the same file at the same time, can you??? You read from one..output to another. Again, do basic research and read the documentation first.
 
Old 08-23-2021, 12:54 PM   #5
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,342

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by andrewysk View Post
No, with the method i performed on audacity, it doesn't save to the original file name.. it saved to some other file name, which is totally no good. Couldn't get it why.. normally software will save to the original filename instead of another filename.
If you open a new file without explicitly closing the older file audacity uses the older file name since you are 'editing' the older file. Always close the older file before opening a new one and the problem will be solved.

Another option, if you are doing multiple files is to select several files at once to open. Audacity will open each in its own window (memory allowing) and there will be no file name conflicts. I have done this with as many as 15 files at once when I needed to edit something on all of them.
 
Old 08-23-2021, 01:02 PM   #6
lvm_
Member
 
Registered: Jul 2020
Posts: 912

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
You can use mp3gain for batch adjustment of mp3 volume.
 
Old 08-23-2021, 02:29 PM   #7
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by computersavvy View Post
If you open a new file without explicitly closing the older file audacity uses the older file name since you are 'editing' the older file. Always close the older file before opening a new one and the problem will be solved.

Another option, if you are doing multiple files is to select several files at once to open. Audacity will open each in its own window (memory allowing) and there will be no file name conflicts. I have done this with as many as 15 files at once when I needed to edit something on all of them.
I was doing multiple files at a time.. I don't get you what has that todo with file name conflict ?
Click image for larger version

Name:	mzf0im2.png
Views:	9
Size:	128.8 KB
ID:	37009

Anyway, maybe i have posted my message wrongly.. I want to export the selected audio track to a new file which is named as original file name (plus "-modified" behind the original file name). That's should not causing ANY conflict..
 
Old 08-23-2021, 02:34 PM   #8
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lvm_ View Post
You can use mp3gain for batch adjustment of mp3 volume.
Yes, i have tried that before ( quite long ago), but is hard to use, because of no visual.. i can only try and test out.
When i do "amplify" feature in audacity, it will causes other portion of the wave to clip, as as i have said the mp3 is badly recorded, a portion of the mp3 is very soft, while the other portion is very loud..
If i adjust the mp3 using mp3gain, it will amplify the whole mp3, causing the loud portion to clip.

However with audacity, there is this feature called "compressor" which is smart enough to leave the loud portion as it is.. but amplify the soft portion of the mp3.. Hence i can select all and do a compressor feature and it is done.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I guess if ALSA sets max loudness and for me it's too low then I am undone, am I not? stf92 Linux - Desktop 3 12-05-2017 07:10 PM
Does "Loudness Equalization" exist for linux. A feature that exists within Windows. snowkitty Linux - Newbie 12 02-17-2014 03:02 PM
Limiting loudness/volume in linux Tyrant01 Linux - Software 1 08-02-2009 01:04 AM
Searching 4 Permanent solution for the mp3 loudness erickFis Linux - Software 5 07-04-2006 08:19 PM
Permanent solution for the mp3 loudness erickFis LinuxQuestions.org Member Success Stories 0 02-02-2005 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration