To clarify, according to many, the LAME encoder generates the highest-quality MP3s of any encoder. It is developed in the open by the
LAME Project at SourceForge and skirts MP3 patent licensing requirements by suggesting an "educational" use and by not offering any compiled software on its website, only binaries that you must compile on your own. This explains the complexity of this operation (and lower cost of Sonar). On the plus side, for your aggravation, you know you're getting the best encoder available and not a kludge.
Don't have a C++ Compiler on ya? Anybody can download a compiled command-line LAME encoder at
RAREWares. Choose a package that is current (as of this writing, LAME 3.98.4) and appropriate for your OS (e.g., Windows 64-bit). I've used them for a couple of years now and experienced no issues with their downloads.
The only trouble I've had with these LAME encoders relates to ID3 tagging. A bug in the LAME encoder writes empty URL
link frames (e.g., WCOM, WOAF) into the MP3 audio files. This probably won't affect your use of LAME with Sonar but might cause confusion if you employ the command-line tool after-the-fact, to add extended copyright-related ID3 tags to your MP3 files before sharing and uploading to social networks. To correct, you can use the ID3.EXE command-line MP3 tagger application. [My link to this download is dead, so you'll have to Google it from a new source. Sorry!] There are also free Windows MP3 taggers available, like
MP3Tag. Unless you're batch-encoding at the command-line, this is the way to go.
I hope this is helpful and answers some questions. Yes, it's a PIA, but worth it.
Dave