I need to change the loudness of a mp3 file using mp3gain.I am toatally helpless how to do that. How to fetch a file in ruby program and then set the loudness.
on 2013-03-21 08:47
on 2013-03-21 08:58
Subject: Need to change loudness of a mp3 file using ruby script Date: gio 21 mar 13 04:47:35 +0900 Quoting chandan mallik (lists@ruby-forum.com): > I need to change the loudness of a mp3 file using mp3gain.I am toatally > helpless how to do that. How to fetch a file in ruby program and then > set the loudness. This means that you have to learn how to use Ruby. You should dedicate some time to a good tutorial. You will certainly learn how to execute external programs from a Ruby script. If you post your attempts, and the eventual error messages, chances are you will receive useful suggestions/corrections. Carlo
on 2013-03-21 14:35
Carlo E. Prelz wrote in post #1102552: > Subject: Need to change loudness of a mp3 file using ruby script > Date: gio 21 mar 13 04:47:35 +0900 > > Quoting chandan mallik (lists@ruby-forum.com): > >> I need to change the loudness of a mp3 file using mp3gain.I am toatally >> helpless how to do that. How to fetch a file in ruby program and then >> set the loudness. > > This means that you have to learn how to use Ruby. You should dedicate > some time to a good tutorial. You will certainly learn how to execute > external programs from a Ruby script. > > If you post your attempts, and the eventual error messages, chances > are you will receive useful suggestions/corrections. > > Carlo Thanks Carlo But I know how to execute a mp3 file using ruby script and I am able to set the loudness too using this script path = "/home/cis/Desktop/ *mp3" system("mp3gain -c -p -r -d 4.0 "+path) but what I want is the loudness should be same for all .mp3 files and that is not coming. I want the loudness to be 93dB.If Anyone can do that please help me with this.
on 2013-03-21 15:35
Subject: Re: Need to change loudness of a mp3 file using ruby script Date: gio 21 mar 13 10:35:05 +0900 Quoting chandan mallik (lists@ruby-forum.com): > But I know how to execute a mp3 file using ruby script and I am able to > set the loudness too using this script > path = "/home/cis/Desktop/ *mp3" > system("mp3gain -c -p -r -d 4.0 "+path) > > but what I want is the loudness should be same for all .mp3 files and > that is not coming. I want the loudness to be 93dB.If Anyone can do that This has practically nothing to do with Ruby. You should knock at some audio specialist forum. I used Sox to obtain something of that sort (roughly having all my Ogg files with a similar loudness), but 93db? No idea. Carlo
on 2013-03-22 11:11
Would you mind sharing the main gist of your solution for future hopeful searchers?
on 2013-03-22 14:08
On Fri, Mar 22, 2013 at 5:03 AM, chandan mallik <lists@ruby-forum.com>wrote: > Thanks Carlo. BTW I found the solution and have successfully > implemented it. > > http://xkcd.com/979/
on 2013-03-25 03:06
Hi Josh, On 22/03/13 23:38, Josh Cheek wrote: > On Fri, Mar 22, 2013 at 5:03 AM, chandan mallik <lists@ruby-forum.com > <mailto:lists@ruby-forum.com>> wrote: > > Thanks Carlo. BTW I found the solution and have successfully > implemented it. > > > http://xkcd.com/979/ Thanks- that gave me a good laugh. Cheers, Garth
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.