QUOTE
Im not following what your trying to dotho. Im a bit confused.
OK here's a quick summary.
1. I want to use cdex to convert my ape files (lossless) to mp3 for use on a portible (and other devices). CDex does it nicely but doesn't offer many quality setting options.
2. I had previously found that --preset medium was the setting that gave me the bit rate I desired, but --preset medium is not an option in cdex.
3. Through thses forums I found the following lame_enc.dll that takes all it's settings from an ini file and thereby overcomes the limitation of programs that don't offer many command line options, like cdex.
http://www.rarewares.org/files/mp3/lameDll3.96.1_MOD.zip4. I expected that if I selected --preset medium in associated ini file that it would encode exactly the same as the standard lame.exe (same version 3.96.1) that I had prevoiusly tested but it was not the case. The files created with the modified dll were significantly smaller.
Note that this is NOT the modified dll that only encodes at -APS, you can set the preset level to whatever you want from the ini file!.
This is the ini file that comes with the download :
CODE
[lame_enc]
LamePreset=11
Scale=0.0
ExperimentalY=0
REM LamePreset is allocated using the following numbering scheme:
REM 1 = V9 - VBR_RH(Old) - ExperimentalY already set
REM 2 = V9 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 3 = V8 - VBR_RH(Old) - ExperimentalY already set
REM 4 = V8 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 5 = V7 - VBR_RH(Old) - ExperimentalY already set
REM 6 = V7 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 7 = V6 - VBR_RH(Old) - ExperimentalY already set
REM 8 = V6 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 9 = V5 - VBR_RH(Old) - ExperimentalY already set
REM 10 = V5 - VBR_MTRH(New - FAST) - ExperimentalY already set
REM 11 = V4 - VBR_RH(Old) - Preset MEDIUM - ExperimentalY already set
REM 12 = V4 - VBR_MTRH(New - FAST) - Preset MEDIUM FAST - ExperimentalY already set
REM 13 = V3 - VBR_RH(Old) - ExperimentalY already set
REM 14 = V3 - VBR_MTRH(New - FAST) - R3MIX - ExperimentalY already set
REM 15 = V2 - VBR_RH(Old) - Preset STANDARD
REM 16 = V2 - VBR_MTRH(New - FAST) - Preset STANDARD FAST
REM 17 = V1 - VBR_RH(Old)
REM 18 = V1 - VBR_MTRH(New - FAST)
REM 19 = V0 - VBR_RH(Old) - Preset EXTREME
REM 20 = V0 - VBR_MTRH(New - FAST) - Preset EXTREME FAST
REM 21 = 320 - Preset INSANE
REM
REM To change the preset used, edit the number following 'LamePreset='.
REM NOTE: Invalid numbers will be ignored, default is 'V2 VBR_RH - preset STANDARD'.
REM
REM Scale can be used to apply the ReplayGain factor to scale the samples
REM as floating point numbers within LAME before encoding.
REM Valid values are > 0.0 and less than 1.0, default = 0.0.
REM
REM ExperimentalY is used to toggle the switch ON or OFF. Set to 1 if you want
REM it changed to ON or OFF, depending whether it is already set.
REM If set to anything other than 1,it will be ignored.
REM NOTE: ONLY the FIRST 4 lines of this file are read and used.