I have installed sox with support for both mp3 and flac.
The below command also successfully converts flac to mp3
sox /song_files/Daughter_of_Evil.flac /song_files/Daughter_of_Evil.mp3
My problem is that the "Daughter_of_Evil.mp3" is not 320 bit mp3. I tried to specify sampling rate of 44100. But that did not change the bit rate. It stays at 128kbps.
How can I directly generate 320 bit mp3 file for above flac file.
I can convert 128 bit mp3 to 320 bit mp3 using LAME. But the quality is already lost in 128 bit mp3 file generated above. Hence I want it done in single step.
Thanks