From: chandan mallik Date: 2013-03-21T22:35:05+09:00 Subject: Re: Need to change loudness of a mp3 file using ruby script 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. -- Posted via http://www.ruby-forum.com/.