How to make presets for winLAME

In this document will be explained how to make new presets for winLAME. This page is for LAME experts only. If you don't know about the internals of LAME, please use the standard presets that winLAME already has. They are already very good.

general file format

Presets are stored in winLAME in an XML file. The general format for the presets file looks like this:

<presets>
  <facility name="facility name">
    <preset name="preset name">

      <comment>
        preset comment visible in preset description
      </comment> 

      <value name="value name">value</value>
      <value name="value name">value</value>
      [... more values ...]

    </preset>

    [... more presets ...]
  </facility>

 [... more facilities ...]
</presets>

If the file is not valid or wellformed, or doesn't meet the structure shown above, the presets page won't appear in winLAME. If there is no list of presets for a specific facility (=output module), the presets page doesn't show up either, since there's no need to show the page.

This is a list of available facilities:

Facility NameOutput Module
lameLAME mp3 Encoder
oggvorbisOgg Vorbis Encoder
waveWave Output
aaclibfaac AAC Audio File Encoder

Here is a list of possible values, descriptions and their default values for the LAME encoder:

Value NameDescriptionDefault Value
noGapwhen 1, LAME encodes multiple files as they were one, resulting in mp3 files that can be played back without gap.0
hideLameSettingswhen 1, winLAME hides all settings pages for LAME0

Note that winLAME sometimes has other default values than the LAME command line tool.

back to top - back to the How To page