Copyright © 2011-2018 MultiMedia Soft

EncodeFormats.MP3.CBR property

Previous pageReturn to chapter overviewNext page


[Visual Basic]

Public Property CBR As Int32



public Int32 CBR {get; set;}



public: __property Int32 CBR();

public: __property void CBR(Int32);




The Constant Bitrate (CBR), expressed in bits per second (bps), used for MP3 format.


This is the default encoding mode, and also the most basic. In this mode, the bitrate will be the same for the whole file. It means that each part of your mp3 file will be using the same number of bits. The musical passage being a difficult one to encode or an easy one, the encoder will use the same bitrate, so the quality of your mp3 is variable. Complex parts will be of a lower quality than the easiest ones. The main advantage is that the final files size won't change and can be accurately predicted.


Note that, depending upon the chosen input format, not all of the bitrate values are supported by Lame.

The full list of Constant Bitrates, supported by a certain frequency, can be obtained using the EncodeFormats.MP3.GetLameEncodingBitratesCountEx and EncodeFormats.MP3.GetLameEncodingBitrateEx methods.


This property is the same as entering the -b <kbps> --cbr setting inside the Appendix A - Lame command line.


This property is used only if the EncodeFormats.FormatToUse property is set to ENCODING_FORMAT_MP3 and the EncodeFormats.MP3.EncodeMode property is set to MP3_ENCODE_CBR


For further details about encoding in MP3 format refer to the EncodeMP3 class section.

For further information about available encoding formats see the EncodeFormatsMan class.