whatisgithub

What is flowdec?

facebookresearch/flowdec — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2026-06-22

212PythonAudience · researcherComplexity · 4/5ActiveSetup · hard

In one sentence

An AI audio codec that compresses speech or music to roughly 100-200x smaller sizes while using a flow-matching postfilter to keep the reconstructed sound close to the original.

Mindmap

mindmap
  root((repo))
    What it does
      Compresses audio
      Reconstructs sound
      Cleans artifacts
    Tech stack
      Python
      Flow matching
      Neural codec
    Use cases
      Voice chat apps
      Music streaming
      Audio storage savings
    Audience
      ML researchers
      Audio engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Compress voice chat audio down to 4.5-7.5 kbps to cut bandwidth costs in a real-time app.

USE CASE 2

Run the included demo notebook to compress and reconstruct your own audio files with pre-trained models.

USE CASE 3

Train a custom FlowDec model on your own audio dataset using the provided configuration files.

USE CASE 4

Reduce storage costs for large audio archives by compressing files 100-200x smaller than uncompressed.

What is it built with?

PythonPyTorch

How does it compare?

facebookresearch/flowdecnvlabs/mobilitygenchubbyguan/chubbyskills
Stars212207205
LanguagePythonPythonPython
Last pushed2026-06-222026-02-17
MaintenanceActiveMaintained
Setup difficultyhardhardmoderate
Complexity4/54/53/5
Audienceresearcherresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Training requires preparing your own audio dataset, research-grade code released alongside an academic paper.

No license information was found in the explanation.

So what is it?

FlowDec is a tool that compresses audio files to a tiny fraction of their original size while keeping them sounding good. Think of it like a zip file for music or speech, it shrinks a 48 kHz audio recording down to either 7.5 kilobits per second or 4.5 kilobits per second (that's roughly 100-200 times smaller than uncompressed audio), then reconstructs it when you want to listen. The problem this solves is real: audio files are huge, and sending them over the internet or storing them costs money and bandwidth. Existing compression methods either throw away quality or use older techniques. FlowDec combines two modern AI-based approaches, a codec that learns to compress audio intelligently, plus a "stochastic postfilter" that uses flow matching (a newer type of AI model) to clean up any remaining artifacts and make the compressed audio sound closer to the original. You'd use this if you're building a voice chat app, music streaming service, or anything that sends audio over the internet or stores it in large quantities. Instead of sending 10 MB of uncompressed voice, you could send 100 KB instead. The README includes a demo notebook you can run to compress your own audio files using pre-trained models that the authors have already trained and released. The project includes everything needed to both use the pre-trained models and train your own on custom audio datasets. Training requires you to prepare your own data, the authors don't provide datasets, but they give detailed instructions on how to format it and which configuration files to use. The code is built on standard machine learning tools and released by Facebook Research alongside a published academic paper, which is typical for serious research-grade audio projects.

Copy-paste prompts

Prompt 1
Help me run FlowDec's demo notebook to compress a sample audio file using the pre-trained models.
Prompt 2
Explain how FlowDec's stochastic postfilter uses flow matching to clean up compression artifacts.
Prompt 3
Walk me through preparing my own audio dataset to train a custom FlowDec model.
Prompt 4
Show me how to integrate FlowDec's pre-trained codec into a voice chat app to reduce bandwidth.

Frequently asked questions

What is flowdec?

An AI audio codec that compresses speech or music to roughly 100-200x smaller sizes while using a flow-matching postfilter to keep the reconstructed sound close to the original.

What language is flowdec written in?

Mainly Python. The stack also includes Python, PyTorch.

Is flowdec actively maintained?

Active — commit in last 30 days (last push 2026-06-22).

What license does flowdec use?

No license information was found in the explanation.

How hard is flowdec to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is flowdec for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.