Canonical: https://instain.ru/en/ai/meta-encodec/
Language: en

Meta AI Research  model

# Meta EnCodec. 

Neural audio compression

4.40 / 5    [Directory score](https://instain.ru/en/ai/meta-encodec/#editorial-rating) [Official website ](https://github.com/facebookresearch/encodec)

Meta’s neural audio codec has separate models for mono and stereo.

![EnCodec repository with a description of neural network compression and sound recovery.](https://instain.ru/assets/images/meta-encodec-screen-c35ffb1f899a-1200.webp)

EnCodec repository with a description of neural network compression and sound recovery.  [Open the source ](https://github.com/facebookresearch/encodec)

## Compression with preservation of audible signs

EnCodec encodes the sound into a compact presentation, from which the audio file is then restored. The official repository describes a mono version for 24 kHz and a stereo version for 48 kHz. If the work depends on the location of the sound on the left and right, a stereo model will be needed when comparing. Options have different permissible data transfer settings.

The program saves the compressed file in its own format. Before embedding into the existing system, make sure that there is a way to decrypt this view on the playback side.

## Compare size and audible differences

In the tutorial, prepare a short instrumental phrase with a quiet ringing in the background. Make a compact copy, restore it and bring the volume to the source level. Measure the size of the compressed file separately. First listen to the entire phrase, then the first beats and attenuation of the ring. If the layer on the side seems to have shifted to the center, mark the site and check in which the codec was running.

Avoid comparing only the size of files. Compressed speech with long pauses and dense music can react differently to settings.

## What to leave in the archive

The original should be stored in its original quality, if the record needs to be re-edited. The compressed copy is suitable for those cases where the size and consumption of the strip are important, and the permissible loss of details can be checked. When testing, save the settings and the duration of the fragment. So two results with different sizes can be compared without confusion between versions and modes.

## Suitable tasks

- Comparison of the size and quality of compressed recording

- Creating a compact audio copy for a local experiment

- Comparison of spatial sound preservation

Features 

## Strengths

- The repository describes options for mono and stereo

- There are commands to write and restore the file

Things to consider 

## Limitations

- Short attacks and space details can be lost during compression

- Model selection affects sampling frequency and channels

## Selection and conditions

Free access

Yes

Trial period

Not confirmed

No sign-up required

Not confirmed

Russian interface

Not confirmed

Local installation

Yes

API

Not confirmed

“Not confirmed” means there is not enough information. The feature may still be available; check the developer’s terms.

Input formats

Audio

Result

Audio, File

### Terms

Code and instructions published by Meta. For local work, select the appropriate weights and prepare files for comparison.

From task to first result

## Practical example

Task

Comparison of the size and quality of compressed recording

What to prepare

Allowed recording fragment with quiet and sharp sounds to compare the two compression options.

### Task brief or prompt

Compress the sound, then restore it. Listen to the result with the same volume as the original.

### Expected result

A compact file and a decoded copy of the original audio for comparison.

### How to check the result

- Compare the size and write down the codec settings.

- Check the start of sharp sounds and the location of sources in stereo.

An editorial teaching example of a task brief, not the result of hands-on testing of the service. Check that the required mode is available, that you have rights to the source material and that the intended use of the result is permitted.

Check details

## Official sources

-  [The official EnCodec repository ](https://github.com/facebookresearch/encodec)

-  [EnCodec documentation in AudioCraft ](https://facebookresearch.github.io/audiocraft/docs/ENCODEC.html)

-  [Study of authors about neural network compression ](https://arxiv.org/abs/2210.13438)

This description is based on the developer’s material. Features, prices and availability may change; check the primary source before use.

About the tool

Developer

Meta AI Research

Category

[Audio](https://instain.ru/en/category/audio/)

Access

Code and instructions published by Meta. For local work, select the appropriate weights and prepare files for comparison.

Payment

The repository for the code specifies the MIT License. Processing and storage costs depend on your infrastructure.

API

Check the developer documentation

[Developer terms ](https://github.com/facebookresearch/encodec)

Directory score

4.40 / 5 

Features

4.60 / 5 

Workflows

4.10 / 5 

Ecosystem

4.40 / 5 

Documentation

4.50 / 5 

Scores are an editorial guide to the directory. They are not user reviews or the results of personal testing.

[See the methodology ](https://instain.ru/en/methodology/)
