Create a new lame encoder.
Same as encode_buffer_part but with ofs = 0.
encode_buffer_part
ofs = 0
Same as encode_buffer_float_part but with ofs = 0.
encode_buffer_float_part
encode_buffer_float_part enc left right ofs smpl encodes samples samples of left and right channels starting at position ofs.
encode_buffer_float_part enc left right ofs smpl
samples
left
right
ofs
encode_buffer_part enc buf ofs smpl encodes samples samples (per channel) of buf starting at position ofs.
encode_buffer_part enc buf ofs smpl
buf
Flush the PCM buffers, padding with zeros if needed to make a complete frame.
Get the encoder delay.
Size of an mpeg frame in bytes.
Get the lame version number (shorter than get_lame_version).
get_lame_version
Get the url of the lame website.
Get the lame version number.
Get the lame version number (shorter than get_lame_short_version).
get_lame_short_version
Number of frames encoded so far.
Estimate of the total number of frames to be encoded (only valid if set_nb_samples was called).
set_nb_samples
Number of PCM samples buffered, but not yet encoded to mp3 data.
Get the version of the psy model.
The MPEG version used by the encoder.
This function should be called before any other in the Id3tag module.
Id3tag
Write id3v2 and Xing headers into the front of the bitstream, and set frame counters and bitrate histogram data to 0.
Initialize lame's parameters.
Set the album.
Set the artist.
Set the bitrate of compressed data.
Set the comment.
Set the compression ratio (default: 11).
Get/set copyright bit.
Set the genre.
Input sample rate in Hz (default: 44100).
Set the compression mode.
Number of channels in input stream (default: 2).
Get/set original bit.
Output sample rate in Hz (default: 0, which means LAME picks best value based on the amount of compression).
Get/set private bit.
Internal algorithm selection.
Set the title.
Set the track number.
If true, enforce the minimal VBR bitrate.
true
Set the maximal VBR bitrate in kbps.
Set the VBR mean birate in kbps.
Set the minimal VBR bitrate in kbps.
Set the VBR mode.
Set the VBR quality level (0:highest, 9: lowest).
Set the year.