LMMS / LMMS/lmms

Exported audio length is not perfect in WAV/FLAC/OGG

Open
#3,465 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

For example, if you export a song that should be exactly 40 seconds long, if your buffer size in LMMS is 64 frames, the resulting file will be short of 40 seconds by more than 30 frames, and increasing the buffer size will make it shorter by even more frames. This affects the end of the file, not the beginning.

Contributor guide

No contributing guide indexed for this repository

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 reproducing a 40-second export with a 64-frame buffer and compare the resulting duration with the requested length for WAV, FLAC, and OGG. Check whether increasing the buffer changes the missing tail; done means exported files retain the requested duration across buffer sizes and formats.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
audio-video-rtc, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.