v2026.5.3
All Bundles
Bundle MP3 encoding library wrapping LAME. Converts raw PCM audio data to MP3 byte streams. Suitable for audio recording and streaming applications. Compile with -lib lame.

Lame

Converts a PCM audio stream to MP3 audio stream

Operations

PcmToMp3 # function

Converts a PCM audio stream to an MP3 audio stream

function : PcmToMp3(stream_in:Byte[]) ~ Byte[]

Parameters

NameTypeDescription
stream_inByteraw PCM audio bytes

Return

TypeDescription
ByteMP3-encoded bytes, Nil if the input is Nil or encoding fails