UMP3 module provides a PCM (wav) to MP3 encoding. It is utilizing LAME project, which is a high quality MPEG Audio Layer III (MP3) encoder. It is considered the best MP3 encoder at mid-high bitrates and at VBR, mostly thanks to the dedicated work of its developers and the open source licensing model that allowed the project to tap into engineering resources from all around the world. Both quality and speed improvements are still happening, probably making LAME the only MP3 encoder still being actively developed. The UMP3 module can be easy extended with other functionalities (id3 tag, decoding).

You can find more info about LAME here: 


The module is utilizing LAME MP3 encoder. The Visual Studio project is compiled with static libraries (libmp3lame-static.lib, libmpghip-static.lib) included in the package. No additional dynamic library are needed to run.

Module functions - create an instance of the module,
UMP3.Convert("file_in.wav", "file_out.mp3", samplerate, bitrate); - convert function,
     samplerate - 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 [Hz],
     bitrate - 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, 192, 224, 256, 320 [kbits/s].

Urbiscript example

var Global.Mp3 =;
Mp3.Convert("voice_message.wav","voice_message.mp3", 44100, 128);





EMYS and FLASH are Open Source and distributed according to the GPL v2.0 © Rev. 1.0, 04.04.2018

FLASH Documentation