

The higher the bitrate, the higher the quality. Quality will not increase, only speed will be reduced.īitrate is of course the main influence on quality. Details see LAME man page.ĭisable specific assembly optimizations. By default ReplayGain analysis is enabled. Details see LAME man page.ĭisable ReplayGain analysis. Details see LAME man page.Ĭompute ReplayGain more accurately and find the peak sample. Same as scale, but for right channel only.Ĭompute ReplayGain fast but slightly inaccurately. Same as scale, but for left channel only. This just multiplies the PCM data (after it has been converted to floating point) by n. Instead of choosing bitrate, using this option, user can choose compression ratio to achieve. With this option, you can use bitrate with any bitrate higher than 8 kbps.įreeAmp up to 440 kbps, in_mpg123 up to 560 kbps, l3dec up to 310 kbps, LAME up to 560 kbps, MAD up to 640 kbpsĭisable writing of the INFO Tag on encoding. The downmix is calculated as the sum of the left and right channel, attenuated by 6 dB.Īllows the left and right channels to use different block size types. Mix the stereo input file to mono and encode as mono. S simple stereo, j joint stereo, f forced MS stereo, d dual mono, m mono, l left channel only, r right channel only Useful for downsampling from one mp3 to another.

If the filename ends in ".mp2" LAME will assume it is a MPEG Layer II file.Īssume the input file is a MP3 file. Instructs LAME that the samples from the input are in big-endian form.Īssume the input file is a MPEG Layer II (ie MP2) file. Instructs LAME that the samples from the input are in little-endian form. Instructs LAME that the samples from the input are unsigned (the default for 8 bits raw pcm data, where 0x80 is zero). Required only for raw PCM input files and only available at bitwidth 8. Instructs LAME that the samples from the input are signed.įalse true for 16, 24 and 32 bits raw pcm data Otherwise it will be determined from the header of the input file. LAME will automatically resample the input file to one of the supported MP3 samplerates if necessary.Ĩ, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48 For sorting out little endian/big endian type problems. Swap bytes in the input file or output file when using decoding. By default, LAME expects them to be signed integers with a bitwidth of 16. For each stereo sample, LAME expects the input data to be ordered left channel first, then right channel. Sampling rate and mono/stereo/jstereo must be specified. Lame const decoder = new Lame ( ) All options OptionĪssume the input file is raw pcm.
