Configure encoding with LameBuilder
masterThe LameBuilder allows you to wrap extra initialization parameters for the LAME encoder.
Parameter Details
inSampleRate: Input sample rate in Hz. Default:44100hz.numChannels: Number of channels in input stream. Default:2.bitrate: Set the bitrate of the output stream.outSampleRate: Output sample rate in Hz. Default:0(LAME picks best value based on compression).quality: Quality level from0(best/slow) to9(worst). Default:5.scaleInput: Scale the input by this amount before encoding. Default:1.lowpassFrequency: Frequency in Hz to apply lowpass. Default:0(LAME chooses).-1to disable.highpassFrequency: Frequency in Hz to apply highpass. Default:0(LAME chooses).-1to disable.setId3...: Methods to set ID3 tags (Title, Album, Artist, Year, Comment).
Mode and VbrMode
Mode (Enum: STEREO, JSTEREO, MONO, DEFAULT)
VbrMode (Enum: VBR_OFF, VBR_RH, VBR_MTRH, VBR_ABR, VBR_DEFAUT)
VBR_OFF: Constant Bit Rate (CBR) - default. Every frame is encoded at the same bitrate.VBR_RH/VBR_MTRH: Variable Bit Rate (VBR) - unpredictable file size, usually better quality.VBR_ABR: Average Bit Rate (ABR) - varies bits around a target. UsesetAbrMeanBitrate(kbps)to set the target.