MichaelM said:
Don't use
the mp3 export option from Sonar.
Export to 44.1khz, 16bit broadcast wave files. Then get winLAME from here:
http://winlame.sourceforge.net/
And use that to convert.
WHY? is there something wrong with SONAR's MP3 encoder?
Also, if you want to use LAME instead of CWENC this link will show you how to incorporate LAME into the process so you don't have to export to WAVE first:
http://sonar.sonarama.com/sonar/index.php/LAME_MP3_Encoder
If the above link steps don't work, I got the below from SoundOnSound:
Many Sonar users chose the CWENC MP3 encoder as an alternative to Sonar's 'optional at extra cost' MP3 encoder. Unfortunately, it's not possible (at least, not yet) to get CWENC to work with Sonar 4. However, there's still a free encoder option: the LAME encoder.
First, you have to download the LAME software. It's widely available on the web, and I found a copy at
www.free-codecs.com. Now, I can't comment as to the legalities of using the LAME encoder without paying royalties to those who invented the MP3 format, and LAME is said to be for educational purposes only. However, it seems that no one's getting prosecuted for doing the occasional MP3 conversion using 'freebie' tools (although if MP3 is a significant part of what you do, you may do your conscience good by getting an 'official' encoder).
Second, you need to take advantage of a new Sonar 4 feature, 'Configure External Encoder', to get LAME to work. This involves installing a profile for the encoder and telling Sonar where to look to find the encoder it's supposed to use.
Insert the Sonar 4 distribution CD-ROM into your drive, as this is where the encoder profiles dwell. Don't let it auto-run; instead, Explore the CD and open the Utilities folder. Inside that, open the External Encoder Profiles folder.
Now double-click on any of the encoder options you want to add (for example, LAME MP3 High Quality Stereo.reg). You'll be asked if you want to add this information to the registry. You can now tremble in fear for a bit, because you're adding something to the registry, but go ahead and click on 'Yes' — everything should go smoothly, and you'll be informed that the profile was added.
Next, look in the Shared Utilities folder (in C

rogram FilesCakewalk), and double-click on the EncoderConfig.exe program. In the 'Friendly Name' field, the Profile you just installed (LAME MP3 High Quality Stereo) should be listed; select it. In the 'Path' field, delete the default path and enter the path to the LAME encoder folder installed on your computer. I put the LAME folder within Shared Utilities, but it can sit anywhere.
path, then click on 'Save'. If you don't save, Sonar won't be able to launch the encoder.
Finally, click on 'Close', to close EncoderConfig.exe.
The next time Sonar is open and you go to Export Audio, any of the profiles you configured will show up as export options. Now go forth and encode!