BASS.NET API for the Un4seen BASS Audio LibraryEncoderTwoLAME FieldsBASS.NET API for the Un4seen BASS Audio Library

The EncoderTwoLAME type exposes the following members.


Public fieldTWO_ATH
-l: Set the ATH level. Default level is 0.0 (which will not use the property).
Public fieldTWO_Bitrate
-b: Choose a total bitrate to encode at. Takes an argument in kbps (default is 256 kbps).
Public fieldTWO_Copyright
-c: Turn on Copyright flag in output bitstream (default is ).
Public fieldTWO_CustomOptions
The custom parameter string, which should be used, if the TWO_UseCustomOptionsOnly property is set to .
Public fieldTWO_DeEmphasis
-e: Set the de-emphasis type (None, CCIT, 50/15ms). Default is None.
Public fieldTWO_Downmix
-a: Downmix from stereo to mono? (default is ).
Public fieldTWO_Energy
-E: Turn on energy level extensions (default is ).
Public fieldTWO_MaxBitrate
-B: Specify a maximum bitrate in kbps when in VBR mode.
Public fieldTWO_Mode
-m: The encoding mode (Stereo, Joint stereo, DualChannel, Mono, default is Auto).
Public fieldTWO_NonOriginal
-o: Turn off Original flag in output bitstream (default is ).
Public fieldTWO_Padding
-d: Turn on padding in output bitstream (default is ).
Public fieldTWO_Protect
-p: Enable CRC error protection in output bitstream. An extra 16-bit checksum is added to each frame (default is ).
Public fieldTWO_PsycModel
-P: The psychoacoustic model (PAM) TwoLAME should use (-1 to 4).
Public fieldTWO_Quick
-q: Enable quick mode (if value is geater than 0 (zero)). Only re-calculate psycho-acoustic model every specified number of frames (default is 0).
Public fieldTWO_Reserve
-R: Reserve specified number of bits in the each from of the output bitstream (default is 0, which will not use this property).
Public fieldTWO_Scale
--scale: Scale input data (multiply PCM data). Set to 1.0 (default) for no scaling.
Public fieldTWO_UseCustomOptionsOnly
Use the TWO_CustomOptions parameter string only (default=).
Public fieldTWO_UseVBR
-v: Enable the VBR (variable bitrate) mode (default is ).
Public fieldTWO_VBRLevel
-V: Enable VBR and set a quality level from -50 to 50 (default is disbaled).
See Also