Helpful ReplyTUTORIAL: Getting LAME MP3 Encoder to Work With SONAR

Page: < 1234 Showing page 4 of 4
Author
Noel Borthwick [Cakewalk]
Cakewalk Staff
  • Total Posts : 6475
  • Joined: 2003/11/03 17:22:50
  • Location: Boston, MA, USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/19 20:03:46 (permalink)
Cakewalk's LAME encoder is built in. We don't redist a dll. You must have something you manually installed.

Noel Borthwick
Senior Manager Audio Core, BandLab
My Blog, Twitter, BandLab Profile
#91
Keni
Max Output Level: -17.5 dBFS
  • Total Posts : 5769
  • Joined: 2003/11/04 10:42:15
  • Location: Willits, CA USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/19 20:15:49 (permalink)
Noel Borthwick [Cakewalk]
Cakewalk's LAME encoder is built in. We don't redist a dll. You must have something you manually installed.




Thanks Noel...
 
Does this mean that if I have previously purchased the cakewalk encoder and I am running Foxboro, when I use the mp3 export it is now using 3.99?
 
Keni
 
post edited by Keni - 2015/07/19 20:23:20

Keni Fink
Keni - Facebook
Deep Space Records
http://www.reverbnation.com/inexile
http://www.cdbaby.com/artist/inexile
Out Of My Head Music (BMI)

SPlat/MacPro/Dual Xeon 3.06GHz 6-core (12 total)/64GB/Win8.1X64/Presonus 1818VSL/Soundscape SS8IO-1
#92
Keni
Max Output Level: -17.5 dBFS
  • Total Posts : 5769
  • Joined: 2003/11/04 10:42:15
  • Location: Willits, CA USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/19 20:21:43 (permalink)
When i setup lame for some of my clients, I've been suing the following command line and all seems well. It was so long ago that I set this up, I don't remember what all the commands stand for except for %I nad %O being input and output.... I also know that changing the 320 (highest setting) to 192 etc. makes smaller lower quality files...
 
lame -b 320 -m j %I %O
 
 

Keni Fink
Keni - Facebook
Deep Space Records
http://www.reverbnation.com/inexile
http://www.cdbaby.com/artist/inexile
Out Of My Head Music (BMI)

SPlat/MacPro/Dual Xeon 3.06GHz 6-core (12 total)/64GB/Win8.1X64/Presonus 1818VSL/Soundscape SS8IO-1
#93
thomasabarnes
Max Output Level: -43 dBFS
  • Total Posts : 3234
  • Joined: 2003/11/11 03:19:17
  • Location: Milwaukee, WI USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/19 21:26:22 (permalink)
Hi Keni:
 
If you paid for the Cakewalk MP3 Encoder activation, check your Cakewalk store account for the link to download the Activation file, if you're using SONAR X64, you may have to contact Cakewalk for the x64 Activation download link. The one in the store account used to be for the 32bit version of SONAR. I just keep the Activation file for both 32bit and 64bit, so I never had to download it again.
 
When you use the Cakewalk MP3 Encoder in Platinum (latest version) it uses Lame 3.99. Sometime during the SONAR 2015 release, Cakewalk, finally :), updated the Encoder to use Lame 3.99.


"It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
#94
Keni
Max Output Level: -17.5 dBFS
  • Total Posts : 5769
  • Joined: 2003/11/04 10:42:15
  • Location: Willits, CA USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/19 21:34:25 (permalink)
Thanks Thomas...

I must have the fike somewhere as your words sounded familiar... I think i activated the 64 bit version on my DAW... So im guessing its running the 64 bit version... But i haven't activated it on the laptop yet...

My generator hours are comming up so i'll take a look...

Keni Fink
Keni - Facebook
Deep Space Records
http://www.reverbnation.com/inexile
http://www.cdbaby.com/artist/inexile
Out Of My Head Music (BMI)

SPlat/MacPro/Dual Xeon 3.06GHz 6-core (12 total)/64GB/Win8.1X64/Presonus 1818VSL/Soundscape SS8IO-1
#95
thomasabarnes
Max Output Level: -43 dBFS
  • Total Posts : 3234
  • Joined: 2003/11/11 03:19:17
  • Location: Milwaukee, WI USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/19 21:43:08 (permalink)
Also, Keni:
 
You shouldn't have to use any command line stuff with Lame. Just get Aaron's SONAR MP3 patch via the link to SONAR Utilities in Mudgel's signature. With Aaron's patch all you need to do is run the patch and select "Add All Mp3 Options," and select the bit rate you want via a dropdown menu in SONAR's Export Audio dialog. For example, in the "Files of type" dropdown menu of the Export Audio dialog, just choose something like "MP3 256 kbps-keep wav file or "MP3 256 kbps-discard wav file."
 
Or use the Cakewalk MP3 Encoder. :)
 
Hope that helps.
 


"It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
#96
mudgel
Max Output Level: 0 dBFS
  • Total Posts : 12010
  • Joined: 2004/08/13 00:56:05
  • Location: Linton Victoria (Near Ballarat)
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 00:30:24 (permalink)
thomasabarnes
Also, Keni:
 
You shouldn't have to use any command line stuff with Lame. Just get Aaron's SONAR MP3 patch via the link to SONAR Utilities in Mudgel's signature. With Aaron's patch all you need to do is run the patch and select "Add All Mp3 Options," and select the bit rate you want via a dropdown menu in SONAR's Export Audio dialog. For example, in the "Files of type" dropdown menu of the Export Audio dialog, just choose something like "MP3 256 kbps-keep wav file or "MP3 256 kbps-discard wav file."
 
Or use the Cakewalk MP3 Encoder. :)
 
Hope that helps.
 

If you have the Cakewalk encoder you shouldn't be installing Aaron's patch over the top.
Cakewalk have complied their own version of Lame called TTSLAME. You don't want to go throwing another version of the Lame encoder int the mix and generate different reg keys that will call on a dll somewhere else.

Mike V. (MUDGEL)

STUDIO: Win 10 Pro x64, SPlat & CbB x64,
PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz.
Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2.
Monitors: Adam A7X, JBL 10” Sub.
Audio I/O & DSP Server: DIGIGRID IOS & IOX.
Screen: Raven MTi + 43" HD 4K TV Monitor.
Keyboard Controller: Native Instruments Komplete Kontrol S88.
#97
thomasabarnes
Max Output Level: -43 dBFS
  • Total Posts : 3234
  • Joined: 2003/11/11 03:19:17
  • Location: Milwaukee, WI USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 01:13:02 (permalink)
Mudgel:
 
Aaron's Patch wont interfere with the use of the Cakewalk Mp3 encoder when a user uses it to encode mp3 files. Cakewalk's encoder references the TTSLame.dll in the SONAR root directory, and Arron's Patch makes bit rate selections available in the "Files of type" drop down menu of SONAR's Export Audio dialog which, when/if any are selected, reference the LAME encoder that is installed in the location Aaron's patch is installed to.
 
But if one has Cakewalk's Encoder activated, there is no need to use Aaron's Patch method for encoding Mp3 files. In that case, just use the Cakewalk Encoder. :)
post edited by thomasabarnes - 2015/07/20 05:55:32


"It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
#98
mudgel
Max Output Level: 0 dBFS
  • Total Posts : 12010
  • Joined: 2004/08/13 00:56:05
  • Location: Linton Victoria (Near Ballarat)
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 01:20:47 (permalink)
But isn't that where you select files of this type MP3 when you export using the Cakewalk encoder? I think I really will have to uninstall the Cakewalk encoder and test all these others to see what's going on. I thought I had done this earlier but I may not have uninstalled Cakewalk's encoder properly.
post edited by mudgel - 2015/07/20 01:30:06

Mike V. (MUDGEL)

STUDIO: Win 10 Pro x64, SPlat & CbB x64,
PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz.
Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2.
Monitors: Adam A7X, JBL 10” Sub.
Audio I/O & DSP Server: DIGIGRID IOS & IOX.
Screen: Raven MTi + 43" HD 4K TV Monitor.
Keyboard Controller: Native Instruments Komplete Kontrol S88.
#99
thomasabarnes
Max Output Level: -43 dBFS
  • Total Posts : 3234
  • Joined: 2003/11/11 03:19:17
  • Location: Milwaukee, WI USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 01:36:07 (permalink)
The only way I know to uninstall Cakewalk's Encoder is to remove the TTSLame.dll, and if you do that, SONAR wont even startup!
 
And if using the SONAR External Encoder, just get a copy of Lame and place all the files in a isolated location and folder that will just be used by the External Encoder, and set the Path of the Cakewalk External Audio Encoder Setup dialog to that particular isolated folder, and it will not interfere with any other Lame installations you have. The External Encoder will just reference the Lame library you have in that particular folder.
 
 
post edited by thomasabarnes - 2015/07/20 01:49:40


"It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
Keni
Max Output Level: -17.5 dBFS
  • Total Posts : 5769
  • Joined: 2003/11/04 10:42:15
  • Location: Willits, CA USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 02:08:46 (permalink)
I have bith the cakewalk 64 bit and lame 3.97 installed and running in my DAW... I only use the cakewalk myself but ive had readon to use lame free encoder a few times...

I much prefer using the cakewalk encoder...

I was in a hurry when i setup the laptop in tge middle of the night so i installed lame there...

I just searched for the activation code there but couldnt find it so late tomorrow i hope to contact customer support and get another copy...

There is no entry in my peoducts as i didnt buy it separately. I got it long ago i think with ProAudio7 or there about? But they continue to authorize me us as paid...

Thanks guys...

I belueve you can run as many external encoders as you wish to install. Sonar after mixing, simply hands off the wav file to whichever encoder is selected with the command line supplued in the configurator...

Keni

Keni Fink
Keni - Facebook
Deep Space Records
http://www.reverbnation.com/inexile
http://www.cdbaby.com/artist/inexile
Out Of My Head Music (BMI)

SPlat/MacPro/Dual Xeon 3.06GHz 6-core (12 total)/64GB/Win8.1X64/Presonus 1818VSL/Soundscape SS8IO-1
mudgel
Max Output Level: 0 dBFS
  • Total Posts : 12010
  • Joined: 2004/08/13 00:56:05
  • Location: Linton Victoria (Near Ballarat)
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 02:24:56 (permalink)
Yes that's right apparently.

Previously that may have been useful as Cakewalk used an older version of Lame. With Sonar 2015 Cambridge, several MP3 enhancements were added including the update of TTSLAME.dll to using Lame v. 3.99

Mike V. (MUDGEL)

STUDIO: Win 10 Pro x64, SPlat & CbB x64,
PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz.
Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2.
Monitors: Adam A7X, JBL 10” Sub.
Audio I/O & DSP Server: DIGIGRID IOS & IOX.
Screen: Raven MTi + 43" HD 4K TV Monitor.
Keyboard Controller: Native Instruments Komplete Kontrol S88.
Keni
Max Output Level: -17.5 dBFS
  • Total Posts : 5769
  • Joined: 2003/11/04 10:42:15
  • Location: Willits, CA USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 02:38:57 (permalink)
Thanks mudgel...

Yes, i remember reading about it... For my use i wasnt having any trouble with 3.97... Does 3.99 make better sounding mp3s somehow?

I read the additional support it added but i dont remember thinking any of it affected me...

That said, i'm glad to have the updated version and look forward to activating it on my laptop as well as my DAW... That woukd be very handy for me...

Keni

Keni Fink
Keni - Facebook
Deep Space Records
http://www.reverbnation.com/inexile
http://www.cdbaby.com/artist/inexile
Out Of My Head Music (BMI)

SPlat/MacPro/Dual Xeon 3.06GHz 6-core (12 total)/64GB/Win8.1X64/Presonus 1818VSL/Soundscape SS8IO-1
thomasabarnes
Max Output Level: -43 dBFS
  • Total Posts : 3234
  • Joined: 2003/11/11 03:19:17
  • Location: Milwaukee, WI USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 02:40:30 (permalink)
Mudgel:
 
When you select "MP3" using the "Files of Type" dropdown menu, you are selecting the Cakewalk MP3 Encoder to do the encoding. You select Arron's encoder when you select one of the files with the long names, such as "MP3 256 kbps-keep wav file," "MP3 256 kbps-discard wav file," "Mp3 Variable Bit Rate-quality 8 of 10," etc..
post edited by thomasabarnes - 2015/07/20 02:57:02


"It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
mudgel
Max Output Level: 0 dBFS
  • Total Posts : 12010
  • Joined: 2004/08/13 00:56:05
  • Location: Linton Victoria (Near Ballarat)
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 03:01:12 (permalink)
Thanks Thomas, I understood after you mentioned it. It hasn't been since Sonar 8 or 7 that I've used the external encoder and I just couldn't wrap my head around how they present in the export menu. Once you mentioned it I realised straight away. So after a million and one posts I'm all OK and have it sorted in my big head.

I've been reading the various tutorials and one even goes back to Sonar 4. That's 11 years ago so while in principle the instructions haven't changed file locations and references have. So I'm looking at putting together a package that will put the lame dll, the encoder config files and instructions all in one zip file. Or at the very least confirm where the encoder config files are in today's installations, link to lame and write up a current tutorial. What do you think?

Mike V. (MUDGEL)

STUDIO: Win 10 Pro x64, SPlat & CbB x64,
PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz.
Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2.
Monitors: Adam A7X, JBL 10” Sub.
Audio I/O & DSP Server: DIGIGRID IOS & IOX.
Screen: Raven MTi + 43" HD 4K TV Monitor.
Keyboard Controller: Native Instruments Komplete Kontrol S88.
thomasabarnes
Max Output Level: -43 dBFS
  • Total Posts : 3234
  • Joined: 2003/11/11 03:19:17
  • Location: Milwaukee, WI USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 04:12:59 (permalink)
Well, There are 3 popular and useful ways to encode mp3 files when using SONAR, to me.
 
1) The easiest is to use the Cakewalk MP3 Encoder (with comprehensive ID3 support), and it's convenient to use it, since you can stay within SONAR, but that's if a user pays for the Activator. And the GUI could use some eye candy attention. :) Cake could make it look sharp like other GUIs they make, like the sharp ones they make for VSTs/Pro Channel modules, for example. Make it look Professional with a good eye candy appearance.
 
2) Using Aaron's MP3 Patch is the next easiest way (How to use that method is, basically, explained in my post #96 of this thread), but that method has limited ID3 Info encoding options, just 3 fields, Namely: Author, Title of track, and Copyright year.
 
3) The Cakewalk External Encoder Configuration Utility. That's the hardest of the 3 to use, as a user has to figure out how to use those Lame command line variables. I flee from that command line stuff, so I can't be much help there. But I mention part of what to do in my post #100 of this thread.
 
If you have it in mind to make some tutorial for users, that's a decent thing to do. If I can be of any assistance, let me know. It's the least I can do, since I was of no use to you during your SONAR X1 trials. :) (When you were having serious issues running X1).
post edited by thomasabarnes - 2015/07/20 04:29:08


"It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
mudgel
Max Output Level: 0 dBFS
  • Total Posts : 12010
  • Joined: 2004/08/13 00:56:05
  • Location: Linton Victoria (Near Ballarat)
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 04:48:20 (permalink)
Ah X1. You remember that time hey! I sure do. Man that was about 4 months of hell.
My whinging got so bad I got labeled a pest. Haha. There was no letup. I wish that the Cakewalk of today was around then. Anyway that's history and X1c fixed it and then X1d really hit the nail on the head and it was pretty good going once I let go of 8.5.3. Wow compare that dog of a program to X3 and Sonar 2015. No real comparison.

I think I will make a new tutorial with screen grabs and such. Sort it out once and for all.

Mike V. (MUDGEL)

STUDIO: Win 10 Pro x64, SPlat & CbB x64,
PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz.
Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2.
Monitors: Adam A7X, JBL 10” Sub.
Audio I/O & DSP Server: DIGIGRID IOS & IOX.
Screen: Raven MTi + 43" HD 4K TV Monitor.
Keyboard Controller: Native Instruments Komplete Kontrol S88.
kevinwal
Max Output Level: -69 dBFS
  • Total Posts : 1066
  • Joined: 2007/07/27 19:07:43
  • Location: Rogers, AR
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 09:37:06 (permalink)
I sympathize with the effort to make MP3 encoding as simple and as painless as possible, but I also think it's pretty important to understand the encoding process and what it is doing to your sound. The reality is that MP3 encoding will have some level of impact on the quality of the sound, period. Given that, it doesn't make any sense to me that a guy that would spend hours and hours monkeying with various compressor plug-ins and settings, judging the subtle qualities of each tiny change would then blindly mash the final product through a meat-grinder MP3 conversion process where any such subtleties are utterly lost.
 
Another thing to consider is that there are different contexts for your output. Maybe you're producing stuff for your band to listen to only and don't really care about file sizes and want just the highest quality you can get. Or maybe you're deploying to a site like Reverb Nation where keeping the file size under the free-service limit while ensuring decent qualit is important. Or maybe you're producing downloads for sale and you need to leverage ID3 tags so that end users get the fullest experience possible.
 
So yeah, let's leverage tools that helps make encoding easy to use but it makes a lot of sense to me to invest a little time in understanding what's happening when you encode. That's why I applaud mudgel's efforts to shed some light on this subject.
 
One thing I often do is use Sonar to render everything to a WAV file and do MP3 conversions later outside of Sonar. I do this because some encoding scenarios require different bitrates because of file size limitations, or because I want to encode groups of files for an album-style distribution using ID3 tags for track ID's and to assure similar quality settings across tracks. Achieving this level of flexibility is certainly possible with all of the options presented in this thread but for me it's just much  easier to open up a command window and do it the old-fashioned way. However you choose to do it, understanding the quality settings are important.
 
So for those of you who want better control of the encoding process, this is a short summary of the recommendations for the LAME encoder that I pulled from the help docs and massaged a bit to make it somewhat less geeky:
 
There are three basic ways to encode an MP3 file with LAME:
 
• Constant Bitrate: CBR encoding is the basic encoding mode of MP3. The bitrate is kept constant across the entire file, which means the same number of bits is allocated to encode each second of audio, resulting in a predictable file size for a given duration. CBR is useful for people who are concerned about maintaining maximum compatibility, especially with certain streaming applications and some hardware-based decoders that don't reliably support VBR.
 
• Variable Bitrate (VBR mode): The user chooses a desired quality level instead of a bitrate. The encoder will change the bitrate to a higher or lower one whenever the audio file is more or less complex. The main advantage of using VBR is that the encoder will use the smallest amount of bytes needed to keep the asked quality. The inconvenience is that the file size is quite unpredictable, and can change from file to file in more than 50kbps.
 
• Variable Bitrate (ABR mode): ABR is a mix between CBR and VBR. ABR encoding is desirable for users who want the general benefits of VBR (an optimum bitrate from frame to frame) but with a relatively predictable file size like they would get with constant bitrate (CBR), and a greater preference for bitrates that are near a desired target.  
 
Recommendations for quality:
 
Best quality, "archiving": CBR 320 is the strongest setting for MP3, with the lowest risk of artifacts. Sample Sonar External Encoder Utility command line:
 
lame -b320 %I %O
 
However, with the exception of a few situations, quality is rarely better than the highest VBR quality profiles described below.
 
• High quality, HiFi, home or quiet listening : -V0 (avg. 245 kbps) or -V1 (avg. 225 kbps) or -V2 (avg. 190 kbps) or  -V3 (avg. 175 kbps).   These settings are considered to produce transparent encoding (transparent = most people can't distinguish the MP3 from the original in an ABX blind test). Audible differences between these presets exist, but are rare.
 
• Portable, background noise and low bitrate requirement, small sizes : -V4 (avg. 160 kbps) or -V5 (avg. 130 kbps) or  -V6 (avg. 115 kbps) -V6 produces an "acceptable" quality, while -V4 should be close to perceptual transparency.
 
• Very low bitrate, small sizes, eg. for voice, radio, mono encoding : --abr 80 (stereo) or --abr 56 -m m (mono) For very low bitrates, up to 100kbps, ABR is most often the best solution.
 
Sample Sonar External Encoder Utility command line:
 
lame -V0 %I %O
 
Sorry to be so verbose and I hope someone finds this useful.
 
 
 
post edited by kevinwal - 2015/07/20 10:58:21
mudgel
Max Output Level: 0 dBFS
  • Total Posts : 12010
  • Joined: 2004/08/13 00:56:05
  • Location: Linton Victoria (Near Ballarat)
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/20 22:09:23 (permalink)
Do you mind if I use your post as additional info for when I put an MP3 package together? I was actually going to add info on all the switches for command line interaction, despite any GUI the work is still done there.

Mike V. (MUDGEL)

STUDIO: Win 10 Pro x64, SPlat & CbB x64,
PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz.
Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2.
Monitors: Adam A7X, JBL 10” Sub.
Audio I/O & DSP Server: DIGIGRID IOS & IOX.
Screen: Raven MTi + 43" HD 4K TV Monitor.
Keyboard Controller: Native Instruments Komplete Kontrol S88.
kevinwal
Max Output Level: -69 dBFS
  • Total Posts : 1066
  • Joined: 2007/07/27 19:07:43
  • Location: Rogers, AR
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/21 02:01:43 (permalink)
Feel free, I 'm largely paraphrasing the help docs anyway. Let me know if you'd like to farm out some of the work.
mudgel
Max Output Level: 0 dBFS
  • Total Posts : 12010
  • Joined: 2004/08/13 00:56:05
  • Location: Linton Victoria (Near Ballarat)
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/21 08:42:51 (permalink)
Thanks Kevin.
I did a good bit of research this afternoon and apart from finding that SourceForge is down for maintenance I discover the most current release of LAME in a zip archive that contains the lame_enc.dll and lame.exe file along with about a dozen htm files that have everything you ever wanted to know about LAME.

Once I'm satisfied that this is the real deal I'll create an entry in the Utilities thread for MP3 and discuss the five MP3 options available.
1. Pay Cakewalk $10 and be done with it
2. Use Aaron's MP3 patch (it only provides 3 entries for ID3 tags which is pretty limited for those that need it)
3. Roll your own using the latest LAME library with your own tailor made registry entries etc
4. If you're not on the latest Sonar but have paid for the Cakewalk encoder, you miss out on the latest LAME stuff which was updated in Cambridge. There is a more upto date TTSLAME available for those who want more choices. All you have to do is backup your current file and replace it with the newer one. Easy.
5, if you own Cakewalk Pro Audio 9 - Contact Cakewalk customer support with your serial number and they'll organise a copy of the unlock key, free of charge as you've paid for it with your purchase of PA9
6. Make your MP3s outside of Sonar

I'll put them in some logical order and label all the files accordingly including any necessary information. I'll write up some additional encoder reg files so folks can have more choices. How does that sound?
post edited by mudgel - 2015/07/21 12:22:31

Mike V. (MUDGEL)

STUDIO: Win 10 Pro x64, SPlat & CbB x64,
PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz.
Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2.
Monitors: Adam A7X, JBL 10” Sub.
Audio I/O & DSP Server: DIGIGRID IOS & IOX.
Screen: Raven MTi + 43" HD 4K TV Monitor.
Keyboard Controller: Native Instruments Komplete Kontrol S88.
BobF
Max Output Level: 0 dBFS
  • Total Posts : 8124
  • Joined: 2003/11/05 18:43:11
  • Location: Missouri - USA
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/21 09:03:26 (permalink)
FYI - If you own/owned PA9, contact support and they'll hook you up.
 
 

Bob  --
Angels are crying because truth has died ...
Illegitimi non carborundum
--
Studio One Pro / i7-6700@3.80GHZ, 32GB Win 10 Pro x64
Roland FA06, LX61+, Fishman Tripleplay, FaderPort, US-16x08 + ARC2.5/Event PS8s 
Waves Gold/IKM Max/Nomad Factory IS3/K11U

mudgel
Max Output Level: 0 dBFS
  • Total Posts : 12010
  • Joined: 2004/08/13 00:56:05
  • Location: Linton Victoria (Near Ballarat)
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/21 12:12:18 (permalink)
I forgot. So that's a 6th option to put in The Complete Story; SONAR & MP3
post edited by mudgel - 2015/07/21 12:19:15

Mike V. (MUDGEL)

STUDIO: Win 10 Pro x64, SPlat & CbB x64,
PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz.
Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2.
Monitors: Adam A7X, JBL 10” Sub.
Audio I/O & DSP Server: DIGIGRID IOS & IOX.
Screen: Raven MTi + 43" HD 4K TV Monitor.
Keyboard Controller: Native Instruments Komplete Kontrol S88.
kevinwal
Max Output Level: -69 dBFS
  • Total Posts : 1066
  • Joined: 2007/07/27 19:07:43
  • Location: Rogers, AR
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/07/21 19:58:55 (permalink)
Sounds fantastic, thanks for the great effort!
Benni Seidel
Max Output Level: -90 dBFS
  • Total Posts : 19
  • Joined: 2012/02/20 03:28:35
  • Location: Sydney
  • Status: offline
Re: RE: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2015/12/26 07:53:21 (permalink)
If you don’t want to buy the Sonar MP3 encoder
DownLoad lame for 32bit & 64bit
http://www.digital-digest.com/software/LAME_MP3_Encoder.html
For 32bit
Create: a “Lame” directory in
C:\Program Files (x86)\Cakewalk\Shared Utilities\Lame
UnZip a copy of the 32bit Lame.exe and Lame_enc.dll into the new Lame directory
—————-
Load Sonar 32bit – Go Utilities/External Encoder Configuration Utility.
Or outside of Sonar open
C:\Program Files (x86)\Cakewalk\Shared Utilities\EncoderConfig.exe
 
Click New: & Enter a the following
 
Friendly Name: Lame High Quality Stereo 320
Source Format: Wave
Description: Lame High Quality Stereo 320 using the inbuilt “insane” preset (You can write anything in here)
Path: C:\Program Files (x86)\Cakewalk\Shared Utilities\Lame
Command line: (Copy and paste the whole line)
Lame -m s –alt-preset insane –tt “%T” –verbose –ta “%A” –ty “2015” –tc “%C” %I %O
Select: Modal Encoder
Select: Save source file if you also want a copy of the .way file created in the process
SAVE IT!
—–
For 64bit
Create a “Lame” directory in
C:\Program Files\Cakewalk\Shared Utilities\Lame
UnZip a copy of the 64bit Lame.exe and Lame_enc.dll into the new Lame directory
 
Load Sonar 64bit – Go Utilities/External Encoder Configuration Utility.
Or outside of Sonar open
C:\Program Files\Cakewalk\Shared Utilities\EncoderConfig.exe
 
Click New & Enter a the following
 
Friendly Name: Lame High Quality Stereo 320
Source Format: Wave
Description: Lame High Quality Stereo 320 using the inbuilt “insane” preset (You can write anything in here)
Path: C:\Program Files\Cakewalk\Shared Utilities\Lame
Command line: (Copy and paste the whole line)
Lame -m s –alt-preset insane –tt “%T” –verbose –ta “%A” –ty “2015” –tc “%C” %I %O
Select: Modal Encoder
Select: Save source file if you also want a copy of the .way file created in the process
SAVE IT!
—–
*** Exports the highest quality 320Kb/s Mp3 possible, embeds the track name, the author as ‘Contributing Artists’ and Copyright as 2015.
NB: You have to change the copyright in the Lame Command Line every year!
MORE HERE http://lame.cvs.sourceforge.net/viewvc/lame/lame/doc/html/switchs.html

If Bach had been a poet he could have got a job today, writing bach odes!

www.smk1.com/music
Killuhkaider
Max Output Level: -90 dBFS
  • Total Posts : 1
  • Joined: 2015/11/16 11:57:07
  • Status: offline
Re: TUTORIAL: Getting LAME MP3 Encoder to Work With SONAR 2016/01/15 16:11:31 (permalink)
I'll be honest im not the smartest person and i'm really struggling with this peoples. i'd welcome any suggestions. I dont see why my mp3 encoder has been working up until now, i've only been using this program a few months? i paid for the cd etc but now im going to have buy purchase the lame encoder? it didnt even tell me it had "ran out?" in the first place so its a bit confusing to be fair. ive tried the creating a new one as adam had suggested, i have the lame decoder, i found the file so it was in my things.... but how on earth do you then activate it?
thanks in advance :-) 
Page: < 1234 Showing page 4 of 4
Jump to:
© 2024 APG vNext Commercial Version 5.1