• SONAR
  • Updated mp3 encoder 3.98.2
2009/07/15 17:57:21
jcatena
I have compiled an updated version of the lame mp3 encoder, using the latest Lame 3.98.2

Updated LAME mp3 encoder for SONAR
version 3.98.2 SSE2

Installation instructions:
- Exit Sonar if opened.
- Extract the from the zip file adequate for SONAR (32 or 64) TTSlame.dll to your SONAR program dir.

Notes:
- mp3 encoder authorization is needed in order to use it, no difference with original. No need to re-authorize if you already did.
- Measured performance is about 20% faster than 3.97 included in SONAR 8, most probably due to my compiler settings than changes in Lame 3.98.2.
- Like the original dll, this one only uses a CPU core.
- This build is optimized for SSE2 capable CPUs.

Download for SONAR32 (x86):
http://diwaves.com/tmp/TTSlame_32_3.98.2.zip

Download for SONAR64 (amd64):
http://diwaves.com/tmp/TTSlame_64_3.98.2.zip

lame 3.98.2 change log:
http://diwaves.com/tmp/ChangeLog.txt

2009/07/16 10:05:18
tarsier
Very nice, thanks!
2009/07/16 11:36:36
Polaczek
Thanks Men
2009/07/16 11:57:36
Beagle
Jose - you are DA MAN!!! thank you for this.

one question - you mentioned in the other thread that you might be able to dynamically link the dll to the lame dll so that we can automatically update with new versions - did that get done or is this a static compile for 3.98 only?
2009/07/16 12:13:15
Keni
Thanks Jose...

Does this replace Sonar's built-in encoder? If it does will we have to re-authorize (I believe I have to use the CWPA 9 install disc)?

Any chance you have a blurb sheet of the update?

Love Ya'
Keni
2009/07/16 12:23:15
Alegria
Thank you very much Jose.



Regards,
jc
2009/07/16 12:45:36
jcatena
ORIGINAL: Beagle
one question - you mentioned in the other thread that you might be able to dynamically link the dll to the lame dll so that we can automatically update with new versions - did that get done or is this a static compile for 3.98 only?


This is a static link. What I found is that TTSlame.dll is exactly the same as lame_enc.dll, except that cakewalk made some additional data structs and functions exported (the dll def file is the only meaningful difference). In other words, it only needs to be recompiled, and no code needs to be changed (almost, one of the exported structs needs to have the static modifier removed). Then making a middle dll isn't worth the effort, as I can build new versions in a few minutes. And my compiles are most often faster, I don't know why many developers are not using a couple of compiler optimization options that are very effective while totally safe. I get the most of it before I enable any potentially unsafe option.
You may also try to use lame_enc.dll renamed to TTSlame.dll, it might work, I didn't check how these extra exports are used or if they are required at all.
Regards,

2009/07/16 12:50:19
jcatena
ORIGINAL: Keni
Does this replace Sonar's built-in encoder? If it does will we have to re-authorize (I believe I have to use the CWPA 9 install disc)?

Any chance you have a blurb sheet of the update?


The Sonar built-in encoder resides in TTSlame.dll, of which this is an update using the latest lame version (3.98.2).
You don't have to re-authorize if you did.
If you didn't authorized the built-in mp3 encoder yet, you either need the CWPA9 disc or a code obtained from CW ($20 or free if you ever registered CWPA9).

I should have included the lame 3.98.2 update description. I'll update the zip downdload to include it, and you can see it also here:
http://diwaves.com/tmp/ChangeLog.txt

Note that I disabled removal of deprecated stuff to avoid any backwards compatibility issue.
2009/07/16 12:55:03
Beagle
great, thanks Jose! I am anxious to try this! i'll probably try changing the name of the lame dll as well just to see if it works.
2009/07/16 13:02:38
jcatena
deleted dup
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account