xiph / xiph/flac

Update ReplayGain functionality

Open
#96 12 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
2.4k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

The metaflac tool allows users to update their flac files with REPLAYGAIN_* tags. The support offered by metaflac is lacking:

  1. No multi-channel support.
  2. All files must have the same characteristics regarding bit, sample rate, and channels.
  3. Loudness algorithm is unknown? In-house?

Over time there have been advances in loudness algorithms and even a well-adopted standard has come about called "ITU BS.1770-4" a.k.a. "EBU R 128" and a few tools have been created that follow this standard.

I'm creating this issue to update metaflac because most users and even some software (Soundkonverter) uses metaflac's replay gain functionality. Updating it here will benefit everyone.

Would this project be willing to adopt an EBU R 128 library and switch metaflac to use it?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing metaflac's existing ReplayGain functionality and the proposed libebur128 and r128gain projects, then compare their support for the listed requirements and the ITU BS.1770-4/EBU R 128 standard. Done would require an agreed library and implementation scope for replacing or updating metaflac's current approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.